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
From c...@mail.ru  Wed Apr 11 19:26:37 2007
From: c...@mail.ru (=?windows-1251?Q?=CA=EE=ED=F1=F2=E0=ED=F2=E8=ED?=)
Date: Wed Apr 11 20:21:19 2007
Subject: [sane-devel] Benq 5160C
Message-ID: <461d366d.7060...@mail.ru>

Hello, all.

Does anybody know, is there small chance to get this scanner working 
with SANE? It was bought long ago, when I was Windows user, and now I 
have useless device on my board. It has ID 2331:04A5.


Scanner's entrails:

Ali M5626 - main controller,
ST L6219R - step motor driver,
Holtek HT82V36 - CIS analog signal processor.


---
Regards, Cache.

Reply via email to