Wykres commitów

3038 Commity (41c6c1644f3cd8a208be9e381177c9782b901b18)

Autor SHA1 Wiadomość Data
Stéphane Voltz 3af19cf7ef enable GAIN4 by default 2012-12-09 15:45:59 +01:00
Rolf Bensch 667a5d81c0 Canon Pixma MG3100 reported as working 2012-12-07 20:07:23 +01:00
Rolf Bensch 3dc944302a new scanner Canon imageCLASS MF4430 2012-12-07 19:44:44 +01:00
Rolf Bensch e62bffb0a8 pixma version 0.17.1 2012-12-07 19:36:52 +01:00
Rolf Bensch 82eb323bfd Canon Pixma MX890 reported as working 2012-12-07 19:29:58 +01:00
Stéphane Voltz c3dbbf495b activate binary logging for gl124 2012-12-05 21:56:06 +01:00
Stéphane Voltz c3ebf3171d issue parking command as early as possible 2012-12-05 21:56:06 +01:00
m. allan noah f7fe42c33e canon_dr v40: DR-9050, 7550, 6050 and 3010 support 2012-11-28 21:51:13 -05:00
m. allan noah ed7a5f227d use automake instead of autoreconf so libtoolize is not run 2012-11-28 21:51:12 -05: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
Paul Newall f31002ed06 kodakaio changed to use avahi for net discovery 2012-11-28 21:35:36 +00:00
Stéphane Voltz dd2448ddec rts8891 improved version
- fixed batch scan issues
- 600 dpi color mode OK for type 1 sensor
2012-11-24 08:34:28 +01:00
Stéphane Voltz 1211286c12 register setting improvment 2012-11-22 21:08:16 +01:00
Stéphane Voltz a2983760cc create separate regsiters set up functions to allow unit testing 2012-11-13 22:08:12 +01:00
Stéphane Voltz eb9af2d4a3 fix typo in shading target set up 2012-11-11 08:06:34 +01:00
Stéphane Voltz cf9f70564e gl124 based scanners calibration improvement
- move to calibration area before doing led calibration
- increase white target for shading data
- fix parking issue for scan at higher dpi than 600
2012-11-11 07:52:59 +01:00
Stéphane Voltz e5b886cb76 add optional doxygen documentation generation for the genesys backend 2012-11-02 21:46:44 +01:00
Louis Lagendijk d9e7dc5412 backend/pixma.c backend/pixma.h backend/pixma_mp150.c backend/pixma_mp810.c
backend/pixma_sane_options.c backend/pixma_sane_options.h:
- added new options:
     original (type of original to be scanned)
     target (action to be perfomed as target of the scan)
  Both these indocators can be returned by the scanner.
  pixma_mp810 can definately return these (e.g. for my MP980)
  I have assumed that the same applies to devices in pixma_mp150.c
  The target used to be returned in button1/2 in bits 0 - 8.
- All button options are now read and cached when any of the options
  are read (SANE_ACTION_GET_VALUE) or SANE_ACTION_SET_VALUE is used
  on option button_update.
  When reading an option again, the status of all options is re-read.
- Added a dummy info field that is used in case info is NULL
  as this is a valid input
