[sane-devel] HP 5490cse

Bertrik Sikken bertrik@zonnet.nl
Wed, 04 Sep 2002 20:08:58 +0200

Hi Igor,

If you don't know how to code in C, you can still help by taking USB logs
from the windows driver using a program called USB snoopy.

Preferably start with very simple things, like monitoring the polls that 
the driver
does to see if a button was pressed, switching the scanner lamp on and 
off etc.
For my research on the HP3300c scanner, I used a patched version of
usbsnoopy that does not log all bulk data (but merely the amount of it),
which prevents flooding the log and possibly missing some data.
This patched version might help you too.

You could post the logs on a website, post a link in sane-devel and hope
someone with both a HP54xx scanner, C & Linux knowledge picks it up.

Bertrik Sikken

Igor Leandro Antunes wrote:

>Hi There!
>I recently joined the list to watch for this development in specific.
>Well, I'm a developer for .ASP (yeaght... =P) and I already worked with
>Delphi, but... unfortunately never with C++.
>So this is the picture: I have a hp5490c right on my desk. If I could do
>anything to help you guys with the development of this backend, please
>tell me.
>On Fri, 2002-08-30 at 10:46, Bertrik Sikken wrote:
>>Sunil William Savkar wrote:
>>>I currently have a 6300 HP which works fine with sane, but was thinking to
>>>upgrade to the 5490cse.  However, I do not see it as necessarily working
>>>with the HP backend.
>>>Anyone have any news on this?  I am just loathe to invest in a new scanner
>>>if I can't get it working with sane.  I really don't want to *ugh* swap
>>>back to a twain driver.
>>I analysed some USB snoopy logs of the HP5400/HP5470 and the data
>>transfer protocol doesn't look very complicated. I wrote a simple
>>tool that issue a command to the scanner to make it return its version
>>string. I don't have such a scanner myself and have not looked at
>>other commands that the scanner may accept, so a sane backend for
>>this scanner is still far away.