Wykres commitów

3348 Commity (39545b1b90dd9c9e12c20f02cf4ead3afac20de9)

Autor SHA1 Wiadomość Data
René Rebe d5c7e22328 fixed multiple Avision regressions: most scanner basically did not
work at all anymore, ... range initilaizer, clobbering paper-length
window bits, ...) introduced over the past years, added support for
newer ASIC gamma table size, added AV220D2+ ID
2015-03-07 05:07:27 +00:00
m. allan noah 15deba5c57 epjitsu backend v27
- don't override br_x and br_y
- call change_params after changing page_width
2015-03-02 20:31:46 -05:00
Stéphane Voltz f5e4a4bf8e improve LiDE 210 head parking reliability 2015-03-02 21:08:31 +01:00
Stéphane Voltz 0f990e4a99 add reverse parameter to gl124_feed 2015-03-02 17:35:20 +01:00
Stéphane Voltz debf0101f7 improve park failure detection 2015-03-02 17:25:22 +01:00
Stéphane Voltz 1eb35fe4cb final tuning for LiDE 220 support 2015-03-01 21:43:08 +01:00
Stéphane Voltz 470594e18b initial support for LiDE 220 2015-02-26 22:26:00 +01:00
Rolf Bensch f78057e8db Pixma backend version 0.17.15 2015-02-21 11:20:41 +01:00
Rolf Bensch 7d7025838e new scanners Canon PIXMA MX490 Series and E480 Series 2015-02-21 11:18:40 +01:00
Rolf Bensch bf60fd1f61 MG6400 doesn't need special image format post processing 2015-02-21 10:34:52 +01:00
Ilia Sotnikov 9d9cefb7a7 * Invert pixels in case of TMA Negatives source has been selected.
Thanks for Will Kranz who reported this.
2015-01-20 12:33:49 +03:00
Paul Newall 6b1455a8cf kodakaio device connection and disconnection moved to sane_start and sane_cancel to fix bug when scanner disconnected after 30s idle 2014-12-31 10:26:07 +00:00
Paul Newall 06fae35262 kodakaio params.depth corrected for lineart, color mode made the default. 2014-12-19 22:52:48 +00:00
m. allan noah 67417622cb bump version number of fujitsu backend 2014-12-16 08:29:58 -05:00
m. allan noah fb8693bf09 fujitsu: remove command counting code
This code was a crude workaround for a problem with a
better solution at the USB library layer. Remove it.
2014-12-12 20:40:07 -05:00
m. allan noah a429b8a0ed fujitsu backend v124
- support resolution controlled max page-height (fi-6/7xxx scanners)
- reorder scanner sections in init_model chronologically
2014-12-09 20:52:06 -05:00
Rolf Bensch e1f7a7d452 Pixma backend version 0.17.14 2014-11-18 09:16:37 +01:00
Rolf Bensch 5e7dc373c8 MF8200C: ADF supports max. 300DPI
- use adftpu_max_dpi to set max. resolution for ADF
2014-11-18 09:14:46 +01:00
Rolf Bensch 98125c97d6 mf8[25]00 use generation 2 protocols 2014-11-18 09:04:18 +01:00
Rolf Bensch 1fa16a1aab also use has_paper() for generation 2 scanners 2014-11-18 09:03:13 +01:00
Rolf Bensch 681c8366b5 Remove firmware checking for HP5370c scanners 2014-11-15 14:40:49 +01:00
m. allan noah 7a590f362e fujitsu backend v123
workaround Linux USB3 bugs by adding command counting code and
sending an even number of reads and writes during disconnect_fd
2014-11-06 20:48:40 -05:00
Rolf Bensch ccdd519ece Pixma backend version 0.17.13 2014-10-29 09:16:06 +01:00
Rolf Bensch fdfde41ed1 new Canon scanners
MAXIFY MB5000, MB5300, MB2000, MB2300
  PIXMA MG7500, MG6600, MG5600, MG2900, E460
  *all scanners need further testing*
