Well, I've done some more testing and I think I can verify the cause of this , but not yet the solution
I don't know if this will help peterpan_bz.
I removed all my usb devices rebooted my pc and plugged in each one individually. Separately, all of them worked without a problem:
HP Printer-Scanner - uhci_hcd
4gb flash memory - ehci_hcd
ipod shuffle - usb 2.0?
500gb external hd - usb 2.0
Belkin 4-port hub + flash memory - ehci_hcd
This was before I started any applications. Here is the output of usb modules:
Code:
modprobe -l | grep -i hcd
/lib/modules/2.6.24-21-generic/kernel/drivers/usb/host/ohci-hcd.ko
/lib/modules/2.6.24-21-generic/kernel/drivers/usb/host/isp116x-hcd.ko
/lib/modules/2.6.24-21-generic/kernel/drivers/usb/host/r8a66597-hcd.ko
/lib/modules/2.6.24-21-generic/kernel/drivers/usb/host/ehci-hcd.ko
/lib/modules/2.6.24-21-generic/kernel/drivers/usb/host/uhci-hcd.ko
/lib/modules/2.6.24-21-generic/kernel/drivers/usb/host/u132-hcd.ko
/lib/modules/2.6.24-21-generic/kernel/drivers/usb/host/sl811-hcd.ko
I don't know what all these are but I've worked out that ehci-hcd is 2.0 hi-speed, ohci-hcd is usb full-speed(?) and uhci-hcd is 1.0 low speed.
Then I tested my theory about Vuze Bittorrent, bearing in mind the amount of times I can test this is limited as I don't want to bonk my hard drives.
I restarted the PC without any usb devices plugged in, I then started Vuze and plugged flash memory into the one of the motherboard usb ports - Desktop FREEZE - no skinny elephants.
Hard reboot via power switch, and try the same thing again, this time plug in my usb 1.0 printer - Desktop frozen again!
Another Hard reboot and this time I tried the following after starting Vuze and plugging in printer:
Code:
sudo /etc/init.d/udev restart
sudo rmmod uhci_hcd
modprobe uhci_hcd
Which restarts usb services. Plugged in the printer and this time it worked for 1 second... then FROZE AGAIN!
So basically there is a problem when running Bittorrent/Java based client and usb.
Although restarting usb 2.0 seemed to work for other devices, it doesn't seem to be very reliable method. So does anyone have any advice now that I have narrowed it down to Vuze/Azureus application?
One more thing, these devices seem to work, or partially work if I plug in before starting Vuze, it seems to be only when plugging in a device or re-plugging in whilst Vuze is running. Sure it's almost a work-around but hardly practical if I want to keep Vuze running in the background.
Editing to add: I think the 4-port hub was red herring due to the fact that I have always had it plugged in on startup.. which might explain the erratic behaviour plugging in flash memory/external drive because the hub worked as it was plugged in before Vuze started.
Bookmarks