Wykres commitów

340 Commity (6865eaf6edef0cc5ea30bcc0d72b52189132f4d6)

Autor SHA1 Wiadomość Data
Thomas Klausner a4cc05f677 Add DragonFly BSD support to sane-find-scanner (fixes 315206) 2015-11-08 18:56:49 +09:00
Olaf Meeuwissen 32c25b8b82 Fix duplicate automake file variable initialization issue
This was introduced in 74c00494.
2015-10-27 21:37:04 +09:00
m. allan noah 2ecf18f6fb autoheader and automake
After recent PNG and SNMP changes, need to run autoheader and automake
2015-10-02 21:53:14 -04:00
m. allan noah 87bfd53512 Run autofoo for recent changes 2015-09-19 13:39:38 -04:00
Olaf Meeuwissen 74c00494b6 Install umax_pp backend tools if the backend is built 2015-09-19 12:02:57 -04:00
m. allan noah 7566619e53 rebuild with automake 1.14.1 2015-08-31 20:58:30 -04:00
Yuri Chornoivan 648d933c56 Fix minor typos in messages and comments 2015-08-31 20:31:54 -04:00
Alessandro Zummo ccd15dc966 Revert "epsonds: enable double feed detection"
This reverts commit 005c3928a5.
2015-04-26 23:09:08 +02:00
Alessandro Zummo 005c3928a5 epsonds: enable double feed detection 2015-04-26 22:44:01 +02:00
Gerhard Jaeger ec4675d4c1 Add LM983x usb chip detection when compiled for libusb-1.0. 2014-01-09 10:59:13 +01:00
Nils Philippsen 758731489d sane-desc: fix faulty udev logic for SCSI devices
SUBSYSTEMS!="..." seems to always match, i.e. skip the SCSI-specific
rules.
2013-11-20 21:49:58 +01:00
Nils Philippsen 66cb9b55c2 remove code which is never reached 2013-11-05 14:47:27 +01:00
Nils Philippsen 3b96baef65 sane-desc: fix udev hwdb generation
Generated hwdb files listed the vendor ID instead of the product ID
which made udevd not recognizing scanner devices as such. Thanks to
Fabrice Bellet who spotted the problem.
2013-10-24 14:22:17 +02:00
Chris Bagwell bc2dc68fa5 Improve snmp detection when cross compiling.
Improving here means do not set LIBS/CFLAGS if library is not detected.
This prevents some unknown options based to ld when host is Linux and
target is mingw32/64.  Further improvements are needed if one wants this
snmp support when cross compiling to really work.

Also, to make commit bisectable, updated all autofoo files using
'autoreconf -i -f' and repatching ltmain.sh.

Also, test-driver was missing from git repo but the Makefile.in
checked in expected it to exist.
2013-08-15 13:10:39 -05:00
Stéphane Voltz 77a7cc4443 changelog entry for hwdb patch, minor cleanups, copyright notice 2013-08-02 22:51:58 +02:00
Tom Gundersen 3087a5efb5 sane-desc: add support for udev's hwdb
udev now comes with a hardware database (hwdb) which is meant to replace large
rule files as the one typically shipped with sane. This should significantly
speed up the processing of usb add events.

Add the required output format and add a special udev output mode which is
produces the udev file to be used with hwdb.

Sample hwdb file: <https://dev.archlinux.org/~tomegun/20-sane.hwdb>.
Sample udev+hwdb rules file:
                       <https://dev.archlinux.org/~tomegun/53-sane.rules>.

Similar support was recently added to gphoto2:
                            <http://sourceforge.net/p/gphoto/code/14490/>.

The new udev rules file does not support old udev/kernels as these anyway
don't support hwdb.

