Sorry, I should've known that. When I use the while loop with /proc/bus/usb mounted, it will print the host controller info, but when it hangs you don't get anything about the new device. I'll attatch output from /proc/bus/usb/devices with the only device connected that I can get to work: a USB Microsoft optical mouse.Which means, that you didn't mount /proc/bus/usb # mount -tusbfs none /proc/bus/usb or # mount -tusbdevfs none /proc/bus/usb with older kernels. Or in /etc/fstab none /proc/bus/usb usbfs noauto 0 0 or none /proc/bus/usb usbdevfs noauto 0 0 respectively.
The device is just one of those little usb keys, a "Transcend JetFlash" 256MB. I also have the same problem with a usb-to-usb network 'pclinq' cable with a PL-2301 chip. The only thing that I can see that they have in common is that they are usb1.1 - "full speed" devices, whereas the mouse is a usb1.0 "low speed" device. In kgdb, I thought I'd try changing it's speed in the debugger to "low" while it was running. This had the effect of producing an error of "device would not accept address", and the device wasn't usable, --but at least it didn't hang! :)
You might like to know that the whole setup works fine with a 2.4.18 kernel! But only works with the uhci driver, _not_ usb-uhci. The problem is there when using the 2.4.19 kernel (and others since then..) - I noticed there were quite a few changes made at that time, USB 2.0 added etc..
What is that device, that hangs your board? Do you have hotplug enabled? If so, could you disable it, and see if the system still hangs immediately as you plug in the device, or first when you insert the driver-module or run some user-space program (e.g. mount a usb-disk, or whatever)?
hotplug is not enabled, and all I'm doing is connecting the device, then modprobing uhci-hcd (or modprobe uhci-hcd then connecting the device..). It survives for about 2 seconds while it tries to assign it an address, and then hangs.
We have an identical single board computer here, except it has a 400MHz cpu instead of the 600MHz I'm having trouble with. That board doesn't have a problem with the usb hanging though, with the same kernels.
Another thing you could try would be disabling ACPI...Yeah I've tried that, but doesn't make a difference.
Sorry I wasn't able to report more success... Malcolm.
/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= 2.06 S: Manufacturer=Linux 2.6.3 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:07.2 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
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=045e ProdID=0040 Rev= 3.00 S: Manufacturer=Microsoft S: Product=Microsoft 3-Button Mouse with IntelliEye(TM) C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