2014-10-29 09:14:50 +01:00
m. allan noah 41c31ac0e9 fujitsu backend v122
- add support for object_position halt
- call object_position halt in check_for_cancel when requested
2014-10-28 19:19:46 -04:00
Rolf Bensch 869e3f75a6 Pixma backend version 0.17.12 2014-10-27 17:17:07 +01:00
Rolf Bensch 027f9e4ed4 MG3500 doesn't need special image post processing 2014-10-27 16:04:22 +01:00
Rolf Bensch a93c243c26 calibration can finish with 0x01 or 0x02 2014-10-20 17:56:46 +02:00
Rolf Bensch b7e8e035a4 increase calibration timeout 2014-10-20 17:54:46 +02:00
Rolf Bensch a69a613a25 new scanner imageCLASS D530 2014-10-20 17:14:23 +02:00
Rolf Bensch 54358f27e1 Canon Pixma MG5500 Series is working 2014-09-18 21:54:28 +02:00
Rolf Bensch cb25926d05 Pixma backend version 0.17.11 2014-09-16 11:47:27 +02:00
Rolf Bensch ea54338db7 MX530 doesn't need image post processing 2014-09-16 11:18:12 +02:00
Paul Newall d2bbf502c7 kodakaio: Added lineart mode and threshold option. 2014-09-13 23:26:04 +01:00
Paul Newall 4a49f58700 Fixed colour compensation error in kodakaio 2014-09-07 13:38:58 +01:00
Louis Lagendijk b4856a8a31 pixma_bjnp.c: added explicit error message for the case where the
scanner closes the TCP-connection
2014-08-23 14:36:05 +02:00
Louis Lagendijk 3ce1cec6a3 pixma_bjnp.c: Open TCP-connection only from bjnp_activate. bjnp_open should not intiate
a connection. This solves issues where the scanner closes it's TCP-connection after a
period of no activity.
2014-08-23 14:25:56 +02:00
Rolf Bensch a3a2d2038d MX720 has button support 2014-08-16 21:56:46 +02:00
Rolf Bensch 1afd805389 MX720 doesn't need image post processing 2014-08-16 16:45:06 +02:00
Rolf Bensch 7908858a3a MX720 has duplex adf 2014-08-16 16:44:02 +02:00
Rolf Bensch 99eac9c6eb Pixma backend version 0.17.10 2014-08-16 12:25:55 +02:00
Rolf Bensch 3f6a17bcbd new scanners Canon i-SENSYS MF8200C Series and MF8500C Series 2014-08-16 12:15:36 +02:00
m. allan noah 1e04f18ed1 canon_dr backend v48
- set another unknown byte in buffermode for ssm2
- add another gettimeofday call at end of do_usb_cmd
- don't print 0 length line in hexdump
- mark DR-7080C as working
- default DR-G1100 and DR-G1130 to 8 meg buffers
2014-08-06 21:42:00 -04:00
m. allan noah 68bc35d36a fujitsu: don't print 0 length line in hexdump 2014-08-06 21:42:00 -04:00
Rolf Bensch a0e2df7254 new scanners Canon Pixma E400, E560, MX470 and MX530 2014-07-25 20:51:53 +02:00
m. allan noah 44bdd65b51 canon_dr backend v47
initial DR-G1130 support
add usb ids for many recent scanners
2014-07-14 20:02:05 -04:00
m. allan noah 683f6d71f4 epjitsu backend v26
- add resolution scaling
- fix 150 dpi settings for fi-60F and fi-65F
- make adf_height_padding variable
- make white_factor variable
2014-07-02 09:48:55 -04:00
Stéphane Voltz 42e3246117 fix gain calibration
- enable GMMENB during calibration scan in simple_scan, otherwise there
  is 'color clamping' with default asic table
2014-06-29 08:38:48 +02:00
m. allan noah a7aa92f54d epjitsu backend v25
- initial support for fi-65F
- initial support for S1100
2014-06-12 21:25:14 -04:00
Stéphane Voltz aed140364e move to init_scan_regs generic interface 2014-06-02 06:23:17 +02:00
Stéphane Voltz fab55c629d ensure target speed is reached
- in case the motor profile table doesn't contain target speed, add it
  to have accurate scanning resolution
