Subject: Re: USB device problems
To: None <tech-kern@netbsd.org>
From: Shelby <snoonan@scenix.com>
List: tech-kern
Date: 06/06/2001 11:17:26
On Wed, Jun 06, 2001 at 10:27:11AM +0200, Lennart Augustsson wrote:
> Shelby wrote:
> 
> > Jun  5 12:42:22 dragonfly /netbsd: uhub_explore: status change hub=1 port=1
> > Jun  5 12:42:38 dragonfly /netbsd: uhub_explore: usb_new_device failed, error=TIMEOUT
> > Jun  5 12:42:38 dragonfly /netbsd: uhub0: device problem, disabling port 1
> >
> > is what I get when I plug in a USB dongle I was HOPING to write a driver for.
> > This is with USB_VERBOSE in my kernel and UHUBDEBUG set in sys/dev/usb/uhub.c
> > with uhubdebug=1 (thanks to ddb)
> >
> > Any thoughts as to what is going on?
> 
> This indicates that the USB device was not responding properly.  There
> are many less than perfect devices out there.
> 
>     -- Lennart

As I don't even get a ugen how can I proceed?

BTW after reading some of the FAQ's I found more debug output, but is was
very helpful.  see below.

Shelby


with udbdebug = 5 and uhcidebug=5
Jun  6 00:44:44 dragonfly /netbsd: usb_needs_explore
Jun  6 00:44:44 dragonfly /netbsd: usb_add_task: sc=0xc069d700 task=0xc069d74c
Jun  6 00:44:44 dragonfly /netbsd: usb_event_thread: woke up task=0xc069d74c
Jun  6 00:44:44 dragonfly /netbsd: usb_discover
Jun  6 00:44:44 dragonfly /netbsd: uhci_root_ctrl_control type=0xa3 request=00
Jun  6 00:44:44 dragonfly /netbsd: uhci_root_ctrl_control type=0x23 request=01
Jun  6 00:44:44 dragonfly /netbsd: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=1 feature=16
Jun  6 00:44:44 dragonfly /netbsd: uhci_root_ctrl_control type=0x23 request=03
Jun  6 00:44:44 dragonfly /netbsd: uhci port 1 reset, status = 0x0095
Jun  6 00:44:44 dragonfly /netbsd: usbd_reset_port: port 1 reset done, error=NORMAL_COMPLETION
Jun  6 00:44:44 dragonfly /netbsd: uhci_root_ctrl_control type=0xa3 request=00
Jun  6 00:44:44 dragonfly /netbsd: uhci_root_ctrl_control type=0x23 request=01
Jun  6 00:44:44 dragonfly /netbsd: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=1 feature=20
Jun  6 00:44:44 dragonfly /netbsd: usbd_new_device bus=0xc06b1000 port=1 depth=1 lowspeed=0
Jun  6 00:44:44 dragonfly /netbsd: usbd_setup_pipe: dev=0xc0740800 iface=0x0 ep=0xc074081c pipe=0xc0740804
Jun  6 00:44:44 dragonfly /netbsd: uhci_open: pipe=0xc0740700, addr=0, endpt=0 (1)
Jun  6 00:44:44 dragonfly /netbsd: usbd_get_desc: type=1, index=0, len=8
Jun  6 00:44:44 dragonfly /netbsd: uhci_device_control type=0x80, request=0x06, wValue=0x0100, wIndex=0x0000 len=8, addr=0, endpt=0
Jun  6 00:44:49 dragonfly /netbsd: uhci_timeout: ii=0xc06a8570
Jun  6 00:44:50 dragonfly /netbsd: uhci_abort_xfer: xfer=0xc06a8500, status=15
Jun  6 00:44:50 dragonfly /netbsd: usbd_get_desc: type=1, index=0, len=8
Jun  6 00:44:50 dragonfly /netbsd: uhci_device_control type=0x80, request=0x06, wValue=0x0100, wIndex=0x0000 len=8, addr=0, endpt=0
Jun  6 00:44:54 dragonfly /netbsd: uhci_timeout: ii=0xc06a8570
Jun  6 00:44:55 dragonfly /netbsd: uhci_abort_xfer: xfer=0xc06a8500, status=15
Jun  6 00:44:55 dragonfly /netbsd: usbd_get_desc: type=1, index=0, len=8
Jun  6 00:44:55 dragonfly /netbsd: uhci_device_control type=0x80, request=0x06, wValue=0x0100, wIndex=0x0000 len=8, addr=0, endpt=0
Jun  6 00:45:00 dragonfly /netbsd: uhci_timeout: ii=0xc06a8570
Jun  6 00:45:00 dragonfly /netbsd: uhci_abort_xfer: xfer=0xc06a8500, status=15
Jun  6 00:45:00 dragonfly /netbsd: usbd_new_device: addr=2, getting first desc failed
Jun  6 00:45:00 dragonfly /netbsd: usbd_remove_device: 0xc0740800
Jun  6 00:45:00 dragonfly /netbsd: uhub_explore: usb_new_device failed, error=TIMEOUT
Jun  6 00:45:00 dragonfly /netbsd: uhub0: device problem, disabling port 1
Jun  6 00:45:00 dragonfly /netbsd: uhci_root_ctrl_control type=0x23 request=01
Jun  6 00:45:00 dragonfly /netbsd: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=1 feature=1
Jun  6 00:45:00 dragonfly /netbsd: uhci_root_ctrl_control type=0xa3 request=00
Jun  6 00:45:24 dragonfly /netbsd: usb_needs_explore
Jun  6 00:45:24 dragonfly /netbsd: usb_add_task: sc=0xc069d700 task=0xc069d74c
Jun  6 00:45:24 dragonfly /netbsd: usb_event_thread: woke up task=0xc069d74c
Jun  6 00:45:24 dragonfly /netbsd: usb_discover
Jun  6 00:45:24 dragonfly /netbsd: uhci_root_ctrl_control type=0xa3 request=00
Jun  6 00:45:24 dragonfly /netbsd: uhci_root_ctrl_control type=0x23 request=01
Jun  6 00:45:24 dragonfly /netbsd: uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=1 feature=16
Jun  6 00:45:24 dragonfly /netbsd: uhci_root_ctrl_control type=0xa3 request=00