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