Stéphane Voltz
b7a62c1d54
align offset/gain calibration of gl847 on gl124 code
2011-11-20 10:47:20 +01:00
Stéphane Voltz
d0931a27c8
update HP N6310 description
2011-11-20 08:05:39 +01:00
Stéphane Voltz
d090c32918
first step for N6310
2011-11-20 08:03:54 +01:00
Stéphane Voltz
3cd3534e87
fix calibration crash for LiDE 100/200
2011-11-20 08:02:55 +01:00
Stéphane Voltz
0e409babcc
Merge branch 'gl843'
2011-11-19 09:53:06 +01:00
Stéphane Voltz
c84445039d
add HP 4850c as an untested gl843 device
2011-11-19 09:50:44 +01:00
Stéphane Voltz
d750676ed0
XPA support for gl843 preparation
...
- define exposure map for XPA
- define optical flag for XPA
2011-11-19 09:34:12 +01:00
Nils Philippsen
c648a4411e
avision: reenable grayscale and lineart modes for AV220
...
See https://bugzilla.redhat.com/show_bug.cgi?id=700725
2011-11-18 12:17:22 +01:00
Alessandro Zummo
cafa49bb92
epson2: fixup detection of GT-7000
2011-11-17 20:34:09 +01:00
Stéphane Voltz
6ddaf6fbc1
G4050 XPA progress
...
- define and tune move_to_ta for gl843
- GPIO settings to light XPA lamp
- GPIO settings to enable XPA lamp motor
- park XPA lamp function for gl843
2011-11-14 06:16:17 +01:00
Stéphane Voltz
23727765f8
handle XPA light on
...
- select XPA is trnasparency method
- toggle GPIO for XPA if needed
2011-11-14 06:16:17 +01:00
Stéphane Voltz
11ff6cfaa6
includes cleanup
...
- remove uneeded includes from genesys.c
- move backend name define to C file for unit testing
2011-11-14 06:16:17 +01:00
Stéphane Voltz
389cef9ca8
includes cleanup
2011-11-14 06:16:17 +01:00
Stéphane Voltz
ec8bdc31a3
define and use HAS_UTA flag for G4050
...
- remove unused ALT_SLOPE flag
- create HAS_UTA_FLAG
- ease some compilation warnings
2011-11-14 06:16:17 +01:00
Stéphane Voltz
99df6f2b0a
lamp off at sane_close()
2011-11-14 06:16:17 +01:00
Chris Bagwell
3125506715
revert broken sleep()->usleep conversion.
...
Got unit conversion wrong.
2011-11-10 18:39:12 -06:00
Chris Bagwell
50475719ef
portabilty mods to epson2 backend
...
No behavior changes. Wrap some optional headers with #ifdef's and
use usleep() instead of sleep() since it exist everywhere.
2011-11-09 21:50:18 -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
db068dd6b1
complete preload linking fix.
...
dll.c is were optional preload behavior is implemented.
Since its linked in using a convienence library, we need
to libraries to have different behavior.
2011-11-08 20:06:30 -06:00
Chris Bagwell
0a6d41ff59
Add missing sanei_magic.lo to libsane backend.
...
At least Fujitsu backend uses it so needed to be able
to run "configure PRELOADABLE_BACKENDS=fujtsu".
2011-11-07 19:29:38 -06:00
Chris Bagwell
1dd768d534
Do not link in preload backends for libsane-dll
...
Current backend/Makefile.am states difference between libsane and
libsane-dll as:
> libsane.la and libsane-dll.la are the same thing except for
> the addition of backends listed by PRELOADABLE_BACKENDS that are
> statically linked in.
We were (mistakenly) linking in dll-preload.h and thus symbols
for all preload backends for both libraries but we were only
linking in those symbols for libsane.
This mistake became obvious on mingw which does not allow for
any unresolved symbols. Resolve by forcing an empty preload
backend list for libsane-dll.
2011-11-06 16:39:06 -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
Chris Bagwell
e7d1932f5b
use usleep consistently in umax_pp_low.c
...
It was about an 90/10 split with usleep/sleep. We have portablity
logic to make usleep on all platforms but not sleep. This is
needed to link tools directory under mingw.
2011-11-06 11:24:45 -06:00
Stéphane Voltz
8f0f05225b
includes for genesys_gl841.c
2011-11-02 08:41:10 +01:00
Stéphane Voltz
11d8819768
genesys code cleanup
...
- create an include file for genesys_gl841.c
- simplify includes
- cleanup warnings
2011-11-02 08:40:25 +01:00
m. allan noah
938469218b
Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends
...
Conflicts:
ChangeLog
2011-11-01 16:12:03 -04:00
m. allan noah
8ee3e59375
canon_dr: DR-2580C pads the backside of duplex scans
2011-11-01 15:23:08 -04:00
Stéphane Voltz
f0e42223a7
include <sys/types> in a clean way
2011-11-01 16:10:07 +01:00
Stéphane Voltz
638d7750a9
fix gpo description of LIDE210
2011-11-01 10:08:36 +01:00
Mattias Ellert
9e639753a3
Include <sys/types.h> for definition of u_long on MacOS X
2011-10-30 10:32:34 +01:00
Mattias Ellert
c048a73700
Use more precise path to internal headers
2011-10-30 10:27:47 +01:00
Mattias Ellert
97e89c3ad7
Use portable endian macros from config.h
2011-10-30 10:19:07 +01:00
Stéphane Voltz
0c75f5ca4e
minor compatibility change for KV-SS080
2011-10-21 07:45:45 +02:00
Stéphane Voltz
6aec6884b1
G4010/G4050 device description cleanup
2011-10-21 07:45:45 +02:00
Stéphane Voltz
61daa4300b
shading data bug is fixed
2011-10-21 07:45:44 +02:00
Stéphane Voltz
d35e4a072f
GL843 progress, working 1200 and 2400 dpi modes
...
- shading is working using SHDAREA
2011-10-21 07:45:44 +02:00
Stéphane Voltz
1329a3dfe0
G4050 progress : working 1200/2400 dpi
...
- handle undocumented register 0xaa
2011-10-21 07:45:44 +02:00
Stéphane Voltz
20b6d224fb
adjust ld shift to normal case when needed
2011-10-21 07:45:44 +02:00
Stéphane Voltz
b05ca3c3f3
move specific gl843 shading function to genesys_gl843.c
2011-10-21 07:45:44 +02:00
Stéphane Voltz
155bc33c62
handle different domains for ld distance shift
2011-10-21 07:45:44 +02:00
Stéphane Voltz
e52c10adf6
simplified *regs_off parameters
2011-10-21 07:45:44 +02:00
Stéphane Voltz
6490c9635f
move ld_shift_* values from motor to device session level
2011-10-21 07:45:44 +02:00
Stéphane Voltz
c7e0cbd84c
gl843 3 way dichotomy for offset calibration
2011-10-21 07:45:43 +02:00
Stéphane Voltz
85eade8436
GL843 ok up to 600 dpi optical
2011-10-21 07:45:43 +02:00
Stéphane Voltz
1ed7e3e589
G4050 WIP : stable point
...
- scanarea needs tuning
- calibration needs tuning
2011-10-21 07:45:43 +02:00
Stéphane Voltz
45ea23bc56
G4050 2400 dpi is working
2011-10-21 07:45:43 +02:00
Stéphane Voltz
40ebdf4676
cksel setting fix
2011-10-21 07:45:43 +02:00
Stéphane Voltz
e133c62730
minor cleanups
2011-10-21 07:45:43 +02:00
Stéphane Voltz
dd6df8a7c7
GL843 progress
...
- warming up working for gl843 scanners
- per resolution motor/sensor profiles for gl843 scanners
- use sanei_genesysy_slope_tale for gl843 scanners
- glxxx_set_motor_power usage cleanups
2011-10-21 07:45:43 +02:00
Stéphane Voltz
6b1afd92ab
add scan_mode to gl843_init_scan_reg
2011-10-21 07:45:43 +02:00