Wykres commitów

3662 Commity (cb3090cb5472b63d5cdfb5110652f568bd9477ad)

Autor SHA1 Wiadomość Data
Rolf Bensch eba9c9e239 pixma_imageclass: software lineart for all imageCLASS, imageRUNNER, i-SENSYS and laserBase scanners,
supported by this sub-backend

imageCLASS scanners:
D420, D480, D530, MF810/820, MF3240, MF4010, MF4150, MF4270, MF4320, MF4360,
MF4410, MF4570dw, MF4690, MF5630, MF6500, MF8030, MF8170c

i-SENSYS scanners:
MF210, MF220, MF3010, MF4500, MF4700, MF4800, MF5880dn, MF5900, MF6100,
MF6680dn, MF8200C, MF8300, MF8500C

imageRUNNER scanners:
iR1133

laserBase scanners:
MF5650
2016-03-04 13:36:08 +01:00
Rolf Bensch 38d6f1ba6d pixma_imageclass: MF6100 Series document feeder does not have 600DPI capability 2016-03-04 13:08:31 +01:00
Stéphane Voltz 328e9b93d7 raise build number 2016-03-03 22:06:03 +01:00
Stéphane Voltz 8ad2c60d82 use half step mode for LiDE 110 600 dpi scan 2016-03-03 22:06:03 +01:00
Stéphane Voltz 52ea420d44 use half step for LiDE 210 600 dpi scans 2016-03-03 22:06:03 +01:00
Stéphane Voltz bd0b0cd218 use rewind instead of slow_back_home
- if required by flags, do a rewind instead a slow_back_home that pollutes
  shading settings
2016-03-03 22:06:03 +01:00
Stéphane Voltz 3dee0f8d48 implement rewind for gl847 and gl124 2016-03-03 22:06:03 +01:00
Stéphane Voltz de635a32f9 add rewind function to command set 2016-03-03 22:06:03 +01:00
Stéphane Voltz 270d6a4242 fix Lide 110 gray mode max speed 2016-03-03 22:06:03 +01:00
Rolf Bensch 2f891c13bb pixma: backend version 0.17.27 2016-03-03 13:40:46 +01:00
Rolf Bensch bbd327f5e7 pixma_imageclass: reduce timeout for failed first usb command to 2 seconds 2016-03-03 13:38:33 +01:00
Rolf Bensch c41640f364 pixma: new global parameter to set duration of receive timeout loop
The default value for receive timeout loop duration has not been changed.
The loop still takes 8 seconds if a timeout occurs.
2016-03-03 13:36:44 +01:00
Stéphane Voltz 9897357727 enable pixel averaging whne bleow 600 for all models 2016-02-28 21:26:27 +01:00
Stéphane Voltz d784dec60b motor table fixes
- add target speed for 600 dpi gray
- add slope table for 4800/2400 dpi, gray and color
2016-02-28 12:26:12 +01:00
Stéphane Voltz 759729331c fix maximum speed compute in gray mode 2016-02-28 12:18:56 +01:00
Stéphane Voltz e1b1ba8aee fix expiration time option reading 2016-02-26 05:57:35 +01:00
Stéphane Voltz 61d6f5c214 mode set fixes 2016-02-25 21:37:55 +01:00
Stéphane Voltz fa2c9dc9b2 fix GPIO during scan 2016-02-25 21:37:00 +01:00
Stéphane Voltz c5117ed0f1 doc and version update 2016-02-24 21:43:29 +01:00
Stéphane Voltz 747275a00f add 1200 and 2400 dpi mode for LiDE 120 2016-02-24 21:16:40 +01:00
Stéphane Voltz 2a18600792 make 1200 dpi scan mode work for LiDE 120 2016-02-24 21:16:40 +01:00
Stéphane Voltz b11a69d275 make 600 dpi mode work for LiDE 120
- add override for registers 0x16 and 0x70 since 120's sensor
  is set differently according to resolution