Moreover, it does not come with GROUP=/MODE= or ACL support as this can easily
be done externally by hooking into the libsane_matched envvar. In particular
systemd-logind uses this to do its own ACL handling.
2013-08-02 22:18:11 +02:00
Stéphane Voltz de75a1b9c0 add GL128 detection 2013-06-10 21:57:40 +02:00
Stéphane Voltz f462ab59d1 add GT-6801/6816 chip detection 2013-06-10 21:57:40 +02:00
Stéphane Voltz 4bc8ce9b8b cleanups and final version 2013-06-03 20:59:43 +02:00
Stéphane Voltz 3af775de44 make GL646 detection work again
- add GL646 detection
- don't close USB handle before probing chip so we avoid opening it again
2013-06-03 20:59:43 +02:00
Stéphane Voltz 2f4a54809d gl646 detection 2013-06-03 20:59:43 +02:00
Stéphane Voltz ede1d1083d add USB chip probe in libusb-1.0 case
- added check_usb_chip()
- add genesys usb chip check
2013-06-03 20:59:43 +02:00
Stéphane Voltz ac5f65e7b1 add GL845 detection 2013-06-03 20:59:43 +02:00
Gerhard Jaeger 69a2ec6801 Fix another bug in the libusb1 part of functioin check_libusb_device()
that prevents sanner detection for certain devices.
2013-02-22 09:07:32 +01:00
Gerhard Jaeger 74eb71fa19 Setup libusb1 debugging after initialization
otherwise a segfault appears in triple -v mode.
2013-02-20 08:24:52 +01:00
Stéphane Voltz e7804700f6 minor fixes to sane-desc.c
- memleaks on error paths
- whitspaces at end of line
2013-02-11 07:55:43 +01:00
Louis Lagendijk 3276babdec Added optional support in saned for systemd socket activation. This will allow for
using backend debugging using SANE_DEBUG_xxx to be used for saned controlled
scanning when using socket activation. When only the socket is received we
use the existing code path.
2013-01-10 20:59:26 +01:00
m. allan noah 9b142567fa Revert "forgot to do autoreconf"
This reverts commit aa6f185452.
2012-11-28 21:51:12 -05:00
Paul Newall aa6f185452 forgot to do autoreconf 2012-11-28 22:11:04 +00:00
m. allan noah 77c4ea1a7a Various cleanups for release 2012-07-24 21:17:15 -04:00
Rolf Bensch 54a6c5cea8 scanner group access with and without acl support 2012-04-20 21:38:47 +02:00
Ruediger Meier 0e3d873624 build fix, use the right scsi header on win32
Now we are using either ddk/ntddscsi.h or ntddscsi.h and even don't
stop if we have none of them.
2012-01-21 22:16:50 -06:00
Chris Bagwell 8ac464a47d add support for libusb-win32
It is API compatible with libusb-0.1 that is already supported
but uses different header file name to prevent conflict with
Window's own usb.h.
2011-12-27 17:35:35 -06:00
Chris Bagwell e7f01c3b36 Add --disable-dynamic/--disable-preload and update docs
Options were in README but removed at some point.  They
are useful so add them back.

Document BACKENDS and PRELOADABLE_BACKENDS variables in
README as well as in configure --help output.
2011-11-08 21:28:30 -06:00
Chris Bagwell 5061c2d5b2 More mingw portability updates.
Add check for winsock2.h for socket.h replancement. Also, use this
check to add ws2_32 library. Also, switch all winsock.h references
to winsock2.h.

Add check for getuid and getpass; which are not on mingw.

Add a syslog() replacement that is basically a print(). This
is also used by vsyslog() replacement.

Comment out parts of replacement sigprocmask.c on mingw.

