[sane-devel] Help needed w/ HP ScanJet 4200c and SANE-1.0.7

Tom Williams tomdkat at attbi.com
Mon Mar 25 20:41:01 GMT 2002


Hi!  I've just installed SANE-1.0.7 on my Slackware 8-based Linux system
with these mods:

* 2.4.18 kernel
* glibc-2.2.5
* gcc-3.0.4
* binutils-2.12

I DO have USB support compiled into my kernel and the USB ports and
scanner driver ARE being loaded (/var/log/messages output):

Mar 25 08:50:39 c71414-a kernel: usb.c: registered new driver usbdevfs
Mar 25 08:50:39 c71414-a kernel: usb.c: registered new driver hub
Mar 25 08:50:39 c71414-a kernel: uhci.c: USB Universal Host Controller
Interface driver v1.1
Mar 25 08:50:39 c71414-a kernel: uhci.c: USB UHCI at I/O 0xe000, IRQ 11
Mar 25 08:50:39 c71414-a kernel: usb.c: new USB bus registered, assigned
bus number 1
Mar 25 08:50:39 c71414-a kernel: Product: USB UHCI-alt Root Hub
Mar 25 08:50:39 c71414-a kernel: hub.c: USB hub found
Mar 25 08:50:39 c71414-a kernel: usb.c: registered new driver usbscanner

Mar 25 08:50:39 c71414-a kernel: scanner.c: 0.4.6:USB Scanner Driver
Mar 25 08:50:39 c71414-a kernel: hub.c: USB new device connect on
bus1/2, assigned device number 2

/proc/bus/usb/devices output:

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 11/900 us ( 1%), #Int=  1, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=e000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=03f0 ProdID=0105 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner

E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=  1ms

sane-find-scanner can 'see' the scanner:

sane-find-scanner: found USB scanner (vendor = 0x03f0, product = 0x0105)
at device /dev/usb/scanner0

but scanimage can't seem to find the scanner:

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

here is my /usr/etc/sane.d/hp.conf file:

bash-2.05a# cat /usr/etc/sane.d/hp.conf
#scsi HP
usb 0x03f0 0x0105
/dev/usb/scanner0
  option connect-device
bash-2.05a#

Any ideas as to why my scanner can't be found by scanimage?  I
HAVE applied the HP 4200c patch to the 1.0.7 source, even though the
HP4200c patch listed 1.0.5 in the filename, so I don't know if I even
needed to apply the patch.

Thanks in advance for your time.

Peace....

Tom




More information about the sane-devel mailing list