2014-06-02 06:19:29 +02:00
Stéphane Voltz 675285ef8d do usb_reset each time for all ASICs 2014-06-02 06:19:29 +02:00
Stéphane Voltz e2dbc97b7f fix 600 to 4800 dpi gray scan geometry
- use correct slope table allowing gray scan speeds
2014-06-02 06:19:29 +02:00
Stéphane Voltz 289b747106 no special case for high speed moving 2014-06-02 06:19:29 +02:00
Stéphane Voltz e9a6a35a87 better slope target trace message 2014-06-02 06:19:28 +02:00
Stéphane Voltz 79f791589e define and update specific LiDE 110 table
- create working values for 1200/2400 gray dpi scans
2014-06-02 06:19:28 +02:00
Stéphane Voltz f73440f5a6 raise build number 2014-06-02 06:19:28 +02:00
Stéphane Voltz 23c8bc461b improve 600 dpi gray scans
- define LiDE 110 specific table for 600 dpi
- extend it to reach right dpi
2014-06-02 06:19:28 +02:00
Stéphane Voltz 3b0d8728f3 use generic slope table generation for gl124 2014-06-02 06:19:28 +02:00
Stéphane Voltz c2e1bd6b4d add init_scan_regs function to internal API
- define a common scan register setting function
- start to move gl124.C to generic motor slope handling
2014-06-02 06:19:28 +02:00
Stéphane Voltz 5f166f1016 improve UTA detection by updating hardware sensors
- call sensor hardware update earlier to detect XPA at open time
2014-06-02 06:19:28 +02:00
Stéphane Voltz 1ec94972b9 usb reset for gl646 on sane_exit
- improves reliability by resetting usb device on leaving
2014-06-02 06:19:28 +02:00
m. allan noah af80354325 epjitsu backend v24
enable fine calibration for S1300i 225 & 300 dpi, and S300 150 dpi
2014-06-01 08:31:21 -04:00
Paul Newall f67f37ec19 kodakaio.c comments on configure parameters have test backend added 2014-05-30 21:19:13 +01:00
m. allan noah bac4009627 epjitsu backend v23
- add S1300i support
- fix buffer overruns in read_from_scanner
- set default page width
- simplified the 225x200 resolution code
2014-05-27 21:42:17 -04:00
Rolf Bensch 8316417ed9 Pixma backend version 0.17.9 2014-05-26 19:04:23 +02:00
Rolf Bensch 8d192503f7 remove unused variable 2014-05-26 18:56:37 +02:00
Rolf Bensch c495f5a5af fix ADF paper empty @ start scanning 2014-05-26 18:38:54 +02:00
Rolf Bensch 94958e04e0 Pixma backend version 0.17.8 2014-05-16 15:40:52 +02:00
Rolf Bensch e8c9b727bd fix MG7100 image data post processing @ high resolutions > 600dpi 2014-05-16 15:36:30 +02:00
Mark Buda c591d2b7da Correction of some spelling/grammatical errors in source code 2014-05-15 22:04:37 -04:00
Peter Marschall bcd232fb41 epjitsu: add Fujitsu S1300i to epjitsu.conf.in 2014-05-15 22:04:36 -04:00
Peter Marschall 40f74dd208 epjitsu: document how to extract .nal files in Linux
In Fujitsu ScanSnap installation DVDs the .nal firmware files required
for the epjitsu backend to work are located in cabinet files.

The script snippet locates these cabinet files on the DVD and extracts all
.nal files it finds.
2014-05-15 22:04:36 -04:00
Peter Marschall 2d438531b1 epjitsu.c: add/fix a few comments 2014-05-15 22:04:36 -04:00
Hiroshi Miura a4cff1c9e2 epjitsu: implement get_gcd
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura bc459dea9d epjitsu: ScanSnap S1100 support
Add S1100 support

The ideas and cmd data are comes from:
http://ubuntuforums.org/showthread.php?t=1678335

TBD: test on S1100, I don't have a machine.
2014-05-15 22:04:36 -04:00
Hiroshi Miura ceeb9bb2d3 epjitsu: refactor coarsecal()
Now refactoring coarsecal() for S1100 support.
it is carefully changed not to break S300/1300/1500.

