[sane-devel] hp4570c driver from modified hp5590 backend almost working

Markham thomas markham.thomas at gmail.com
Tue Apr 29 00:19:59 UTC 2008

   I'm modifying the hp5590 backend to support the HP scanjet 4570c.  I
think i've finally figured out how to debug using gdb so I'm making progress
now.  I still need to figure out why the DPI is reported incorrectly, but im
making progress.

extracted output showing It's communicating:
hp5590] init_resp->id: SILITEKIElwood
[hp5590] init_resp->dpi_x: 24585
[hp5590] init_resp->dpi_y: 24585
[hp5590] HP4570 flags (0x08)
[hp5590] HP4570 flags: ADF no, TMA no, LCD yes
[hp5590] HP4570 firmware version: e.026
[hp5590] HP4570 max resolution X: 2400 DPI
[hp5590] HP4570 max resolution Y: 2400 DPI
[hp5590] HP4570 max pixels X: 20400
[hp5590] HP4570 max pixels Y: 28128
[hp5590] HP4570 max size X: 8.500 inches
[hp5590] HP4570 max size Y: 11.720 inches
[hp5590] HP4570 normal motor param: 100, max motor param: 1000
[hp5590] hp5590_get_status
[hp5590] hp5590_init_scanner: scanner status OK

its not actually scanning yet, but close
SANE_DEBUG_HP5590=255 scanimage -L
........ stripped .......
hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification 001b, last
command: 001b, core status: 0000
[hp5590] hp5590_verify_last_cmd: USB-in-USB: command verified successfully
[hp5590] sane_hp5590_get_devices, local only: 0
[hp5590] Found 1 devices
device `v4l:/dev/video0' is a Noname UVC Camera (046d:08c5) virtual device
device `hp5590:libusb:001:005' is a HP 4570 Workgroup scanner
[hp5590] sane_hp5590_exit

Now to figure out how to actually get something to happen on the scanner..
-- Markham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080428/ec082440/attachment.htm 

More information about the sane-devel mailing list