Subject: HP 6200c scanner via USB
To: None <current-users@netbsd.org>
From: Sverre Froyen <sverre@viewmark.com>
List: current-users
Date: 07/04/2002 14:20:16
Hi,

I'm trying to connect an HP 6200c scanner to my laptop. The laptop is running 
current as of this morning.  Whenever I plug in the USB cable I get a timeout 
on the USB device and disabling of the port.  I am guessing that this may be 
be related to the scanner going to sleep.  Below is a listing of USB kernel 
messages with USB_DEBUG enabled and the kernel variables usbdebug and 
uhcidebug both set to five.  Suggestions any one?

Sverre

Jul  4 13:58:41 abbor /netbsd: usb_needs_explore
Jul  4 13:58:41 abbor /netbsd: usb_event_thread: woke up
Jul  4 13:58:41 abbor /netbsd: usb_discover
Jul  4 13:58:41 abbor /netbsd: uhci_root_ctrl_control type=0xa3 request=00
Jul  4 13:58:41 abbor /netbsd: uhci_root_ctrl_control type=0x23 request=01
Jul  4 13:58:41 abbor /netbsd: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE 
port=1 feature=16
Jul  4 13:58:41 abbor /netbsd: uhci_root_ctrl_control type=0x23 request=03
Jul  4 13:58:41 abbor /netbsd: uhci port 1 reset, status = 0x0095
Jul  4 13:58:41 abbor /netbsd: usbd_reset_port: port 1 reset done, 
error=NORMAL_COMPLETION
Jul  4 13:58:42 abbor /netbsd: uhci_root_ctrl_control type=0xa3 request=00
Jul  4 13:58:42 abbor /netbsd: uhci_root_ctrl_control type=0x23 request=01
Jul  4 13:58:42 abbor /netbsd: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE 
port=1 feature=20
Jul  4 13:58:42 abbor /netbsd: uhci_root_ctrl_control type=0xa3 request=00
Jul  4 13:58:42 abbor /netbsd: usbd_new_device bus=0xc08a6000 port=1 depth=1 
speed=2
Jul  4 13:58:42 abbor /netbsd: usbd_setup_pipe: dev=0xc09d2c00 iface=0x0 
ep=0xc09d2c24 pipe=0xc09d2c04
Jul  4 13:58:42 abbor /netbsd: uhci_open: pipe=0xc0986900, addr=0, endpt=0 (1)
Jul  4 13:58:42 abbor /netbsd: usbd_get_desc: type=1, index=0, len=8
Jul  4 13:58:42 abbor /netbsd: uhci_device_control type=0x80, request=0x06, 
wValue=0x0100, wIndex=0x0000 len=8, addr=0, endpt=0
Jul  4 13:58:42 abbor /netbsd: usbd_new_device: adding unit addr=2, rev=100, 
class=0, subclass=0, protocol=0, maxpacket=8, len=18, speed=2
Jul  4 13:58:42 abbor /netbsd: usbd_get_device_desc:
Jul  4 13:58:42 abbor /netbsd: usbd_get_desc: type=1, index=0, len=18
Jul  4 13:58:42 abbor /netbsd: uhci_device_control type=0x80, request=0x06, 
wValue=0x0100, wIndex=0x0000 len=18, addr=0, endpt=0


Jul  4 13:59:12 abbor /netbsd: uhci_timeout: uxfer=0xc08a5100
Jul  4 13:59:12 abbor /netbsd: usb_add_task: task=0xc08a518c
Jul  4 13:59:12 abbor /netbsd: usb_task_thread: woke up task=0xc08a518c
Jul  4 13:59:12 abbor /netbsd: uhci_timeout_task: xfer=0xc08a5100
Jul  4 13:59:12 abbor /netbsd: uhci_abort_xfer: xfer=0xc08a5100, status=15
Jul  4 13:59:12 abbor /netbsd: uhci_abort_xfer: stop ii=0xc08a5170
Jul  4 13:59:12 abbor /netbsd: uhci_abort_xfer: tsleep
Jul  4 13:59:12 abbor /netbsd: uhci_check_intr: aborted xfer=0xc08a5100
Jul  4 13:59:12 abbor /netbsd: uhci_abort_xfer: callback
Jul  4 13:59:12 abbor /netbsd: usbd_new_device: addr=2, getting full desc 
failed
Jul  4 13:59:12 abbor /netbsd: usbd_remove_device: 0xc09d2c00
Jul  4 13:59:12 abbor /netbsd: usbd_ar_pipe: pipe=0xc0986900
Jul  4 13:59:12 abbor /netbsd: uhub_explore: usb_new_device failed, 
error=TIMEOUT
Jul  4 13:59:12 abbor /netbsd: uhub0: device problem, disabling port 1
Jul  4 13:59:12 abbor /netbsd: uhci_root_ctrl_control type=0xa3 request=00