2012-10-31 12:40:07 +01:00
Louis Lagendijk 240ea344b8 pixma_gen_options.py: Changed so the formatting of the files it
creates match the formatting of pixma.c (replaced \t at start of
a new line to 2 spaces)
2012-10-31 11:55:03 +01:00
Alex Belkin 01c2562b4c usb id for Samsung SCX-4833FD, reported by Frank Pennycook; description for SCX-3405W working in networking mode, reported by Patrick Mackinlay. 2012-10-29 08:08:57 +04:00
Stéphane Voltz a35050c8bf doxygen fixes 2012-10-24 21:30:17 +02:00
Stéphane Voltz 704c81a019 add experimental Canonscan 8400F support 2012-10-24 21:30:17 +02:00
Stéphane Voltz f92f82c216 improve GPIO setting for LiDE 35 2012-10-24 21:30:16 +02:00
Stéphane Voltz 6377674304 compile fix, remove unit testing code 2012-10-24 21:30:16 +02:00
Stéphane Voltz 8e57213407 minor code cleanup 2012-10-24 21:30:16 +02:00
Stéphane Voltz a05c11dd53 fix head parking issues detected by test suite 2012-10-24 21:30:16 +02:00
Stéphane Voltz d0759450a0 use a function instead of inlined code to compute LiDE50 shading coefficients 2012-10-24 21:30:15 +02:00
Stéphane Voltz c04c167ecd improve power saving handling and fix Lide 50 parking
- don't enable power save during head parking
- enable power save at sane_close()
- align gl841 parking on other ASICs
2012-10-24 21:30:15 +02:00
Stéphane Voltz e1a9cac4d3 use common register tracing function 2012-10-24 21:30:15 +02:00
Stéphane Voltz d069629212 Canoscan 4400F progress : 100 dpi color uncalibrated ready 2012-10-24 21:21:14 +02:00
Stéphane Voltz fb89d5d53c allow null usb device for unit testing 2012-10-24 21:21:14 +02:00
Stéphane Voltz e9908d0f70 use correct usb device number for CS4400F 2012-10-24 21:21:14 +02:00
Stéphane Voltz 3de973396f create flag when sensor is always at full hw resolution 2012-10-24 21:21:14 +02:00
Stéphane Voltz aa160f50f6 initial Canonscan 4400F work
- add 4400F to devices
- add settings for 100 dpi scan
2012-10-24 21:21:13 +02:00
Stéphane Voltz a7735b57df hardware lineart only for XP200 2012-10-24 21:21:13 +02:00
Mattias Ellert ef7023ae13 Fix arguments to IPv6 macros 2012-10-22 16:49:32 +02:00
Ondrej Zary 19cedde244 canon: Fix cancel for Canon IX-4015
IX-4015 requires medium_position after cancelling a scan. Without that, it
does not return to home position and refuses to accept any other commands.
2012-10-18 20:27:30 -04:00
Ondrej Zary 8e627110cd canon: Add support for Canon IX-4015 scanner
This adds support for Canon IX-4015 scanner. The difference from other scanners
supported by this backend is that it has no highlight and shadow settings - the
corresponding bytes in set_window command must be zero or it will fail.

IX-4015 has optical resolution of 400 dpi, can interpolate up to 800 dpi (color)
or 1200 dpi (grayscale).
2012-10-18 20:27:30 -04:00
Ondrej Zary 1594aa5a05 canon: Separate diagnose and calibrate capabilities
Some scanners (e.g. IX-4015) support diangostics but not calibration
so separate these two capabilities.
2012-10-18 20:27:30 -04:00
Ondrej Zary d750ed0b12 canon: Fix sense_handler
sense_handler() crashes with Canon IX-4015 after the scanner is powered on because
scanner returns "unit attention - power on reset" sense status as a reply to the
"Test Unit Ready" command after power on - and dev is still NULL at that time.

The non-NULL dev is needed only to check if the device is a scsi2 device. But all devices
supported by this backend have the is_scsi2 flag set so it's useless.

