USB device set address failure

Upakul Barkakaty upakul at gmail.com
Fri Jan 2 21:04:53 PST 2009


Hi all,

I have been facing a Set address failure when I connect a USB to the host
which is connected on the PCI-Express bus(connected through a Pci-to-Pcie
bridge). When I try out the same thing on a USB host connected to a PCI bus,
then it works fine.

Heres a snapshot of the log:


usbd_new_device bus=0x60a1ccc8 port=1 depth=1 speed=1
[malloc] size = 92
[malloc] sysbrk returned p = 0x60b1ede0
]malloc[
usbd_setup_pipe: dev=0x60b1ede8 iface=0x00000000 ep=0x60b1ee0c
pipe=0x60b1edec
[malloc] size = 84
[malloc] sysbrk returned p = 0x60b1ee48
]malloc[
usb_allocmem: large alloc 6144
usb_block_allocmem: size=8192 align=16
usb_block_allocmem: no free
[malloc] size = 48
[malloc] sysbrk returned p = 0x60b1eea8
]malloc[
[malloc] size = 48
[malloc] sysbrk returned p = 0x60b1eee0
]malloc[
usb_allocmem: use frag=0xa0695f00 size=8
usbd_alloc_xfer() = 0x60a32548
usbd_transfer: xfer=0x60a32548, flags=2, pipe=0x60b1ee50, running=0
usb_insert_transfer: pipe=0x60b1ee50 running=0 timeout=80000
usb_event_thread: woke up
usb_discover
usb_event_thread: woke up
usb_discover
usb_add_task: task=0x60a325a0
usb_task_thread: woke up task=0x60a325a0
usb_schedsoftintr: polling=0
usb_transfer_complete: pipe=0x60b1ee50 xfer=0x60a32548 status=15 actlen=0
usb_transfer_complete: repeat=0 new head=0x00000000
usbd_start_next: pipe=0x60b1ee50, xfer=0x00000000
usbd_free_xfer: 0x60a32548
****Here****
usbd_new_device: setting device address=2
usb_new_device: set address 2 failed
usbd_remove_device: 0x60b1ede8
usbd_ar_pipe: pipe=0x60b1ee50
[free] p = 0x60b1ee48 *p = 0x60b1ee48 size = 84
]free[
[free] p = 0x60b1ede0 *p = 0x60b1ede0 size = 92
]free[
uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED
uhub0: device problem, disabling port 1
********
usbd_alloc_xfer() = 0x60a32548
usbd_transfer: xfer=0x60a32548, flags=2, pipe=0x60a31848, running=0
usb_insert_transfer: pipe=0x60a31848 running=0 timeout=80000
usb_transfer_complete: pipe=0x60a31848 xfer=0x60a32548 status=0 actlen=0
usb_transfer_complete: repeat=0 new head=0x00000000
usbd_start_next: pipe=0x60a31848, xfer=0x00000000
usbd_free_xfer: 0x60a32548
uhub_explore dev=0x60a317e0 addr=1
usbd_alloc_xfer() = 0x60a32548
usbd_transfer: xfer=0x60a32548, flags=2, pipe=0x60a31848, running=0
usb_allocmem: use frag=0xa0695ec0 size=4
usb_insert_transfer: pipe=0x60a31848 running=0 timeout=80000
usb_transfer_complete: pipe=0x60a31848 xfer=0x60a32548 status=0 actlen=4
usb_freemem: frag=0xa0695ec0
usb_transfer_complete: repeat=0 new head=0x00000000
usbd_start_next: pipe=0x60a31848, xfer=0x00000000
usbd_free_xfer: 0x60a32548
uhub_explore: uhub0 port 1 status 0x0301 0x0000
uhub_explore: port=1 !C_CONNECT_STATUS
usb_event_thread: woke up
usb_discover


Any help in this regard will be appreciated.
-- 
Regards,
Upakul Barkakaty


More information about the freebsd-usb mailing list