Wykres commitów

3449 Commity (4962b35abd7426b7b51a00d907a538a2a38dc859)

Autor SHA1 Wiadomość Data
m. allan noah 3609f406ca canon_dr backend v43
- initial DR-M140 support
- add extra_status config and code
- split status code into do_usb_status
- fix copy_line margin offset
- add new color interlacing modes and code
- comment out ssm2
- add timestamp to do_usb_cmd
2014-03-29 21:17:35 -04:00
Alessandro Zummo b768bb07b6 epson2: fixed another timeout/crash 2014-03-25 14:51:42 +01:00
Rolf Bensch 6ff135ed33 clamp minimum image size to 16 px x 16 px 2014-03-21 19:15:50 +01:00
Rolf Bensch 23b266f92c MX520 has button support 2014-03-21 19:09:33 +01:00
Rolf Bensch e6b3f9ea01 MX520 supports 14" legal paper size in ADF mode 2014-03-21 19:08:21 +01:00
Alessandro Zummo db31fdd1e3 epson2: fixed timeout and scanner crash on WP-4540 series (and others) 2014-03-13 22:57:17 +01:00
Alessandro Zummo 3babe5de40 epson2: fixed ADF detection 2014-03-13 22:56:29 +01:00
Alessandro Zummo 0a37fc99f7 epson2: updated usb ids 2014-03-04 00:57:33 +01:00
Alessandro Zummo f26f3d38a7 epson2: do not reset after each page 2014-03-03 23:56:29 +01:00
Alessandro Zummo e855744b5c epson2: improve debug output 2014-03-03 23:56:28 +01:00
Alessandro Zummo 83b9767539 epson2: fixed detection of multiple network-enabled scanners 2014-03-03 23:56:28 +01:00
Rolf Bensch 5a22adb9ea rename MF4550d to MF4500 Series 2014-02-28 21:19:53 +01:00
Stéphane Voltz a54bbf84f5 fix calibration file name collision
- handle the case where there are several identical scanners plugged in,
  and avoid sharing the same calibration file
