Subject: USB scanner IOERROR
To: None <netbsd-help@netbsd.org>
From: Rob Quinn <rquinn@sprint.net>
List: netbsd-help
Date: 03/05/2001 15:05:42
 I borrowed an HP ScanJet 4300C to see if I could get it to work under SANE,
but I can't even get my kernel to recognize the USB connection. It works fine
under Win2K (on another laptop), so I don't think it's a hardware failure. Here
are the boot messages from a GENERIC kernel from March 2nd, with USB_DEBUG=1,
and usbdebug=1. I'm using a Toshiba Tecra 8100, which has USB builtin and in
the docking station. I tried turning on "USB legacy mode" in the BIOS, but all
that did was cause my docking station's uhub1 to get dropped with a similar
error.

 Any ideas on how I can get this device recognized? Anyone else have a 4300C
working with USB?



	egrep 'usb|uhub' messages

Mar  5 09:25:23 strike /netbsd: usbd_match
Mar  5 09:25:23 strike /netbsd: usb0 at uhci0usbd_attach
Mar  5 09:25:23 strike /netbsd: usbd_new_device bus=0xc09b3000 port=0 depth=0 lowspeed=0
Mar  5 09:25:23 strike /netbsd: usbd_new_device: adding unit addr=1, rev=100, class=9, subclass=0, protocol=0, maxpacket=64, len=18, ls=0
Mar  5 09:25:23 strike /netbsd: usbd_new_device: new dev (addr 1), dev=0xc09a0980, parent=0xc09a0a00
Mar  5 09:25:23 strike /netbsd: usbd_probe_and_attach: trying device specific drivers
Mar  5 09:25:23 strike /netbsd: uhub0 at usb0
Mar  5 09:25:23 strike /netbsd: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Mar  5 09:25:23 strike /netbsd: usbd_set_config_index: (addr 1) cno=1 attr=0x40, selfpowered=1, power=0
Mar  5 09:25:23 strike /netbsd: usbd_set_config_index: set config 1
Mar  5 09:25:24 strike /netbsd: uhub0: 2 ports with 2 removable, self powered
Mar  5 09:25:24 strike /netbsd: usb_event_thread: start
Mar  5 09:25:24 strike /netbsd: usbd_new_device bus=0xc09b3000 port=2 depth=1 lowspeed=0
Mar  5 09:25:24 strike /netbsd: usbd_new_device: adding unit addr=2, rev=100, class=9, subclass=0, protocol=0, maxpacket=8, len=18, ls=0
Mar  5 09:25:24 strike /netbsd: usbd_new_device: new dev (addr 2), dev=0xc09e4700, parent=0xc09adac0
Mar  5 09:25:24 strike /netbsd: usbd_probe_and_attach: trying device specific drivers
Mar  5 09:25:24 strike /netbsd: uhub1 at uhub0 port 2
Mar  5 09:25:24 strike /netbsd: uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.00/1.00, addr 2
Mar  5 09:25:24 strike /netbsd: usbd_set_config_index: status=0x0001, error=NORMAL_COMPLETION
Mar  5 09:25:24 strike /netbsd: usbd_set_config_index: (addr 1) cno=2 attr=0xe0, selfpowered=1, power=100
Mar  5 09:25:24 strike /netbsd: usbd_set_config_index: set config 1
Mar  5 09:25:25 strike /netbsd: uhub1: 4 ports with 4 removable, self powered
Mar  5 09:25:25 strike /netbsd: usbd_new_device bus=0xc09b3000 port=2 depth=2 lowspeed=0
Mar  5 09:25:25 strike /netbsd: usbd_new_device: adding unit addr=3, rev=100, class=0, subclass=0, protocol=0, maxpacket=8, len=18, ls=0
Mar  5 09:25:25 strike /netbsd: usbd_new_device: new dev (addr 3), dev=0xc09e4500, parent=0xc09c8600
Mar  5 09:25:25 strike /netbsd: usbd_probe_and_attach: trying device specific drivers
Mar  5 09:25:25 strike /netbsd: usbd_probe_and_attach: no device specific driver found
Mar  5 09:25:25 strike /netbsd: usbd_probe_and_attach: looping over 1 configurations
Mar  5 09:25:25 strike /netbsd: uhub1: port 2, set config at addr 3 failed, error=IOERROR
Mar  5 09:25:25 strike /netbsd: usbd_remove_device: 0xc09e4500
Mar  5 09:25:25 strike /netbsd: uhub_explore: usb_new_device failed, error=IOERROR
Mar  5 09:25:25 strike /netbsd: uhub1: device problem, disabling port 2