So remove the flag and all its usage. Also change the return value for "power on
reset" check condition to SANE_STATUS_GOOD to allow IX-4015 to work.
2012-10-18 20:27:29 -04:00
Alex Belkin c333c4b094 usb id for Samsung SCX-4100, reported by Antonello Lobianco 2012-10-17 17:38:45 +04:00
Louis Lagendijk 36e86bc6ff Cleanup of address structure.
Prefer FQDN over global address over link-local address for the scanner
2012-10-16 20:49:57 +02:00
Alex Belkin c18f185c4f usb id for Samsung SCX-4729FD, reported by wom balton. 2012-09-18 04:16:09 +04:00
Louis Lagendijk 5997295720 pixma_bjnp.c: use MDL instead of DES string as model for the scanner.
This avoids lookup mismatches due to unnessacary additions like "Canon" opr "Pixma" in the string
2012-09-08 20:47:03 +02:00
Louis Lagendijk 57d117a2d4 pixma_bjnp.c/pixma_bjnp_private.h:
sanei_bjnp_read_bulk() rewritten to be more readable
Solved issue where scanner returned 0 bytes available
2012-09-08 20:47:02 +02:00
Louis Lagendijk 8b76fc2045 pixma_io_sanei.c: improved error string for bjnp scanner lookup 2012-09-08 20:47:01 +02:00
Louis Lagendijk 7d6bd4d63c pixma_bjnp.c Corrected an read error in sanei_bjnp_read_bulk.
When the scanner reports no data, we need to send a new read request
2012-09-08 20:47:00 +02:00
Stéphane Voltz daf1956189 compute gl646 buffer size like other glXXX chips 2012-09-06 06:09:14 +02:00
Stéphane Voltz 9d97e5a606 enable hardware lineart for gl646 scanners 2012-09-06 06:07:40 +02:00
Rolf Bensch d6bbee89ba new scanner Canon imageCLASS D420 2012-09-05 10:18:30 +02:00
Rolf Bensch b671510a45 14" (ADF) / A4 (Flatbed) exception for Pixma MX410, MX420 2012-09-05 10:02:30 +02:00
Rolf Bensch efaa587115 Pixma MG5300 reported as working 2012-09-04 14:25:43 +02:00
Rolf Bensch a9e4f1370c use xdpi to check for 14" / A4 scan 2012-09-03 10:27:35 +02:00
Rolf Bensch 8da546df9c Pixma MX370 supports 1200 dpi 2012-09-03 10:04:23 +02:00
Louis Lagendijk 6f7a9645ed Merge ssh://git.debian.org/git/sane/sane-backends 2012-08-27 19:49:19 +02:00
Rolf Bensch f14ff15bdc MG6100 support reported 2012-08-27 15:40:21 +02:00
m. allan noah 854c461f92 Revert "Revert "PIXMA_CAP_EXPERIMENT removed""
This reverts commit 567be37c19.
2012-08-26 13:35:13 -04:00
m. allan noah 567be37c19 Revert "PIXMA_CAP_EXPERIMENT removed"
This reverts commit 17e3d3fff2.
2012-08-26 10:58:59 -04:00
Louis Lagendijk 9e68f66cc2 pixma_bjnp.c: Added more sockaddr support functions + some more re-factoring & clean-ups 2012-08-25 23:31:57 +02:00
Louis Lagendijk d929acb1b2 pixma_bjnp.c Added bjnp_sockaddr_t, a union that makes all explicit typecasts for sockaddr_xxx unnecessary
This makes the code much cleaner
2012-08-25 23:28:10 +02:00
Louis Lagendijk 177fde920c pixma_bjnp.c Minor code cleanups, add #defines for mosts hardcoded values 2012-08-25 23:27:53 +02:00
Louis Lagendijk 1b4cce5f2d pixma_bjnp.c Adeded scanner discovery for IPv6 2012-08-25 23:27:36 +02:00
Louis Lagendijk 62c2a094f9 pixma_bjnp.c: let prepare_socket determine destination for braodcast 2012-08-25 23:27:23 +02:00
Louis Lagendijk 3c693c66e5 pixma_bjnp.c: Move socket creation out of find_devices 2012-08-25 23:27:09 +02:00
Louis Lagendijk 2be2111a1a pixma_bjnp.c: some code cleanup
Use address from revfrom rather then the address returned n the discover response
Removed useless serial number code
Some refactoring to reduce the size of the find_devices() function: it is still too big
2012-08-25 23:26:49 +02:00
Louis Lagendijk d6040014df pixma_bjnp: added inintial ipv6 support 2012-08-25 23:26:35 +02:00
Louis Lagendijk f9a70e14be pixma_bjnp: add working scan button support 2012-08-25 23:25:49 +02:00
Louis Lagendijk cea03f3946 pixma_io_sanei.c: corrected error handling for bjnp interface 2012-08-25 23:25:38 +02:00
Louis Lagendijk fb1b31f82a pixma_bjnp.c Use a single socket for broadcasts so we can use a single port (8612) as well.
Right now we were not in compliance with the documentation that stated so.
This makes firewalling much easier.
2012-08-25 23:25:23 +02:00
Louis Lagendijk 750f2e2a09 pixma_bjnp.c: fix compiler warnings 2012-08-25 23:25:08 +02:00
Louis Lagendijk 0bcf1530e3 pixma_bjnp.c: Some buggy routers return a bogus name on a reverse name lookup.
Perform a forward lookup on the name and see if the returned ip-address matches
2012-08-25 23:24:55 +02:00
Rolf Bensch 17e3d3fff2 PIXMA_CAP_EXPERIMENT removed 2012-08-25 16:03:34 +02:00
Chris Bagwell 699babff39 Really fix scan() symbol issue. 2012-08-17 19:18:02 -05:00
Chris Bagwell ec0518cfe0 Fix scan symbol name issue in kvs40xx.c
Introduced in last commit to that file.
2012-08-17 18:55:44 -05:00
Rolf Bensch 6deca34cb9 remove fixme comment 2012-08-17 12:56:11 +02:00
Rolf Bensch 9e0d4aba0b copyright updated 2012-08-16 16:14:38 +02:00
Rolf Bensch 55426f0f38 lineart fix for generation 1+2 scanners 2012-08-11 22:50:30 +02:00
m. allan noah 5db1962493 cleanup recent kodakaio commit 2012-08-09 20:37:50 -04:00
Paul Newall 9ed65d3ea2 Tidy poll call in kodakaio 2012-08-09 16:33:41 +01:00
Stéphane Voltz fd47a2512c limit hardware lineart up to 600 dpi for gl847 scanners
- due to interleaving at bit level and uneven sub sensor length,
  hardware lineart is almost unworkable when resolution exceeds 600.