2014-02-24 06:53:10 +01:00
Louis Lagendijk ff7faa7964 pixma_bjnp.c: remove code and sanei_bjnp_activate/deactivate to make ADF scan work on MFNP protocol
Code is moved to sanei_bjnp_open/close instead. The FINISH command killed ADF scan
2014-02-12 00:16:34 +01:00
Louis Lagendijk bd851f2a3e pixma_bjnp.c: fix regression in bjnp support 2014-02-11 21:46:49 +01:00
Louis Lagendijk be2cc19c60 Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends 2014-02-10 23:56:17 +01:00
Louis Lagendijk 77a1d1cdbc pixma_bjnp.c pixma_bjnp.h pixma_bjnp_private.h: Added support for Canon laser multi-functionals using the mfnp protool over port 8610.
Improved debug logging to be more reeadable
2014-02-10 23:53:04 +01:00
Rolf Bensch f0a2800a6d MX510 supports 14" legal paper size in ADF mode 2014-02-08 18:47:52 +01:00
Louis Lagendijk 56b186e225 Increase buffer size, as a device may send a larger blocksize when used over mfnp 2014-02-08 18:01:31 +01:00
m. allan noah 469674c442 umax-uc630 updates from Ondrej Zary 2014-01-29 21:42:46 -05:00
Rolf Bensch 16bbb353cc bug #314411, Canon imageCLASS MF4570dw is working 2014-01-02 20:54:25 +01:00
Rolf Bensch 0efb64d126 update copyright 2014-01-02 20:51:00 +01:00
Rolf Bensch 42d9aa6ec2 MF4800 has ADF 2013-12-27 20:41:54 +01:00
Rolf Bensch 1ffcd34710 Canon i-SENSYS MF4800 Series is working 2013-12-27 11:33:44 +01:00
Rolf Bensch 7c454611a8 MF4800 supports 14" legal paper size in ADF mode 2013-12-27 11:08:03 +01:00
Rolf Bensch 473d976c0f fix usb cmd transaction timeout 2013-12-23 10:02:49 +01:00
Stéphane Voltz a9dc869717 calibration tuning for LiDE35 and LiDE80 2013-12-23 06:20:23 +01:00
Stéphane Voltz f5f88cefde tune gamma for LIDE80 sensor 2013-12-23 06:18:10 +01:00
Stéphane Voltz c5730be96b enable fast fed for LiDE80 2013-12-23 06:18:10 +01:00
Stéphane Voltz e79a94db5e tune LEDADD exposure for GL841 scanners 2013-12-23 06:18:10 +01:00
Stéphane Voltz 60eba116f3 Make LEDADD work for LiDE 35 and 80 2013-12-23 06:18:10 +01:00
m. allan noah 5b66dd64c5 fujitsu backend v119
- call get_pixelsize after start_scan, not before
- extend get_pixelsize to request backside data
- stop using backup/restore_params
- don't use extended get_pixelsize on M3091 or M3092
- call software crop code on backside images too
2013-12-18 21:53:26 -05:00
Rolf Bensch 5cfa697ec3 Pixma backend version 0.17.6 2013-12-16 19:41:20 +01:00
Rolf Bensch de393271bc tidy calc_shifting() 2013-12-16 19:27:02 +01:00
Rolf Bensch 0893dc530f enable button support for MX920 2013-12-16 19:24:25 +01:00
Rolf Bensch 94378b7bd8 bypass reorder_pixels() 2013-12-16 19:21:14 +01:00
Rolf Bensch 0670ad7b12 MX920 has 14" ADF paper length 2013-12-16 19:17:57 +01:00
Rolf Bensch 2f37052d2a rename Canon imageCLASS MF4770n to i-SENSYS MF4700 Series 2013-12-16 18:31:43 +01:00
Rolf Bensch a1222c0928 rename Canon i-SENSYS MF4890dw to MF4800 Series 2013-12-16 18:31:21 +01:00
Stéphane Voltz 6e1ce492ba GL841 shading calibration fixes
- fix regression in LiDE 35 shading (buffer full flag)
- tune LiDE80 shading calibration by skipping extra dark area
- whitespaces cleanup
2013-12-16 06:06:19 +01:00
Stéphane Voltz b882b2ed06 use y white strip offset to reach calibration area
- use y white strip offset to move to calibration area for GL841 devices
- set y offset to 0 for all GL841 devices but one needing it
2013-12-15 07:27:26 +01:00
Stéphane Voltz 77a3c2f7aa disable LED ADD for LiDE 80 2013-12-15 07:27:26 +01:00
Stéphane Voltz 4cae3bdeab LIDE80 WIP : basic operation milestone reached!
- make SHDAREA work
- exposure timing working from 75 to 1200 dpi
2013-12-15 07:27:26 +01:00
Stéphane Voltz 1a780d6bf1 LiD80 WIP: working motor modes for all resolution 2013-12-15 07:27:25 +01:00
Stéphane Voltz 091322f1f6 LiDE80 WIP : 1200 dpi color mode working
- factor exposure computing for gl841
- correct motor set up for LiDE80
2013-12-15 07:27:25 +01:00
Stéphane Voltz 79371ea4d9 factor out step type computing function 2013-12-15 07:27:25 +01:00
Stéphane Voltz e500d44e65 LiDE 80 WIP:
- 1200 shading working
- 600 and below resolution are ok, but shading needs to be fixed
- 1200 dpi motor resolution doesn't work
2013-12-15 07:27:25 +01:00
Stéphane Voltz ebcc2c0a3f LiDE80 WIP : update calibration
- led calibration updated
- offset calibration : new function added
- coarse gain calibration updated
- device description updated
2013-12-15 07:27:25 +01:00
Stéphane Voltz 1952f1172a LiDE 80 WIP : unit test scans are working 2013-12-15 07:27:25 +01:00
Stéphane Voltz 8fbb9c247b LiDE 80 WIP : working unit esting for 75, 100, 150 and 300 dpi 2013-12-15 07:27:25 +01:00
Stéphane Voltz 6ebd7e35b4 LiDE80 WIP : Working frontend 2013-12-15 07:27:25 +01:00
m. allan noah 9f6ebc2f3c fujitsu backend v118
- support fi-7160, fi-7260, fi-7180 and fi-7280
- remove unused var from do_scsi_cmd()
- added more request_sense options
- add adv_paper_protect option
- enable paper protection by default
- increase max_x_fb for fi-6240 and fi-6230
2013-12-10 21:57:11 -05:00
m. allan noah c4a5bbc143 canon_dr backend v42
- initial DR-G1100 support
- add support for paper sensors (P-215 & P-208)
- add initial support for card reader (P-215)
- removed unused var from do_scsi_cmd()
2013-12-09 20:56:45 -05:00
Nils Philippsen d835d9d565 epson: don't leak memory if realloc() fails 2013-11-07 14:29:28 +01:00
Nils Philippsen dc76e7cce4 genesys: check return values 2013-11-06 12:03:23 +01:00
Nils Philippsen 5d7f7ffefb genesys: remove code which is never reached
The surrounding conditions always evaluate as FALSE because the
variables are set to different values before.
2013-11-06 12:03:23 +01:00
Nils Philippsen 602d6ecdfe rts8891: check return values 2013-11-06 12:03:23 +01:00
Nils Philippsen a3fe2c1ea5 genesys: compute MAX_SCANNERS from array length
... of genesys_usb_device_list[]
2013-11-05 15:51:05 +01:00
Nils Philippsen 2d89e37f36 kodakio: don't overrun option name array 2013-11-05 15:51:05 +01:00
Nils Philippsen 101f76c516 pixma: document falling through to next switch case 2013-11-05 15:19:48 +01:00
Nils Philippsen b53a58c4b5 genesys: avoid infinite loop
The stray semicolon prevents executing the loop which could reset the
REG41_FEBUSY bit.
2013-11-05 15:15:17 +01:00
Nils Philippsen 575f40a079 pixma: avoid buffer overflows 2013-11-05 15:12:20 +01:00
Nils Philippsen cf9129d62f pixma: u32tohex(): shift first, then cast to uint8_t 2013-11-05 14:54:13 +01:00
Nils Philippsen 66cb9b55c2 remove code which is never reached 2013-11-05 14:47:27 +01:00
Nils Philippsen 252ccdd926 genesys: fix some memory leaks 2013-11-05 14:17:12 +01:00
Nils Philippsen 8cd2d36f1e epson: ensure that command() allocates enough memory 2013-11-05 14:05:25 +01:00
Nils Philippsen 56104b5329 genesys: avoid dereferencing null pointer 2013-11-05 11:39:56 +01:00
Nils Philippsen d35d6326cb pixmap: omitting curly braces considered harmful
The break being outside of the else block effectively made an if clause
out of the while loop. This caused long hostnames to not be shortened
sufficiently which subsequentely made strcpy() write beyond buffer
boundaries.
2013-10-29 14:14:18 +01:00
Stéphane Voltz 4b6d50f662 LiDE 80 WIP : parking is now working 2013-10-19 21:30:04 +02:00
Stéphane Voltz eca8b300b5 LiDE 80 init working 2013-10-19 21:24:34 +02:00
Stéphane Voltz c88b3bc228 add LiDE 80 device description 2013-10-19 21:24:34 +02:00
Paul Newall 37523b867d Bugfix in kodakaio.c to fix segfault when non kodak scanners return unexpected data via avahi auto discovery 2013-10-14 22:22:53 +01:00
Rolf Bensch 70cfb5e71b Pixma backend version 0.17.5 2013-10-11 19:43:27 +02:00
Rolf Bensch ee4704f34a new scanner Canon i-SENSYS MF4890dw 2013-10-11 19:40:42 +02:00
Rolf Bensch 82f92ec004 use mf->generation instead of s->cfg->pid for generation 2 scanners 2013-10-11 19:29:58 +02:00
Rolf Bensch d5baddf003 reorder scanner defines 2013-10-11 19:20:13 +02:00
Rolf Bensch e95e888c3b fix button support for Canon CS8800F 2013-09-30 16:22:12 +02:00
Rolf Bensch a178841287 new scanner Canon imageCLASS MF4770n 2013-09-24 21:25:19 +02:00
Alex Belkin b5ca4318c3 usb id for dell 1235cn, reported by Jean-Francois Labrousse. 2013-09-18 22:52:34 +04:00
m. allan noah dbbcb61f09 microtek.c: add missing break (#314408) 2013-09-17 21:34:25 -04:00
Gerhard Jaeger b5d1459dfd Tweaked motor settings for CanoScan N650U 2013-09-16 17:16:23 +02:00
Gerhard Jaeger b77df93a26 Bumped build number 2013-09-16 17:15:39 +02:00
Rolf Bensch a8461cbe7a new scanners Canon imageCLASS MF4570dw and imageRUNNER 1133 2013-09-13 14:06:38 +02:00
Rolf Bensch c04b748b21 Pixma backend version 0.17.4 2013-09-11 22:56:18 +02:00
Rolf Bensch dbfcd4dbcf new scanners Canon Pixma MG2400, MG2500, MG3500, MG5500, MG64000, MG6500 and MG7100 2013-09-11 22:53:37 +02:00
Dan Kegel 0f23fb3fc1 Epson Perfection 1650 doesn't support the FSG_STATUS_CANCEL_REQ bit. Fixes sane bug 312793/ debian bug 597922. 2013-09-02 12:08:49 +02:00
Alessandro Zummo 543393d90c close connection if an error occurs in the detection process 2013-08-29 11:33:24 +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 e3e5e9b3a3 implement brightness/constrast enhancement using gamma tables 2013-08-11 21:51:26 +02:00
Stéphane Voltz 63d12e3ee9 add calibration file name option
- add an option to set calibration cache file name
- update man page and fr translation
2013-08-07 06:42:14 +02:00
Stéphane Voltz ff58b225bf add digital contrast and brightness 2013-08-05 21:28:39 +02:00
m. allan noah 4029979bd9 Add changelog entry and correct date for v41 2013-07-31 21:43:09 -04:00
m. allan noah eacdc3a5b3 canon_dr backend version 41
- initial P-208 and P-215 support
- bug fix for calibration of scanners with duplex_offset
- allow duplex_offset to be controlled from config file
2013-07-31 21:38:25 -04:00
Stéphane Voltz bf1f8988a1 fix incorrect cap for SWDEROTATE option (bug #314339) 2013-07-30 14:19:18 +02:00
Rolf Bensch 3578d4039e Canon Pixma MX920 has duplex ADF and supports max. 600 dpi @ ADF 2013-07-19 20:59:43 +02:00
Rolf Bensch 22ead4021c Pixma backend version 0.17.3 2013-07-18 22:54:37 +02:00
Rolf Bensch 11ba184235 new button option --scan-resolution
detailed button option description
2013-07-18 22:45:45 +02:00
Rolf Bensch ded994f348 Canon PIXMA MG8200 is working now 2013-07-18 22:24:39 +02:00
Stéphane Voltz 70bb3e2c60 some whitespaces clean up 2013-07-18 08:18:26 +02:00
Stéphane Voltz 1fa067861c update lide 110 to match scan lide 210
- use lide 210 mode for lide 110
- prepare true gray for GL124
2013-07-17 22:47:42 +02:00
Stéphane Voltz c9a4cbe7a1 improve linesel computing 2013-07-17 21:49:12 +02:00
Stéphane Voltz 1c3ec28ab8 improve below 600 dpi scan speed and quality for lide 210
- add half ccd mode for lide 210
2013-07-17 21:24:57 +02:00
Stéphane Voltz ca08a8ba2b switch genesys register address to 16 bits 2013-07-15 07:53:37 +02:00
Stéphane Voltz 5408c8cd27 use LINESEL in all cases fro GL124 2013-07-09 06:59:56 +02:00
Stéphane Voltz 730a2ba4e5 define specific LIDE210 sensor and motor instead of using LIDE110 ones 2013-07-04 04:28:09 +02:00
Stéphane Voltz 2812e1f81a add missing cases for CCD_PLUSTEK3800 2013-07-04 04:08:16 +02:00
Rolf Bensch 1c5760a897 fix mode list for infrared scans 2013-06-27 21:14:49 +02:00
m. allan noah b8cc128ea9 Fujitsu backend v117
default buffer-mode to off
improved error handling in sane_start
image width must be multiple of 8 when swcrop is used before binarization (iX500)
check hopper sensor before calling object_position(load) on iX500
2013-06-27 09:47:12 -04:00
Stéphane Voltz 2d7ebd42ea experimental code for GL845 based Opticbook 3800
- add GL845 ASIC which is almost identical to the GL846
- add Opticbook 3800 to genesys backend
2013-06-26 06:51:55 +02:00
Alex Belkin 2f02a7e6b8 One more Samsung (C460) USB id. 2013-06-25 17:51:39 +04:00
Alex Belkin 547e8ba068 Added multiple Samsung USB IDs as reported by Mikhail Elhimov. 2013-06-22 00:32:16 +04:00
Stéphane Voltz b98f24990f add cap to SENSOR and BUTTON group 2013-06-18 21:08:00 +02:00
Rolf Bensch ec0344af85 fix test mode 2013-06-15 22:27:07 +02:00
Rolf Bensch 51028a2c0e disable TPU negatives scan
negatives scan has no benefit
disabling avoids confusion
2013-06-10 21:32:31 +02:00
Rolf Bensch acb4c5b2b5 new scanner Canon CanoScan 9000F Mark II 2013-06-10 21:23:19 +02:00
Stéphane Voltz 9a8b640d8d bug 314293 fix
- don't use non-existent end of records
2013-06-03 06:33:08 +02:00
Stéphane Voltz 40b5d75aa3 fix bug #314261 2013-05-27 10:41:32 +02:00
Jonathan Bravo Lopez 09666ae089 * backend/hp3900_rts8822.c: fix compilation warnings. 2013-05-11 01:36:03 +02:00
Rolf Bensch 50df7af5cc update copyright 2013-04-26 22:52:44 +02:00
Rolf Bensch 3ca8dbc460 new scanners Canon Pixma E510 and E610
all scanners need further testing
2013-04-24 11:25:53 +02:00
Rolf Bensch 75c32c0de8 new scanner Canon Pixma MX720
this scanner needs further testing
2013-04-24 10:02:15 +02:00
Rolf Bensch 5f1da65108 new scanner Canon i-SENSYS MF3010 2013-04-19 23:12:52 +02:00
Rolf Bensch db8a565bc1 new scanners Canon Pixma MG2200, MG3200, MG5400, MX390, MX450, MX520 and MX920
all scanners need further testing
2013-04-11 22:05:09 +02:00
m. allan noah 9fc683d883 fujitsu backend v116
add swskip option
add sanei_magic_isBlank2
2013-04-03 21:54:48 -04:00
m. allan noah 120e303732 fujitsu: call set_mode() in init_interlace 2013-04-03 21:54:48 -04:00
Stéphane Voltz e6f23f201d fix hotplug detection of devices for lexmark backend
- create a probe_lexmar_devices() and call it from sane_init
- call probe_lexmar_devices() from sane_get_devices to update device list
- use sanei_usb_exit() and sanei_usb_find_devices()
2013-04-02 21:05:02 +02:00
Stéphane Voltz a056cb238e handle scanner unplugging detection 2013-03-29 22:02:50 +01:00
Stéphane Voltz e0e19b413e handle scanner hot-plug in sane_get_devices
- rescan usb bus
- rescan for new devices
2013-03-29 21:54:46 +01:00
Stéphane Voltz 2190d18a63 move device detection in a dedicated function
- create a probe_gt68xx_devices() function that ssearch and attach
  matching scanners
2013-03-29 21:54:32 +01:00
Stéphane Voltz c025a47671 fix compile warning 2013-03-29 21:53:16 +01:00
Stéphane Voltz 6a8469dd13 use sanei_usb_exit() 2013-03-29 21:53:05 +01:00
Stéphane Voltz 010f34710e option correctness fixes
- fix wrong cap due to wrong addressing
- ensure correctness of group options
2013-03-27 06:31:49 +01:00
Stéphane Voltz 1656585499 warning fixes
- unused parameters
- wrong printf fromat
- assigned to self
2013-03-27 06:28:11 +01:00
Rolf Bensch 7fd2286414 fix button support 2013-03-25 10:30:59 +01:00
Stéphane Voltz 7070fac113 convert genesys backend to use new sanei_usb functions
- call sanei_usb_scan_devices() in sane_get_devices to rescan bus to refresh
  USB scanner list
- call sanei_usb_exit() in sane_exit to free allocated resources
2013-03-24 14:20:06 +01:00
Rolf Bensch 1ef0342aa1 new scanner Canon Pixma MP230 2013-03-21 19:10:03 +01:00
Stéphane Voltz 5e93524960 bug 314038 use after free
- apply patch from Nickolai Zeldovich (nickolai-guest) to
  fix use after free errors
2013-03-18 11:56:33 +01:00
Stéphane Voltz ac768dbd72 bug 314037 use after free
- apply patch from Nickolai Zeldovich (nickolai-guest) to
  fix a use after free error
2013-03-18 11:55:18 +01:00
Stéphane Voltz 10bd9ed2e5 bug 314036 use after free
- apply patch from Nickolai Zeldovich (nickolai-guest) to
  fix a use after free error
2013-03-18 11:55:08 +01:00
Stéphane Voltz b5369068ac bug 314035 use after free
- apply bug fix from Nickolai Zeldovich (nickolai-guest) for use after
  free
2013-03-18 11:30:16 +01:00
Stéphane Voltz 49a7048db0 bug 314042 sane-hp4200.patch
- apply patch from Nickolai Zeldovich (nickolai-guest) to fix a
  potential division by 0
2013-03-18 11:27:15 +01:00
Rolf Bensch 8c075ae0a0 fix image post processing for 1200dpi and 2400dpi 2013-03-15 22:44:22 +01:00
Rolf Bensch d8242a49a5 new scanner Canon Pixma MG6300 2013-03-15 22:39:54 +01:00
m. allan noah cb943124b8 Fujitsu backend v115
- separate s->mode into s_mode and u_mode
- separate s->params into s_params and u_params
- generate grayscale and binary in software if required (iX500)
2013-03-11 21:11:38 -04:00
Oliver Schwartz cfecc1fbf6 Added support for Acer/Benq Scanwit 2720S film scanner by Andrew Goodbody in snapscan backend. 2013-03-04 23:40:44 +01:00
m. allan noah 3c2bbdc7c3 Fujitsu backend v114
- support resolutions > 300 for iX500 using diag_preread()
- remove most communication with scanner during sane_control_option()
2013-03-01 21:57:54 -05:00
Stéphane Voltz 54742a1831 cppcheck errors and warnings fixes 2013-02-27 21:26:29 +01:00
Stéphane Voltz 6b78c69876 cppcheck errors and warings fixes 2013-02-27 21:26:28 +01:00
m. allan noah 36523e547d fujitsu backend v113
- support for ScanSnap iX500
- fix bug with jpeg de-interlacing code
- allow has_MS_* and has_pixelsize to be set in init_model
- fix use of uninitialized buffer in send_lut
- add send_q_table()
- allow wait_scanner() to be bypassed in object_position
- moved send_lut() to after set_window
2013-02-23 14:57:00 -05:00
m. allan noah 96628ed13f fujitsu backend v112
some scanners (fi-6x70 and later) don't enable IPC by default
fix minor compiler warning
2013-02-22 21:06:12 -05:00
Rolf Bensch 0349a3ddda push backend version to 0.17.2 2013-02-18 18:48:13 +01:00
Rolf Bensch 11ad6252fb scan IR channel with CS9000F 2013-02-18 18:07:50 +01:00
Rolf Bensch df33c7223f ease crop scan resolution to allowed values
add crop scan resolution for PIXMA_SCAN_MODE_TPUIR
2013-02-18 17:54:57 +01:00
Rolf Bensch f254809c0b new capability PIXMA_CAP_TPUIR
new scan mode PIXMA_SCAN_MODE_TPUIR
2013-02-18 17:37:30 +01:00
Rolf Bensch bb3806313d new device parameters tpuir_min_dpi and tpuir_max_dpi
only for Canoscan devices
2013-02-18 17:17:55 +01:00
Rolf Bensch 18c2ceb66f ease create_mode_list() and create_dpi_list()
- read the settings direct from (pixma_sane_t *ss)
2013-02-18 16:20:57 +01:00
Rolf Bensch 53c87a381e rename ext* to adftpu* 2013-02-18 16:03:18 +01:00
Stéphane Voltz 93e0d5f9b1 correct freeing of data 2013-02-13 21:53:17 +01:00
Stéphane Voltz 46c398e33f add declaration for unit tests
remove USB mode set
2013-02-13 21:53:17 +01:00
Stéphane Voltz b0edb1cd99 putative fix for SUB data transfer problem 2013-02-13 21:53:17 +01:00
Stéphane Voltz c62d5879a7 cppcheck fixes
- cppcheck fixes
- new macro to hanlde free on error path
- better error message in RIEx macros
2013-02-13 21:53:17 +01:00
Stéphane Voltz 1fb646582b cppcheck fixes 2013-02-13 21:53:17 +01:00
Gerhard Jaeger ac564e89f6 Fixed kernel module build for recent kernels
Defined internal "ULong" types to be in fact 32 bit wide,
this should fix issues on 64 bit machines.
2013-02-13 14:29:52 +01:00
Gerhard Jaeger 59d9a2d912 Bumped build number
Minor cleanup
2013-02-13 14:29:00 +01:00
Gerhard Jaeger 9a11fe5668 Applied typo and whitespace fixes spotted by Paul Menzel. 2013-02-13 13:58:22 +01:00
Gerhard Jaeger 53b15962e1 Bumped build number. 2013-02-13 10:33:29 +01:00
Gerhard Jaeger 00167c20c5 Added support for Q-Scan A6 - see bug report #312073 2013-02-13 10:32:28 +01:00
Gerhard Jaeger b91010f240 Cleanup, fix compilation warning conditions. 2013-02-13 10:31:22 +01:00
Rolf Bensch 0e8364f874 allow 0x10 as ADF paper OK 2013-02-11 19:58:43 +01:00
Rolf Bensch d2cfbda4c0 handle multiple pages scan session from adf
- start first page: step1(), start_session() and select_source()
- between pages: step1()
- after last page: abort_session()
2013-02-11 19:57:20 +01:00
Rolf Bensch 22a7163633 "activate" only for geneation 1 scanners 2013-02-11 19:50:10 +01:00
Rolf Bensch bfa5f45e94 new parameter mf->generation
- new multifunctionals are (generation == 2)
2013-02-11 19:25:44 +01:00
Rolf Bensch 8fb3a366cd fixed cppcheck warnings 2013-02-09 16:56:40 +01:00
Rolf Bensch 98700ee66a fixed compiler warnings 2013-02-09 12:43:38 +01:00
Rolf Bensch 883d191452 fixed button support for Canon Pixma MG6200 2013-02-06 22:16:58 +01:00
Stéphane Voltz ccc83e12da set usb transfer mode 2013-02-01 06:32:28 +01:00
Stéphane Voltz 41a2089c09 use common usb firmware command function 2013-02-01 06:32:28 +01:00
m. allan noah bc1a14518b Updates for recent genesys changes 2013-01-31 09:41:16 -05:00
Stéphane Voltz a5a6543cd0 support for 5th LiDE 210 button 2013-01-31 06:12:09 +01:00
Stéphane Voltz e1a74a94be warnings clean up 2013-01-29 06:43:15 +01:00
Stéphane Voltz 0897a60c60 genesys backend update
- groundwork for gl846 support
- asic init rework
- several refactors
2013-01-28 22:04:37 +01:00
Rolf Bensch d87619e71f fixed usb checksums for MF4100 2013-01-24 12:07:34 +01:00
Rolf Bensch 99b79f56c3 fix for post_process_image_data 2013-01-21 09:57:10 +01:00
Paul Newall c172bfa99b kodakaio Hero 4.1 added 2013-01-19 21:41:40 +00:00
Rolf Bensch afc84646c7 fixed button support 2013-01-18 12:11:31 +01:00
Nils Philippsen defdc1ab5c umax: initialize reader_pid early in sane_start()
This avoids that subsequent errors followed by do_cancel() attempt to
phtread_cancel() an invalid thread (which may cause a crash).
2013-01-16 12:06:09 +01:00
Rolf Bensch da2937dbb5 new scanner Canon i-SENSYS MF6680dn 2013-01-14 15:44:46 +01:00
Rolf Bensch 320b2c5582 new scanner Canon i-SENSYS MF5880dn 2013-01-14 15:25:45 +01:00
Rolf Bensch 580b55cb19 new scanner Canon i-SENSYS MF4550d 2013-01-14 14:21:58 +01:00
Rolf Bensch b4bb0062c5 fix for broken post_process_image_data() 2013-01-11 16:37:00 +01:00
Louis Lagendijk bf0758bc8b Changed the pixma bjnp implementation to use its own debug environment
variable (SANE_DEBUG_BJNP) so debugging for the bjnp protocol and the
backend proper can be controlled independently.
Updated manpage for sane-pixma to document the above changes as well
as the changed scannner buttjn options and the fact the bjnp protocol
has added support for IPv6
2013-01-10 21:10:41 +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
Rolf Bensch d7d4437550 formatted white space 2013-01-10 16:48:01 +01:00
Rolf Bensch 9dd8f8ea74 fix for broken tpu scan 2013-01-08 10:44:25 +01:00
Paul Newall 1be4eb8264 kodakaio - detecting end of paper or padding when using adf is now an option 2013-01-03 21:23:20 +00:00
Paul Newall 6c43f2df2a kodakaio adf now detects end of paper 2012-12-31 20:13:32 +00:00
Rolf Bensch 4dd4f4f98e new scanner Canon Pixma MG4200 2012-12-31 20:04:19 +01:00
Alex Belkin 51a235bcfd Usb Id for Samsung CLX-3300 Series, reported by Jarkko A-L. 2012-12-28 10:23:07 +04:00
Paul Newall a8faa35b7b kodakaio fix bug to allow adf to scan more than 1 sheet with net connection 2012-12-23 21:23:43 +00:00
Louis Lagendijk f57a193198 Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends 2012-12-18 16:24:41 +01:00
Louis Lagendijk 8c7931cf89 Fixed issue where UDP ports were not closed in pixma_bjnp.c 2012-12-18 16:23:27 +01:00
Nils Philippsen a1273d1c65 coolscan3: average multiple samples
(ported from coolscan2, commit 4126b6796d)
2012-12-17 21:35:16 +01:00
Nils Philippsen 2bc59796ca coolscan3: set multi-sampling on scanner
(ported from coolscan2, commit 2385657904)
2012-12-17 21:35:12 +01:00
Nils Philippsen 6589dbd5c0 coolscan3: only offer samples-per-scan for devices supporting it
(ported from coolscan2, commit ed9ac6f15d)
2012-12-17 21:35:08 +01:00
Nils Philippsen 82139b0823 coolscan3: add samples-per-scan option
(ported from coolscan2, commit 121afa695b)
2012-12-17 21:30:13 +01:00
Nils Philippsen 4126b6796d coolscan2: average multiple samples 2012-12-13 13:13:36 +01:00
Nils Philippsen 2385657904 coolscan2: set multi-sampling on scanner 2012-12-13 13:13:36 +01:00
Nils Philippsen ed9ac6f15d coolscan2: only offer samples-per-scan for devices supporting it 2012-12-13 13:13:36 +01:00
Nils Philippsen 121afa695b coolscan2: add samples-per-scan option 2012-12-13 13:13:36 +01:00
Paul Newall fc4f54bd55 ESP2170 gets adf and adf y now 11.3 2012-12-09 23:29:07 +00:00
Stéphane Voltz bd44b058a0 gamma handling refactor
- use arrays instead of gamma tables
- send_gamma_table does only send gamma table and doesn't
  create ramp if no custom gamma
- create a default gamma table with gamma value from device
  description
2012-12-09 15:45:59 +01:00
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