2016-02-24 21:16:40 +01:00
m. allan noah 15e203de89 Various copyright comment updates 2016-02-23 21:11:00 -05:00
m. allan noah 1465543cc0 fujitsu backend v130
run init_model before init_ms so some scanners can override
set all M309x and M409x scanners s->broken_diag_serial = 1
2016-02-23 21:07:06 -05:00
m. allan noah 963de58dfc Enable padded read for DR-3080CII 2016-02-23 20:42:52 -05:00
Stéphane Voltz 219198838b LiDE 120 working [75-300] dpi
- fix sensor pixel number
- enable calibration
- default to 16 pixel DUMMY
2016-02-23 21:39:22 +01:00
Stéphane Voltz 4fd1d10228 tune scanarea geometry 2016-02-22 21:45:02 +01:00
Stéphane Voltz a74ebe551d first almost correct scan at 300 dpi 2016-02-21 22:16:44 +01:00
Stéphane Voltz 8f938f2d00 GL124 DAC and SENSOR setup changes 2016-02-21 22:16:44 +01:00
Stéphane Voltz f56ffa63b9 doxygne fix 2016-02-21 22:16:44 +01:00
Stéphane Voltz 2e1102dc3a add dedicated reference slope tables for LiDE 120 2016-02-21 22:16:44 +01:00
Stéphane Voltz 214dfad1d5 use dedicated LiDE120 GPIO 2016-02-21 22:16:44 +01:00
Stéphane Voltz 387cea7d6c define dedicated motor/sensor/gpio for LiDE 120 2016-02-21 22:16:44 +01:00
Stéphane Voltz e90f8cb8a1 latin1 -> utf8 2016-02-21 22:16:44 +01:00
Rolf Bensch 6d89f7ef25 pixma: backend version 0.17.26 2016-02-17 21:06:04 +01:00
Rolf Bensch 7a227dcaf2 pixma_imageclass: wait for 8sec to throw last page out of ADF feeder @ ADFDUP 2016-02-17 21:03:18 +01:00
Rolf Bensch 23efb9f55f pixma_imageclass: PIXMA_ENO_PAPER check also for ADFDUP scans 2016-02-17 21:01:48 +01:00
Rolf Bensch 29ceb0e377 pixma_imageclass: fix for failed first usb command (timeout)
Sometimes the first usb command to the scanner fails after a previous scan.
A workaround was to reconnect the usb cable. This fix simply resends the
failed command.
2016-02-17 20:59:32 +01:00
Rolf Bensch 8f1202d653 pixma_imageclass: fixes for MF6100 Series
- special ADF settings
- the MF6100 Series is a Generation 2+ scanner, but uses the old read image command
2016-02-17 20:55:49 +01:00
Rolf Bensch 02855737ee pixma: use usb timeout instead of sleep timer while waiting for usb response 2016-02-17 20:32:00 +01:00
Rolf Bensch 4771fab9c1 pixma: reduce global usb read and write timeouts to 1 sec 2016-02-17 20:30:47 +01:00
Stéphane Voltz 7bd773ade5 LiDE 120 support wip 2016-02-09 09:56:29 +01:00
Alessandro Zummo 056f590f2d epsonds: fixed comment 2016-01-23 00:55:31 +01:00
Alessandro Zummo cf2dfea000 epsonds: extend the bug fix to all depths 2016-01-22 20:44:36 +01:00
Alessandro Zummo 8fd6151acd epsonds: fix stripes on DS-60000 at 1bpp/300dpi 2016-01-22 17:38:00 +01:00
Alessandro Zummo 4fa7f4f6f8 epsonds: clear endpoints on startup in order to fix some strange scanner / xhci combo 2016-01-22 17:01:57 +01:00
Rolf Bensch f78e85cad6 pixma: backend version 0.17.25 2016-01-08 18:35:20 +01:00
Rolf Bensch 0f47b47b75 pixma_mp[150|810]: disable send_time()
The function send_time() makes trouble with a lot of scanners.
We send a warning to the debug output instead of sending the time.