2012-08-08 20:46:23 +02:00
Stéphane Voltz d89087c6c6 make dynamic lineart work again with other digital processing 2012-08-08 20:46:23 +02:00
Stéphane Voltz bc944544d2 enable normal lineart for gl847 scanners 2012-08-08 20:46:23 +02:00
Stéphane Voltz 40e0e25046 btch scan fix for sheetfed scanners 2012-08-08 20:46:23 +02:00
Stéphane Voltz 726a2d0126 fix dynamic_lineart flag setup 2012-08-08 06:54:11 +02:00
Stéphane Voltz 07ec3ead6f fix dynamic lineart for sheet-fed gl841 scanner
- there number of bytes to read is equal to the number of bytes
in gray mode
2012-08-08 06:54:11 +02:00
Stéphane Voltz 1571492fcc fix lineart scanning below 300 dpi for gl124 scanners
- drop software line interpolation for LINESEL use
2012-08-08 06:54:11 +02:00
Stéphane Voltz 41733d874e fix genesys issues when using saned
- fix --clear-calibration option descriptor
- rewrite dynmaic lineart code to fix incorrect returned data length
2012-08-08 06:54:11 +02:00
Chris Bagwell 8d8eb5ee29 fix missing scan symbol broken in previous kvs20xx commit 2012-08-07 21:56:14 -05:00
Chris Bagwell 67b011b48c Fix duplicate symbol errors in kvs20xx/kvs40xx
These 2 backends are basically copy&paste of each other and so
have duplicate symbol names.

When using prelink backend option, the duplicates will conflict
and cause compile failure.  Probably even in shared libraries
this can be an issue in some cases.

Solved by converting functions to static when possible and
adding a kvs40xx_/kvs20xx_ prefix in remaining cases.
2012-08-07 21:01:35 -05:00
Chris Bagwell 8086c98434 Fix unresolved symbols in hp5590_low backend
It was using byte order utils but not including byteorder.h.
2012-08-07 21:00:13 -05:00
Chris Bagwell c8dde5e271 Make preload DLL backend's symbols make prototypes
Most errors were in return values. Some compilers, especially
64-bit ones, are picky about this and fail to compile.
2012-08-07 20:57:44 -05:00
Rolf Bensch 9996414623 pixma version 0.17.0 2012-07-31 13:27:19 +02:00
m. allan noah 91322ff8e8 Increase kvs1025 max paper size 2012-07-30 21:36:17 -04:00
Stef dd2b18c1d2 fix '5x5 2 fois' test case
- there is no sane_cancel call betewwen each scans in batch scanning
  so call end_scan when all data has been read from the scanner