To support these configure.in changes, I need to rebuild all
related files with autoconf 2.68 and libtool 2.4. Hand ported
our sane-backend specific changes to newer ltmain.sh.
2011-11-06 12:40:00 -06:00
Nils Philippsen 26ea2a2569 use pkg-config in sane-config
As we require pkg-config anyway, simply let sane-config use it to make
it compatible with multilib systems. Previously, sane-config contained
paths which were different on e.g. x86_64 and i386 which made the 64 and
32 bit versions conflict if installed in parallel.
2011-09-16 13:11:32 +02:00
Julien BLACHE ed0d09f863 Add wildcard for some Epson scanners 2011-06-24 22:13:07 +02:00
Julien BLACHE a4643d888e Fix infinite loop in walking the SCSI scanners list 2011-06-24 22:10:55 +02:00
Julien BLACHE 9441b1cdfe Add udev+acl output mode, udev rules using ACLs
Use ACLs for the scanner group instead of making the device root:scanner
with permissions 0664; designed to help with MFPs and play nice with
ConsoleKit.
2011-06-02 11:05:30 +02:00
Julien BLACHE cd376be4af Use power/control instead of power/level if available 2011-03-19 17:51:10 +01:00
m. allan noah 40e40989d9 rebuild autofoo for magicolor and snmp support 2011-01-18 21:31:13 -05:00
Chris Bagwell 650ea7cf8a update generate files using latest autoconf tools.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2011-01-02 13:07:31 -06:00
Stéphane Voltz 3d89a6f880 add new gl124 asic
create a place holder for low level commands

move low level functions to genesys_low.c

GL124 progresses

enable genesys_low debug and add DAC for LiDE 110

gl124 WIP
- gl847 cleanups
- genesys_low refactor
- gl124 starting version

GL124 WIP
- read scancnt/fedcnt,valid words coded
- memory layout coded

LiDE110 WIP

GL 124 WIP
- definition and use of get/set double/triple
- define register names

all mods done, ready to test

set fe OK

GL124 WIP : ready to test scans

GL124 WIP

GL124 WIP
- fixed analog fe issue: don't put afe regs in global set

GL124 : first light at 300 dpi

GL124 WIP
- 300 and 600 uncalibrated mostly ok (x coordinate rounding)
- 150 and 75 OK x-wise, y to be solved

solved rounding errors for gl124

re-add 400, 200 and 100 dpi modes

GL124 : tous x dpi OK

before adding line cropping

GL124 : line cropping almost finished

GL124 WIP : working line deletion

compute step rework

GL124 WIP : high speed table for dpi <= 300

move to scan area working

line skipping fix

new slope table for 600 dpi base

geometry and movement tuned

GL124 WIP : shading calibration almost working

working 600 dpi shading

GL124 : working shading calibration for all modes but 1200 dpi

working 1200 dpi shading

beta 1 of GL124 support

last tuning

update genesys.desc for LiDE 110

motor slope and start area tuning

shading coefficient computing clean up

add support for GL124 based CanoScan LiDE 110

feed almost OK up to 300 dpi

feeding is fixed

all issues fixed
2010-12-14 18:23:23 +01:00
Alessandro Zummo 2f3300b4d1 epson2: added tool to generate device list 2010-12-12 16:19:51 +01:00
Alex Belkin 842c98d204 Added Samsung SCX-4500W scan over network support for xerox_mfp backend (by Alexander Kuznetsov).
autoconf and automake reconfigure.
2010-09-30 15:11:56 +04:00
Julien BLACHE 91854aadc5 umax_pp: define _XOPEN_SOURCE for putenv() 2010-06-23 18:21:38 +02:00
Julien BLACHE 323ed013e6 udev rules: set libsane_matched=yes for SCSI scanners too
Used later on by udev-acl to handle scanners.
2010-06-21 19:01:51 +02:00
Julien BLACHE 5ed097b553 Fix pkg-config file syntax 2010-04-26 21:13:44 +02:00
Chris Bagwell ce61e88f86 fix typo in tools/sane-config.in. REGMGR=RESMGR. 2010-04-25 15:49:27 -05:00
m. allan noah 6b8fc40c23 updated ukranian translation from Yuri Chornoivan 2010-04-21 08:36:12 -04:00