the chunk come from http://ubuntuforums.org/showthread.php?t=1678335
2014-05-15 22:04:36 -04:00
Hiroshi Miura e6abe74b5c epjitsu: introduce object_position()
Rename ingest() to object_position()
now it can do both ingest and eject.
This is required by S1100 support.

chunk come from
http://ubuntuforums.org/showthread.php?t=1678335
2014-05-15 22:04:36 -04:00
Hiroshi Miura 2f7c6382f4 epjitsu: x,y_resolution difference treatment
ScanScanp has a resolution 225x200 in each model.

The function which treat it should use a mathematic theory.
Euclidean algorithm should be used to get GCD (Greatest Common Devisor)
for this calcuration.

This patch make a separate function that should be get_GCD and
simplize a logic in copy image function.

TBD: this don't have Euclidean algorithm. Just prepare for it.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 25947781ec epjitsu: tl_y parameter support
The driver can cut top of image for padding.
We can also cut an ordered size at a top of image.
It make tl_y parameter works.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 529a7611d2 epjitsu: skip top padding
The driver need a padding at top of page.
Because scansnap don't treat empty image
at the top of image that is generated when
loading paper, the driver cut top of page
in 1/2 inch.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 5ab232d3a6 epjitsu: fix indent
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura f3d5455e9a epjitsu: optimize loop
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 9f1542afc6 epjitsu: page width support
ScanSnap itself don't have a feature to
detect and scan area in demanded width.
Otherwise driver need to cut into proper width.

this introduce page_width parameter and facility
to cut image into page width.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 8ef91bb06d epjitsu: unit convert macro
introducing macros converting between scanner unit
and inches each other.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Stéphane Voltz 0694698fd8 enable gamma only at scan time 2014-05-12 22:02:06 +02:00
Stéphane Voltz cced79e963 fix #314663
- bug was due to an off by one in gamma table copy
2014-05-12 21:39:16 +02:00
Stéphane Voltz b51673a252 debug cleanups
- cleanup some debug messages
- prepare for new internal scan API
2014-05-11 09:24:16 +02:00
Stéphane Voltz ee4cd1cdc4 halt endpoint properly before resetting 2014-05-10 08:50:45 +02:00
Rolf Bensch 3b0861b3bd Pixma backend version 0.17.7 2014-05-08 19:46:50 +02:00
Rolf Bensch b4d7533ae3 fix adf paper empty bug
- new parameter mp->adf_state:
  + detect start scan session
  + handle adf scan between pages
  + detect end scan session (adf paper empty)
- old code: s->param->adf_pageid hasn't been reset @ adf paper empty
2014-05-08 19:35:25 +02:00
Rolf Bensch f5d936c655 all ADF scanners support 14" legal paper size 2014-05-08 19:22:01 +02:00
m. allan noah 522f4f4d0f canon_dr backend v46
- split debug level 30 into two levels
- simplify jpeg ifdefs
- add support for DR-M160
2014-04-11 21:21:42 -04:00
m. allan noah 0eabc04805 Fix range and value of fujitsu offtimer option 2014-04-11 21:20:30 -04:00
m. allan noah 50236fab4e fujitsu backend v121
- add JFIF APP0 marker with resolution to jpeg images
- improve jpeg duplex parsing code
- simplify jpeg ifdefs
- add offtimer option for more recent scanners
2014-04-08 22:11:42 -04:00
m. allan noah 17a6615a11 canon_dr: split debug level 2014-04-08 22:11:42 -04:00
m. allan noah 763e08b4c9 fujitsu backend v120
- only call hopper_before_op code at batch start
- remove unused backup/restore_params
2014-03-29 21:18:35 -04:00
m. allan noah ffb7051725 canon_dr backend v45
- dropout support for machines with ssm2 command
- doublefeed support for machines with ssm2 command
2014-03-29 21:18:35 -04:00
m. allan noah e20f3b5473 canon_dr backend v44
- buffermode support for machines with ssm2 command
- DR-M140 needs always_op=0
2014-03-29 21:18:29 -04:00
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