Wykres commitów

2767 Commity (a749b0f48aa63f76e9c33382669b83c83fe9a138)

Autor SHA1 Wiadomość Data
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
Stéphane Voltz 73cbc00b3e initialize binary debug file to NULL 2011-10-20 06:28:41 +02:00
Alex Belkin 4293d7b1fd Usb id for Samsung CLX 3185, reported by John Dignum.
From: John Dignum <jp.dignum@dignum.jp>
2011-10-19 11:40:11 +04:00
m. allan noah 8607f65505 Revert "Applied patch for HPN6310"
This reverts commit f7a0ef6817.
2011-10-18 20:47:56 -04:00
m. allan noah 96fa2ec9fe Revert "unwanted files removed"
This reverts commit b99814b0b4.
2011-10-18 20:47:31 -04:00
Abdul Salam 95d2512169 Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends 2011-10-17 13:00:25 +05:30
JAZ b99814b0b4 unwanted files removed 2011-10-17 12:49:31 +05:30
JAZ f7a0ef6817 Applied patch for HPN6310 2011-10-17 12:27:09 +05:30
Julien BLACHE ff534c16cb Use IPv6 prefix reserved for documentation (2001:db8::/32) 2011-10-10 18:22:43 +02:00
Alex Belkin 4f30d7e7eb Usb id for Samsung SCX-4828FN or SCX-4x28 Series, reported by Patrice Levesque.
Reported via https://alioth.debian.org/tracker/?func=detail&atid=410366&aid=313380&group_id=30186
2011-10-01 16:18:54 +04:00
Reinhold Kainhofer b0058051f0 Magicolor: Fix SNMP detection with multiple snmp agents in the network.
So far, the snmp detection would stop working after the first response, because libsnmp
haved like that if we return 1 in the callback. Since we want multiple responses to one
broadcast query, we don't tell libsnmp that the response has answered our query.
As a drawback, libsnmp will send the same query in 1-second-intervals, and each device
will answer again. So, we have to keep a list of all devices already detected.
2011-09-19 19:28:59 +02:00
Nils Philippsen 058f423a30 epson2: add USB id for Epson Stylus SX125 2011-09-16 13:17:33 +02:00
Stéphane Voltz b4d279d540 fix code typo 2011-09-07 06:46:59 +02:00
Stéphane Voltz 49ebc601bf fix canon LiDE 210 button mapping 2011-09-07 06:45:16 +02:00
Stéphane Voltz 84d39e7188 MD5345 shading calibration fix
- create a no move during shading calibration flag
- use this flag for MD5345
2011-08-25 06:43:25 +02:00
Stéphane Voltz d5189e200d genesys park and preview improvements
- use fatest motor speed to park for gl843, gl847 and gl124
- use sensor lowest dpi (and not motor's one) as default value so
	preview is done with it
2011-08-23 07:20:52 +02:00
Stéphane Voltz ae95873837 calibration fixes
- make calibration work for both KV-SS080 and G4050
2011-08-22 22:19:57 +02:00
Stéphane Voltz 1e8c1043b3 fixes for G4050
- add feed function and use it a init time
- update KV-SS080 CKxMAP
- clean up old CKxMAP setting up code
2011-08-22 21:07:49 +02:00
Stéphane Voltz 55bf2b85c7 G4050/G4010 calibration fixes
- handle varying dpihw when doing calibration
- use flags from genesys_low.h
- handle dummy and black pixels
2011-08-22 07:07:15 +02:00
Stéphane Voltz dbc2f9976f code cleanups to prepare glxxx_init_scan_regs convergence 2011-08-22 07:05:54 +02:00
Stéphane Voltz e56afbd8e8 change resolution default for all scanners
- use lowest available y dpi instead of fixed 300 dpi so that preview
  with scanimage is done at low resolution
value
2011-08-22 07:03:27 +02:00
Stéphane Voltz 9b1fbd3d9d use flags from genesys_low.h 2011-08-22 07:02:56 +02:00
Stéphane Voltz 0fc5db2155 use flags from genesys_low.h 2011-08-22 07:02:27 +02:00
Stéphane Voltz 2ea0836330 add log debug log message and define optical/motor flags 2011-08-22 07:01:18 +02:00
Stéphane Voltz 656b79e6e2 activate calibration for G4050/G4010 and tune scanarea width 2011-08-22 07:00:24 +02:00
Stéphane Voltz 774f86861a G4050 parking issue fixed
- use FEED flag for parking
2011-08-12 07:55:52 +02:00
Stéphane Voltz e742139517 600 dpi working again for G4050 2011-08-11 21:59:37 +02:00
Stéphane Voltz bd581d8ca4 handle cache calibration for scan resolution higher than sensor's one
- x scan resolution may be higher than sensor's one, in this case use
  sensor resolution for calibration cache
2011-08-05 07:17:36 +02:00
Stéphane Voltz 410021d1e8 improved read data expansion in lineart mode 2011-08-04 21:42:03 +02:00
Stéphane Voltz 4e9895aca0 use scan method constat intead of numeric value 2011-08-02 07:32:11 +02:00
Stéphane Voltz 867cd5e14c fix generic is_compatible_cache for CCD case 2011-08-02 07:31:38 +02:00
Stéphane Voltz 0e83cf58eb is_compatible_cache refactor for gl124, gl847 and gl843 2011-07-31 22:09:46 +02:00
Stéphane Voltz bda7a84ade use sanei_genesys_compute_dpihw instead of per asic function 2011-07-31 09:00:03 +02:00
Stéphane Voltz 66fa10b91a re-tune MD5345/MD6228 scan area 2011-07-15 10:00:05 +02:00
Stéphane Voltz 5dd12d4a61 slow_back_home cleanups 2011-07-15 08:18:27 +02:00
Stéphane Voltz a77381a4af increase tolerance for home point detection 2011-07-15 07:29:12 +02:00
Stéphane Voltz eb061b2c28 fixed incorrect image height for sheetfed scanners 2011-07-07 22:31:08 +02:00
m. allan noah 03c6806618 canon_dr backend v38
- initial support for DR-5020
- use ppl_mod instead of Bpl_mod, apply to all modes
- invert logic of read_panel tracking
- add ability to disable read_panel()
- automatically disable read/send_panel if unsupported
2011-07-07 10:29:45 -04:00
Stéphane Voltz 91027fdee9 double the number of shading lines at 4800 dpi 2011-07-06 21:45:34 +02:00
Stéphane Voltz c4ebb66293 remove all un-needed use of mode->shading_lines 2011-07-06 21:33:38 +02:00
Stéphane Voltz 68074484ff use the new calib_lines field instead of model->shading_lines 2011-07-06 21:17:13 +02:00
Stéphane Voltz 5a0c42a357 calibration cache fix
- overwrite old entries so that calibration file doesn't grow up
2011-07-05 15:04:30 +02:00
Stéphane Voltz 1581bd3865 Merge branch 'gl847' 2011-07-05 14:29:12 +02:00
Stéphane Voltz abcc5104dd 4800 dpi now fully working 2011-07-05 14:27:56 +02:00
Stéphane Voltz b8ea43fd39 added bytes to skip from scan line 2011-07-05 13:55:13 +02:00
Stéphane Voltz 197d5ce954 high resolution fixes
- use 32 bit number for pixel number so we can handle high resolution
- simplify cache reuse
- code cleanups
2011-07-05 13:53:44 +02:00
Stéphane Voltz 69b17b34f2 binary logging fixes 2011-06-29 06:55:26 +02:00
Stéphane Voltz e827077bf3 binary logging change
- removed old raw data logging
- added new binary data logging (gl847 only for now)
2011-06-28 22:13:41 +02:00
Stéphane Voltz a3274977cb add little move at probe time 2011-06-27 06:29:05 +02:00
Alex Belkin 9aa6850874 USB id for Samsung CLX-216x Series, tested with CLX-216.
Reported by Malte Starostik <malte@malte.homeip.net>
2011-06-16 13:34:59 +04:00
Stéphane Voltz 15e256f8b0 lineart fix 2011-06-15 07:14:08 +02:00
Stéphane Voltz 245db82a37 HP2400 support from Alexey Osipov <simba@lerlan.ru>
- applied and tweaked a patch from Alexey Osipov to complete
HP2400 support
2011-06-13 21:52:05 +02:00
Stéphane Voltz b750f1715c gl847 start of scanarea tuning 2011-06-13 21:15:47 +02:00
Stéphane Voltz cef28b4d46 X1100 device regression fix 2011-06-09 22:22:57 +02:00
Stéphane Voltz 80254a558c move LIDE 100 to new description model, 2400 now available 2011-06-08 22:23:30 +02:00
Stéphane Voltz e2b633ef8b good for release
- nice quality from 75 to 2400 dpi
- 4800 dpi shading improvement
- motor moving smoothing
2011-06-08 21:55:59 +02:00
Stéphane Voltz 0a807c9db1 position after shading OK 2011-06-07 21:26:20 +02:00
Stéphane Voltz 91a186bce0 move ok at all resolution 2011-06-07 21:26:20 +02:00
Stéphane Voltz abf93fae62 fix 1200 dpi move bug by using fast fed only for this mode 2011-06-07 21:26:20 +02:00
Stéphane Voltz c31eb26d1e LiDE 200 almost OK
- 1200 dpi scans hang after calibration
- 4800 dpi shding data is incorrect
- move to scan area needs tuning
2011-06-07 21:26:20 +02:00
Stéphane Voltz 18beac8e63 1200 and 2400 dpi shading are working 2011-06-07 21:26:20 +02:00
Stéphane Voltz ae6349b2ba shading calibration start to work again at <= 600 dpi 2011-06-07 21:26:20 +02:00
Stéphane Voltz a7652acdcc working 4800 dpi scans 2011-06-07 21:26:20 +02:00
Stéphane Voltz 9f9a157801 4800 dpi motor settings progress 2011-06-07 21:26:19 +02:00
Stéphane Voltz 721d388eca swithc slop definitions to uin32t to allow high resolutions 2011-06-07 21:26:19 +02:00