Problem with usb hub

bridged with qdn.public.ddk.usb
Post Reply
Rex Lam

Problem with usb hub

Post by Rex Lam » Tue Nov 27, 2001 7:41 pm

There is a bug in the usb stack. Try the following sequence. You need one
usb hub and two usb devices. First, connect the usb hub to a usb port.
Make sure devu-ohci/devu-uhci is running. Then insert device 1 into the
first port of the hub. Then insert device 2 into the second port of the
hub. If you have the "usb" utility, run that on the command line to see all
usb devices. Now, on to the bug. Disconnect device1 and reinsert it into
the first port of the hub. Then disconnect device 2 and reinsert it into
the second port of the hub. Now, device 2 is no longer recognized. Type
"usb" and it will tell you "No such device" on device 2. You can remove and
insert device 2 into the same port as much as you want but you won't be able
to see it anymore. If you swap device 1 with device 2, you'll be able to
see device 2 but not device 1. To fix this problem, the hub has to be
disconnected and reconnected so that all devices could be renumerated.

Rex

Kevin Chiles

Re: Problem with usb hub

Post by Kevin Chiles » Fri Nov 30, 2001 12:42 pm

Thanks for the info. We will check into it.

Rex Lam <Rex.Lam@igt.com> wrote:
There is a bug in the usb stack. Try the following sequence. You need one
usb hub and two usb devices. First, connect the usb hub to a usb port.
Make sure devu-ohci/devu-uhci is running. Then insert device 1 into the
first port of the hub. Then insert device 2 into the second port of the
hub. If you have the "usb" utility, run that on the command line to see all
usb devices. Now, on to the bug. Disconnect device1 and reinsert it into
the first port of the hub. Then disconnect device 2 and reinsert it into
the second port of the hub. Now, device 2 is no longer recognized. Type
"usb" and it will tell you "No such device" on device 2. You can remove and
insert device 2 into the same port as much as you want but you won't be able
to see it anymore. If you swap device 1 with device 2, you'll be able to
see device 2 but not device 1. To fix this problem, the hub has to be
disconnected and reconnected so that all devices could be renumerated.

Rex

Post Reply

Return to “qdn.public.ddk.usb”