RobR
10-07-2005, 13:12
Hi all,
I've been developing all kinds of software for the WL-HDD (kernel & userland) to interface with different USB devices (webcam, headset, USB-RS232). One problem I keep encoutering is that the USB detection seems to fail when the WL-HDD is reset or powered off for a short time. Powering off (15 mins) and switching on again usually does the trick but I am looking for a real solution instead of this workaround.
I have found some other threads on this forum concerning the like problem related to different devices (like USB stick not detected or hub not detected) but I think this is a generic WL-HDD (maybe even WL 500 as well) problem and has nothing to do with individual devices.
When the problem happens, and I plug in a USB hub the ready light stays off (which I think it means it does not get enumerated)
# mount none /proc/bus/usb/
# cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=b8004000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
#
As seen, only the root hub is detected, no matter what I plug in
# cat /proc/interrupts
CPU0
2: 0 MIPS usb-ohci
3: 0 MIPS eth0
4: 375 MIPS eth1
6: 769 MIPS eth2
7: 8024 MIPS timer
ERR: 0
#
The usb-ohci (controller) does not generate any interrupts while I think it should generate an interrupt upon plugging in a device, because when it does work the number of interrupts increases on pluggin/unplugging a device
Any clues?
I've been developing all kinds of software for the WL-HDD (kernel & userland) to interface with different USB devices (webcam, headset, USB-RS232). One problem I keep encoutering is that the USB detection seems to fail when the WL-HDD is reset or powered off for a short time. Powering off (15 mins) and switching on again usually does the trick but I am looking for a real solution instead of this workaround.
I have found some other threads on this forum concerning the like problem related to different devices (like USB stick not detected or hub not detected) but I think this is a generic WL-HDD (maybe even WL 500 as well) problem and has nothing to do with individual devices.
When the problem happens, and I plug in a USB hub the ready light stays off (which I think it means it does not get enumerated)
# mount none /proc/bus/usb/
# cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=b8004000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
#
As seen, only the root hub is detected, no matter what I plug in
# cat /proc/interrupts
CPU0
2: 0 MIPS usb-ohci
3: 0 MIPS eth0
4: 375 MIPS eth1
6: 769 MIPS eth2
7: 8024 MIPS timer
ERR: 0
#
The usb-ohci (controller) does not generate any interrupts while I think it should generate an interrupt upon plugging in a device, because when it does work the number of interrupts increases on pluggin/unplugging a device
Any clues?