fix for [#315248] Canon MP250 with pixma backend is not working
2016-01-08 17:32:36 +01:00
Rolf Bensch b040b150a0 pixma: fix for [#315244] Add support for Canon PIXMA MG5700, MG6800, MG6900 and MG7700
These scanners are new and need further testing!
2016-01-08 16:54:30 +01:00
Rolf Bensch 81c429082c pixma: update copyright 2016-01-08 16:43:46 +01:00
Olaf Meeuwissen 0de5416a9b umax_pp: fix memory leak
Found courtesy of [-Wunused-but-set-variable] compiler warning.
2016-01-02 16:06:34 +09:00
Olaf Meeuwissen 9d78ace3b7 umax_pp: fix [-Wunused-but-set-variable] compiler warnings 2016-01-02 16:06:00 +09:00
Olaf Meeuwissen 3f0c3df2fc kvs40xx: fix [-Wstrict-aliasing] compiler warnings 2015-12-31 17:52:39 +09:00
Olaf Meeuwissen b1f886a2e3 kvs20xx: fix [-Wstrict-aliasing] compiler warnings 2015-12-31 17:52:39 +09:00
Olaf Meeuwissen 0e3a5c4197 kodakaio: fix [-Wformat=] compiler warnings
This uses the ANSI C approach that is used in a lot of existing code
rather than what ISO C99 allows for consistency.
2015-12-31 17:43:25 +09:00
Olaf Meeuwissen 572e61d39a p5: fix [-Wunused-but-set-variable] compiler warnings 2015-12-27 18:41:55 +09:00
Olaf Meeuwissen f9e4496380 xerox_mfp: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:55 +09:00
Olaf Meeuwissen f276e3e055 umax1220: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:55 +09:00
Olaf Meeuwissen e28bdadae9 u12: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen 70c9e1d13c sm3840: fix [-Wunused-but-set-variable] compiler warnings 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen 9d4f2a7209 sm3600: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen 82720a2023 sharp: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen da010d6088 niash: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen 86c5d6d7bd nec: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen 220429ff9e mustek_usb2: fix [-Wunused-but-set-variable] compiler warnings 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen 7efb056272 mustek_pp: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen 664398cc31 mustek: fix [-Wunused-but-sed-variable] compiler warnings 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen 8b75c6d450 microtek2: fix another [-Wunused-but-set-variable] compiler warning
This allows for the fact that the backend may be compiled with and
without support for authorization.
2015-12-27 18:41:54 +09:00
Olaf Meeuwissen c145877095 microtek2: fix [-Wunused-but-set-variable] compiler warnings 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen 26aa8b52f6 magicolor: fix [-Wunused-function] compiler warning
This function is only used when SNMP support is activated.
2015-12-27 18:41:44 +09:00
Olaf Meeuwissen 292dd42bb6 magicolor: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:50 +09:00
Olaf Meeuwissen d0e85e9d5e ma1509: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:50 +09:00
Olaf Meeuwissen 7c0f5ec66c lexmark: fix [-Wmaybe-uninitialized] compiler warning
This adds a default handler to switch statement so low_get_start_loc()
bails before the start_600 variable is used.
2015-12-27 18:38:50 +09:00
Olaf Meeuwissen 068c3bb75d kodakaio: fix [-Wunused-function] compiler warning
The function is only used when Avahi support is enabled and has been
put in a suitable compilation scope.
2015-12-27 18:38:50 +09:00
Olaf Meeuwissen 610dc9ceb4 kodak: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:50 +09:00
Olaf Meeuwissen 2724f85552 hpsj5s: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:50 +09:00
Olaf Meeuwissen aabb63dbbf hp4200: fix [-Wunused-but-set-variable] compiler warnings 2015-12-27 18:38:50 +09:00
Olaf Meeuwissen a82798d5e1 hp3500: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:50 +09:00
Olaf Meeuwissen 51277aec4a hp: fix [-Wunused-but-set-variable] compiler warnings 2015-12-27 18:38:41 +09:00
Olaf Meeuwissen a97b1738df gphoto2: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:41 +09:00
Olaf Meeuwissen cbeb98daec epson: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:41 +09:00
Olaf Meeuwissen cbc72a0171 dmc: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:41 +09:00
Olaf Meeuwissen fb4147c4f1 dc240: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:41 +09:00
Olaf Meeuwissen bcfa3f6591 dc210: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:41 +09:00
Olaf Meeuwissen c31cf62106 dc25: fix [-Wunused-but-set-variable] compiler warnings 2015-12-27 18:38:41 +09:00
Olaf Meeuwissen 43b296471b coolscan: fix [-Wunused-but-set-variable] compiler warnings 2015-12-27 18:38:41 +09:00
Olaf Meeuwissen 50ca4bc976 cardscan: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:40 +09:00
Olaf Meeuwissen c2b7b1af74 canon636u: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:40 +09:00
Olaf Meeuwissen e881843745 canon: fix [-Wunused-but-set-variable] compiler warnings 2015-12-27 18:38:40 +09:00
Olaf Meeuwissen 592430016c avision: fix [-Wunused-but-set-variable] compiler warning
The variable seems to have been superseded by conv_out_size in the
else branch of set_calib_data().
2015-12-27 18:38:40 +09:00
Olaf Meeuwissen 5b8fdd317f artec_eplus48u: fix [-Wunused-but-set-variable] compiler warning
This leaves the sane_close() implementation just as broken as it has
been from the initial commit sometime in 2002.
2015-12-27 18:38:17 +09:00
Olaf Meeuwissen ec1936713e artec_eplus48u: fix [-Wunused-but-set-variable] compiler warning
The variable was only used to silence a [-Wunused-parameter] warning.
2015-12-27 18:38:17 +09:00
Olaf Meeuwissen 5b21a24312 artec: fix [-Wunused-but-set-variable] compiler warning
The variable is used to assign return values but is not referenced by
anything itself.
2015-12-27 18:38:17 +09:00
Olaf Meeuwissen 674b75fc91 Improve readability of condition
This also fixes the following GCC warning:

  warning: logical not is only applied to the left hand side of comparison
2015-12-20 17:33:55 +09:00
Volker Diels-Grabsch baec5e0395 Use consistently __func__ instead of __FUNCTION__
Some parts of SANE used __FUNCTION__ while other parts used __func__.
Now, __func__ is used consistently throughout the SANE sources.  This
fixes all occurrences of the following GCC warning:

warning: ISO C does not support '__FUNCTION__' predefined identifier
2015-12-20 15:27:45 +09:00
Volker Diels-Grabsch 93298674d0 Merge all compatibility macros around __func__ and __FUNCTION__
Various parts of SANE introduced their own compatibility macros for
old compilers that don't support __func__.  Most of these definitions
are identical or have minor differences.  This patch replaces them
with a single instance in the central header file for backends.
2015-12-20 15:27:45 +09:00
Volker Diels-Grabsch 7c8c8e29be Remove dead code due to unused variables
This fixes some occurrences of the following GCC warning:

warning: variable '...' set but not used
2015-12-20 15:21:45 +09:00
Volker Diels-Grabsch 13b6faee2a Fix interface of helper function write_many
This fixes two occurrences of the following GCC warning:

warning: cast discards 'const' qualifier from pointer target type
2015-12-20 14:43:57 +09:00
Volker Diels-Grabsch 6aced758f4 Fix typos in comments
While reading through the SANE sources I noticed some annoying typos
in the comments.  This patch is my contribution to make the SANE
sources slightly more pleasant to read.
2015-12-20 14:43:56 +09:00
Alessandro Zummo 6d8b8d5aa6 epsonds: fix duplex w/ double feed detection 2015-12-15 16:17:53 +01:00