USB mouse only working fine when plugged after booting

Bug #63651 reported by Eduard
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
linux-source-2.6.17 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.17-10-generic

Plugging the usb mouse when the laptop is off and then booting provokes the mouse not to work. There appears a message in booting:
[17179584.992000] ohci_hcd 0000:00:0b.0: USB HC takeover failed!
> (BIOS/SMM bug)

Revision history for this message
jan_k (wobble-gmx) wrote :

I can confirm problems with an USB mouse too. Same kernel version, the machine is an Acer Travelmate 3022. I am only able to boot with the mouse detached. Keeping it connected leads to a lock-up while bootstrapping.

Revision history for this message
NeGrusti (ne-grusti) wrote :

Same problem and message on ASUSTeK A8M notebook, linux-image-2.6.17-10-generic, USB mouse works only 30% of boots.

Revision history for this message
Slade Winstone (slade-winstone-yahoo) wrote :

I'm also experiencing this problem with an Asus A8M notebook, with Edgy & linux image 2.6.17-11-generic.

I have upgraded to the latest BIOS available (v215) and am still experiencing the problem: "USB HC takeover failed!"

However, I have something else to add... I can get my USB mouse to work 100% of the time, by wiggling it at the right time during the boot process (it sounds weird, I know).

If, I start moving my Logitech USB mouse after the graphical boot progress bar is about 10% done, but before it is 50% done and keep moving it until the graphical logon screen appears, then the mouse works fine and is recognised (it also shows up correctly in dmesg).

I would still appreciate it if there is a fix available of course :)

Let me know if there is something I can do to collect more information...

Revision history for this message
Slade Winstone (slade-winstone-yahoo) wrote :

Googling, I've found that the following will re-activate the mouse after startup:

$ sudo rmmod ohci-hcd
$ sudo modprobe ohci-hcd no_handshake=1

This will re-activate the mouse.

I've tried adding the option line to /etc/modprobe.d/options:
options ohci-hcd no_handshake=1

But, this doesn't seem to work at boot.

Anybody got any ideas?

Revision history for this message
Slade Winstone (slade-winstone-yahoo) wrote :

More googling and full fix:

Thanks to reech and especially http://doc.ubuntu-fr.org/materiel/li...asynote_w51101

To add the options ohci-hcd no_handshake=1 to bootup:

1) Create /etc/init.d/usbfix.sh
Code:
#! /bin/sh
sudo rmmod ohci_hcd
sudo modprobe ohci-hcd no_handshake=1

2) $ sudo chmod 755 /etc/init.d/usbfix.sh

3) $ cd /etc/rc5.d

4) $ sudo ln -s /etc/init.d/usbfix.sh S99usbfix

Seems to fix the problem...

Would still be nice to have a fix in the install though ;)

Revision history for this message
Kjell Braden (afflux) wrote :

Hardy Heron 8.04 was recently released. It would be helpful if you could test the new release and verify if this is still an issue - http://www.ubuntu.com/getubuntu/download . You should be able to test your bug using the LiveCD. Please let us know your results. Thanks.

Changed in linux-source-2.6.17:
status: New → Won't Fix
Changed in linux:
status: New → Incomplete
Revision history for this message
Slade Winstone (slade-winstone-yahoo) wrote :

Hi,

I've completed a fresh, new, install of Hardy 8.04, and I can confirm that this is fixed and that this USB issue is no longer a problem for me.

Many thanks,
Slade.

Revision history for this message
Kjell Braden (afflux) wrote :

Thanks for your investigation.

Changed in linux:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.