2012-07-30 11:16:51 +02:00
Rolf Bensch 646fdaaa45 all 2012 untested new devices marked as experimental 2012-07-28 14:20:11 +02:00
Rolf Bensch f88fc5c9b4 caps updated for Canon PIXMA MX510 and MX890 2012-07-28 14:09:38 +02:00
Rolf Bensch 9ee5a9f248 new scanners Canon PIXMA E[56]00, MX370, MX4[123]0, MX710 2012-07-28 13:59:17 +02:00
m. allan noah 77c4ea1a7a Various cleanups for release 2012-07-24 21:17:15 -04:00
Nhan Ngo Dinh 8932359312 * Fix hp5590 backend on big-endian platforms
Little Endian (working)
  =======================
  [hp5590] hp5590_init_scanner
  [hp5590] hp5590_cmd: USB-in-USB: command : 0012
  [hp5590] hp5590_control_msg: USB-in-USB: core data: no
  [hp5590] hp5590_control_msg: USB-in-USB: sending control msg
  [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 143, index = 0, len = 8
  [sanei_usb] 0000: C0 04 00 12 00 00 32 00

  Big Endian (not working)
  ========================
  [hp5590] hp5590_init_scanner
  [hp5590] hp5590_cmd: USB-in-USB: command : 0012
  [hp5590] hp5590_control_msg: USB-in-USB: core data: no
  [hp5590] hp5590_control_msg: USB-in-USB: sending control msg
  [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 143, index = 0, len = 8
  [sanei_usb] 000 C0 04 00 12 00 00 00 32

  USB field wLength should always be treated little-endian, last command value during
  verification is received as little-endian as well.

  Thanks to Nhan Ngo Dinh for identifying the issue and providing the patch.

  Signed-off-by: Ilia Sotnikov <hostcc@gmail.com
2012-07-15 10:47:21 +03:00
Stéphane Voltz 34a6dec3bf minor build number and documentation updates 2012-07-04 06:55:14 +02:00
Stéphane Voltz 7c038dc403 G4050 UTA not ready for SANE 1.0.23 2012-07-04 06:55:14 +02:00
m. allan noah 206e6ed094 Adding new kodakaio backend 2012-06-30 21:28:14 -04:00
Rolf Bensch 42748d44f0 48 bit flatbed scans for CS9000F 2012-06-27 10:52:05 +02:00
Rolf Bensch 76084da110 new scan modes for 48 bit flatbed scanners
- PIXMA_SCAN_MODE_COLOR_48 for 48 bit color scans
- PIXMA_SCAN_MODE_GRAY_16 for 24 bit grayscale scans
2012-06-27 10:49:09 +02:00
Rolf Bensch ecc472caff improve scan mode detection 2012-06-26 22:31:31 +02:00
Rolf Bensch 19f4398b45 unused capability PIXMA_CAP_48BIT removed 2012-06-26 21:35:04 +02:00
Rolf Bensch 26c9c5a071 Pixma backend v0.16.4 2012-06-26 15:41:07 +02:00
Stéphane Voltz 0f418d3308 genesys build 84 changelog entry 2012-06-04 21:35:10 +02:00
Stéphane Voltz c81c28c550 improve hotplug/remove detection of device 2012-06-04 21:35:10 +02:00
Stéphane Voltz faa758cb24 gl124 led calibration rework 2012-06-04 21:35:10 +02:00
Stéphane Voltz 2ed73ef3d9 add 2400x4800 dpi mode for LiDE 100, 110 and 210 2012-06-04 21:35:10 +02:00
Stéphane Voltz 9dda72a931 improve led_calibration
- use led calibration alog from gl847
2012-06-04 21:35:10 +02:00
Alex Belkin 79240ac397 increment BACKEND_BUILD to distinguish from buggy version 2012-06-03 01:48:45 +04:00
Stéphane Voltz da92353be1 led calibration fix 2012-06-01 07:14:41 +02:00
Stéphane Voltz 0315ded799 reindent get_devices 2012-06-01 06:28:47 +02:00
Stéphane Voltz 15403160f0 changelog entry for genesys build 83 2012-06-01 06:21:14 +02:00
Stéphane Voltz c87bfdc0be align gl124 code on latest gl847 improvements
- slow back home
- feeding
- unintialized dev->skip
2012-05-30 06:39:35 +02:00
Stéphane Voltz dd0e0deb9a gl847 sensor and motor modes cleanups 2012-05-29 16:10:11 +02:00
Stéphane Voltz 5f798d84a5 4800 dpi for LiDE 700F 2012-05-29 15:36:22 +02:00
Stéphane Voltz ac3125e752 GL847 move to scan area improvements
- gl847_feed is OK
- one table scan move is OK
2012-05-29 14:40:18 +02:00
Stéphane Voltz 3261ea7dc1 doc and changelog update for LiDE 700F support update 2012-05-28 08:24:12 +02:00
Stéphane Voltz 2c370e311f fix hang on warm boot for LiDE 200 2012-05-27 10:43:58 +02:00
Stéphane Voltz e77f93be51 LiDE 700F support completed 2012-05-26 18:38:06 +02:00
Stéphane Voltz 7c20724b1f LiDE 700F WIP 05 fialfixes before data reordering 2012-05-26 09:47:33 +02:00
Stéphane Voltz a3de8f3e4f LiDE 700F WIP 04
- only reordering must be fixed every thing else is working
2012-05-26 09:47:33 +02:00
Stéphane Voltz 42713d584d GL847 shading calibration data fix 2012-05-26 09:47:33 +02:00
Stéphane Voltz b9e41f89e1 LiDE 700F WIP 03
- shading calibration fixed
2012-05-26 09:47:33 +02:00
Stéphane Voltz 8e22b9418a LiDE 700F WIP
- shading calibration data not aligned yet
- slow_back home is going back too far during shading calibration
- y_offset_calib not working yet
- intermittent failure at start
2012-05-26 09:47:33 +02:00
Stéphane Voltz 5ae4f26c42 LiDE 700F WIP
- 75 to 2400 uncalibrated scans are ok
2012-05-26 09:46:40 +02:00
Stéphane Voltz 261905e759 GL847/GL124 data interleaving rewrite
- made data interleaving use an order matrix to handle different sensors
2012-05-26 09:41:39 +02:00
m. allan noah c72e11a044 Add paper-protect, staple-detect and df-recovery options 2012-05-12 20:43:14 -04:00
m. allan noah 7303da89ee Fujitsu backend v111
- call send_* and mode_select_* from sane_start
- split read payloads into new debug level
2012-05-11 21:59:54 -04:00
m. allan noah 924498f608 Fujitsu backend v110
- correct max_y_fb for fi-62x0 series
- add must_fully_buffer helper routine
- add hwdeskewcrop option, with fallback to software versions
- add 'actual' param to get_pixelsize for post-scan
- add recent model VPD params
- only set params->lines = -1 when using ald without buffering
- fix bugs in background color when using software deskew
2012-05-09 21:17:33 -04:00
m. allan noah 3a3ff4b05f Add many new inquiry and mode select values 2012-05-09 21:17:32 -04:00
m. allan noah 7269ff0158 correct fb max size 2012-05-09 21:17:32 -04:00
Rolf Bensch 3c5cc2ab08 patch for Canon Pixma MP280
- PIXMA_EOF mapped to PIXMA_ETIMEDOUT
- maximum resolution reduced to 600dpi
- scanner added to doc files
2012-05-04 14:27:37 +02:00
Rolf Bensch 9b83cf6dc4 new description for device specific option "source" 2012-04-17 11:02:08 +02:00
Rolf Bensch 641e7f6e2a select first entries of dynamic dpi list and dynamic mode list as default values 2012-04-17 10:07:09 +02:00
Rolf Bensch d723944fae new scanners Canon Pixma MX510 and Canon Pixma MX890
both are untested
2012-04-04 18:49:32 +02:00
Rolf Bensch 9fc0ac9d1b color and grayscale negatives scan in TPU mode
for CS8800F and CS9000F
2012-04-04 15:15:18 +02:00
Rolf Bensch 9c6afe1b95 cropping y and h to scanable area in TPU mode
for CS8800F and CS9000F
2012-04-04 14:35:20 +02:00
Stéphane Voltz a1d3481265 update LiDE 110/210 scan area width 2012-03-29 21:57:31 +02:00
Stéphane Voltz 451badecc8 tune LiDE 110/210 geometry and feeding
- tune use of gl124_feed at high resolution
- tune LiDE 110/210 geometry
2012-03-29 21:42:00 +02:00
Mike Kelly d46d19808c Bumped version number. 2012-03-25 15:05:00 -07:00
Mike Kelly 2903d6687c Fixed bug using wrong enum in x/y range check.
In the "check if x/y ranges are valid" section of the attach() function, the
enum source_mode was being used instead of source_mode_dim.  Since these two
enums are very similar, it's not likely this change will affect anything, but
it does fix the compiler warning.
2012-03-25 15:04:00 -07:00
Mike Kelly bd7faf0917 Fixed warning about printf and size_t. 2012-03-25 15:03:00 -07:00
Mike Kelly 23ecd9bc5c Reverted AV610 USB IDs and removed AV_INT_STATUS
Previously I had changed the USB ID of this scanner from 0x0a18 back to
0x0a19, believing a previous commit to have been in error since it went
unmentioned in the commit log and duplicated the AV600U Plus scanner's USB
IDs.  Rolf Würdemann reported that his AV610 scanner used the 0x0a18 ID and
that it wasn't compatible with the AV_INT_STATUS flag.  This commit reverts
my USB ID changes and removes the AV_INT_STATUS flag for the AV610.

However, because this scanner shares its USB ID with the AV600U Plus, it's
possible that the AV600U Plus may require that the AV_INT_STATUS flag be set
in order to function, and thus will break with this change.  The code, as
it's written, isn't designed to deal well with the possibility of shared USB
IDs, so I'll wait to see if this actually becomes a problem before embarking
on the lengthy challenge of getting that to work.
2012-03-25 15:02:00 -07:00
Mike Kelly fec4800d7d Added firmware checking for HP5370c scanners 2012-03-25 15:01:00 -07:00
Mike Kelly b051c955e3 Added Xerox Documate 632. 2012-03-25 15:00:00 -07:00