[sane-devel] [ANNOUNCE] New SANE backend 'hp5590' for HP ScanJet 5550/5590/7650

Ilia Sotnikov hostcc at gmail.com
Wed Apr 11 11:17:38 UTC 2007


I'm glad to announce new SANE backend 'hp5590' for HP ScanJet
5550/5590/7650 scanners. It's in ALHPA stage however its functionality
is near to complete (I hope):
- Support for all scan sources (flatbed, ADF, TMA). ADF duplex is also
supported, as well as TMA slides and negatives
- Support for basic scan resilutions - 100/200/300/600/1200/2400 DPI
- Support for basic scan modes (lineart, grayscale, color)
- Support for querying buttons state

All of the above mentioned scanners are using the same command set,
which is rather high-level (no low level motor control, scan head and
CCD control). The hardware and firmware for them seems to be developed
by Silitek according to the internal product names ('SILITEKIPenguin'
for 5550/5590, 'SILITEKIArnold' - for 7650). URBs incapsulated in URBs
(USB-in-USB) are used as transport protocol by unknown reasons.

What it lacks/needs to be done:
- Command set needes to be documented
- Code needs to be commented and perhaps cleaned a bit
- Color depth 48 bit is not working (format of the data coming from
scanner needs to be determined)
- Hardware gamma correction is not implemented (commands are known,
but format of the gamma tables not known)

Attached is the patch against SANE backends CVS from today (11 Apr
2007). Its diffstat follows:
 backend/Makefile.in               |    6
 backend/hp5590.c                  | 1322 +++++++++++++++++++++++
 backend/hp5590_cmds.c             | 2158 ++++++++++++++++++++++++++++++++++++++
 backend/hp5590_cmds.h             |  169 ++
 backend/hp5590_low.c              |  947 ++++++++++++++++
 backend/hp5590_low.h              |   78 +
 configure.in                      |    2
 doc/descriptions/hp5590.desc      |   37
 doc/descriptions/unsupported.desc |   20
 doc/sane-hp5590.man               |   68 +
 tools/check-usb-chip.c            |  255 ++++
 11 files changed, 5040 insertions(+), 22 deletions(-)

Disclaimer:
No dissassembly was done on HP drivers, all results were achieved
looking into USB stream.
-- 
 Ilia Sotnikov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sane-backends-hp5590-cvs070411.diff.gz
Type: application/x-gzip
Size: 30032 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070411/9027b8b4/sane-backends-hp5590-cvs070411.diff-0001.bin


More information about the sane-devel mailing list