Comment 79 for bug 256767

Revision history for this message
J B (scottie) wrote :

Well looks like nobody's assigned to this bug. Still, it is confirmed.

So a workaround worked:

at first simply unbinding ehci entries worked inconsistently, but also unbinding ohci entries did the trick.

adding the following to /etc/rc.local worked for me:
#unbind ehci (USB2.0) and ohci (USB1.1)
echo -n 0000:00:02.1 | tee -a /sys/bus/pci/drivers/ehci_hcd/unbind
echo -n 0000:00:02.0 | tee -a /sys/bus/pci/drivers/ohci_hcd/unbind
echo -n 0000:00:04.1 | tee -a /sys/bus/pci/drivers/ehci_hcd/unbind
echo -n 0000:00:04.0 | tee -a /sys/bus/pci/drivers/ohci_hcd/unbind
# note the 0's and 1's differences in ehci and ohci
# change the numbers according to your entries in ls /sys/bus/pci/drivers/ehci_hcd (and again in ohci_hcd)

# bind them back
echo -n 0000:00:02.1 | tee -a /sys/bus/pci/drivers/ehci_hcd/bind
echo -n 0000:00:04.1 | tee -a /sys/bus/pci/drivers/ehci_hcd/bind

# i left these two out, because sometimes rebinding too soon made the error reoccur:
#echo -n 0000:00:02.0 | tee -a /sys/bus/pci/drivers/ohci_hcd/bind
#echo -n 0000:00:04.0 | tee -a /sys/bus/pci/drivers/ohci_hcd/bind
# i just rebind ohci from terminal for the USB mouse.

# at terminal
#echo -n 0000:00:02.0 | sudo tee -a /sys/bus/pci/drivers/ohci_hcd/bind
# sudo needed for binding and unbinding

linux - ubuntu gurus:
is there a way to unbind sooner and then rebind right before the desktop screen? Kindly provide complete instructions if you can, thanks.

(the error still appears right after SATA scsi Hard drive configuration and after the usb mouse is detected. Then disappears when the unbinding script kicks in.
That's why there is a need to unbind sooner, or maybe put off original initial binding to a later time)
Will probably look into this when i have some more time. put in considerable hours already into this one.

guess kernel can be modified. But dont know how to do that, yet.

-On Ubuntu 11.04 (updated)