[sane-devel] niash: HP 4300C with a different usb vendor / product id
Juergen Raschke
j.raschke@uni-bielefeld.de
Fri, 15 Apr 2005 00:53:11 +0200
Hi,
I have an HP 4300C scanner but the usb vendor / product id is
"0x047b 0x1002" and not "0x03f0 0x0305".
#>sane-find-scanner
found USB scanner (vendor=0x047b, product=1002) at libusb:002:004
After changing line 40 in the file backends/niash_xfer.c
from
{"Hewlett-Packard", "ScanJet 4300C", 0x3f0,0x305, eHp4300c}
to
{"Hewlett-Packard", "ScanJet 4300C", 0x47b,0x1002, eHp4300c}
and line 31 in the file tools/hotplug/libsane.usermap
from
libusbscanner 0x0003 0x03f0 0x0305 [....]
to
libusbscanner 0x0003 0x047b 0x1002 [....]
and recompiling the source everything seems to work fine.
Sytem:
debian sarge i386
kernel 2.6.8-2-386
libsane-1.0.15.8_i386.deb
From
http://user-contributions.org/projects/lshwd/tables/usbtable
0x047b 0x1002 "unknown" "Silitek Corp.|HP ScanJet 4300c Parallel Port"
0x03f0 0x0305 "scanner" "Hewlett-Packard|ScanJet 4300C"
Gruss,
Juergen