usb mouse stops working after a short while

Bug #148589 reported by Toro Hill
This bug report is a duplicate of:  Bug #84762: Feisty: usb mouse stops working. Edit Remove
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-input-mouse (Ubuntu)
Incomplete
Undecided
Pascal De Vuyst

Bug Description

Usb mouse stops working a short while after system startup.

Mouse brand and model: Logitech M-NT96a
Connection: usb
Mechanism: Optical
Buttons: 2 buttons and 1 scrollwheel

The optical light is still on in the mouse after is stops working.
Usb keyboard still works after the mouse stops working.
Mouse does not start working if I unplug it and plug it into a different port again.
Usb keyboard stops working if I unplug it and plug it into a different port after the mouse has stopped working.
If I plug in an optical trackball (Kensingtion Optical Orbit Model #64327) after the mouse stops working it doesn't work.

If I plug in the trackball before the mouse stops working then it works.
If I unplug and plug the mouse into a different port before it stops working it continues to work.
If I unplug and plug the keyboard into a different port before the mouse stops working it continues to work.
If the trackball was plugged in before the mouse stops working it continues to work after the mouse stops working.

If I press Ctrl-Alt-F1 after the mouse stops working I don't get a virtual terminal and everything freezes.
I can't tell if this is just that the mouse and keyboard has stopped working or whether the system has stopped responding.
Because of this I executed the last dmesg, Xorg.0.log copy and diffs from a standard gnome-terminal rather than a virtual terminal (as in the instructions at https://wiki.ubuntu.com/DebuggingMouseDetection).

Note that I have two sets of usb ports (one in the back and one in the front), all testing was done with the ports in the back.
[lspci]

[lspci]

Revision history for this message
Toro Hill (torohill) wrote :

Debugging information as specified at https://wiki.ubuntu.com/DebuggingMouseDetection

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Does changing the mouse protocol to auto work?

1. Open /etc/X11/xorg.conf and change the mouse protocol to:
      Option "Protocol" "auto"
2. Restart X with Ctrl-Alt-Backspace.
3. Provide the output of the following command on a terminal:
 $ cat /var/log/Xorg.0.log | grep -i "configured mouse"

Changed in xserver-xorg-input-mouse:
assignee: nobody → pascal-devuyst
status: New → Incomplete
Revision history for this message
Toro Hill (torohill) wrote :

Thanks for the response.

I tried modifying xorg.conf as suggested but it didn't seem to make any difference. The requested output from the xorg log is included below.
Note this problem affects both the mouse and keyboard.

My current work around for this problem is to plug the mouse and keyboard into a PCI card that has usb ports.
With this setup the mouse and keyboard works without any problems, although it means that I can't use the keyboard early the boot process (eg. to select a different kernel to boot).
Also, the output in the xorg log when restarting X with the mouse plugged into the PCI card seems to be exactly the same as the output when restarting X with the mouse plugged into a standard usb port.

Thanks
Toro

---
$ cat /var/log/Xorg.0.log | grep -i "configured mouse"
(**) |-->Input Device "Configured Mouse"
(**) Configured Mouse: Device: "/dev/input/mice"
(**) Configured Mouse: Protocol: "auto"
(**) Configured Mouse: Core Pointer
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 9
(**) Configured Mouse: Sensitivity: 1
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(--) Configured Mouse: PnP-detected protocol: "ExplorerPS/2"
(II) Configured Mouse: ps2EnableDataReporting: succeeded

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Still a problem with Ubuntu 8.04 or Intrepid, the current development version?

Revision history for this message
browe (brianmrowe-7effect) wrote :

I am having this problem with 8.04 after a recent upgrade it just stopped working. Sorry I don't know what all came in.
cat /var/log/Xorg.0.log | grep -i "configured mouse"

(==) |-->Input Device "Configured Mouse"
(WW) Configured Mouse: No Device specified, looking for one...
(II) Configured Mouse: Setting Device option to "/dev/input/mice"
(--) Configured Mouse: Device: "/dev/input/mice"
(==) Configured Mouse: Protocol: "Auto"
(**) Configured Mouse: always reports core events
(==) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 9
(**) Configured Mouse: Sensitivity: 1
(II) evaluating device (Configured Mouse)
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(--) Configured Mouse: PnP-detected protocol: "ExplorerPS/2"
(II) Configured Mouse: ps2EnableDataReporting: succeeded

Revision history for this message
browe (brianmrowe-7effect) wrote :

I have logitech trackman wheel

Revision history for this message
Toro Hill (torohill) wrote :

Pascal, this is still a problem with Ubuntu 8.04. I haven't had a chance to test Intrepid.

A couple of other things I noticed:
- After the mouse or keyboard has stopped working it does not start working again if I plug it into the PCI card. I have to reboot to get them working again.
- If I run lsusb after the mouse has stopped working it hangs and doesn't return any output. I was unable to kill or kill -9 the lsusb process (although I didn't try sudo kill).

Someone suggested to me that this may be a faulty hardware problem. This is a dual boot machine and I don't have the same problem with Windows XP. It was suggested that Windows may be more forgiving to usb hardware whereas Linux expects the usb hardware to behave in a certain way and it causes problems when it doesn't. I have no idea whether this is a feasible explanation for the problem or not.

Also, is it worth renaming the bug to "usb device stops working ..." as if affects both the mouse and keyboard.

Revision history for this message
John Rose (johnaaronrose) wrote :

In bug 139209, suggestion was add "acpi=noirq pci=noacpi" to end of kernel line in /boot/grub/menu.lst. Also, add this to defoptions line so that it holds after kernel upgrade. Mouse now works OK.

Revision history for this message
Toro Hill (torohill) wrote :

John, is bug 139209 the bug you intended to link to? Bug title is 'disconnect vpnc connection doesn't terminate vpnc' and it doesn't appear to have any relevant info.

Revision history for this message
John Rose (johnaaronrose) wrote :

Toro,

My previous posting to this bug was intended.

Revision history for this message
Toro Hill (torohill) wrote :

Okay, I added "acpi=noirq pci=noacpi" to the end of the kernel line in menu.lst and rebooted. Unfortunately the problem still occurred, the usb mouse stopped working after about 10 minutes.

Revision history for this message
Shnissugah (retrorocket2001) wrote :

Hey Toro,
I was wondering if you'd solved this issue. I seem to have the exact same circumstances and symptoms. I just downloaded kubuntu for the first time today.

Possibly enlightening: it seems to me that the mouse only stops working after doing something. Leaving the mouse alone for long periods of time doesn't make it freeze, but certain types of actions (closing windows? certain types of menus?) cause it to do so.

Revision history for this message
Toro Hill (torohill) wrote :

Hi Shnissugah,
Unfortunately I don't have access to the hardware which was causing this problem any more (it was a work computer and I have moved countries). Hence, I don't think I'll be able to add anything useful to this bug. For what it's worth I hadn't managed to solve the problem before I moved.

Sorry I can be more helpful.
Toro

Revision history for this message
positivek (anonyhole) wrote :

This seems to be very much related to (if not a duplicate of) bug Bug 84762.

Bryce Harrington (bryce)
description: updated
Bryce Harrington (bryce)
description: updated
Revision history for this message
Jonah (jonah) wrote :

Hi i just built an ASUS t3 T3-M3N8200 barebone with amd phenom 9950 quad core and 8gig of ram.

I have a logitech Ultra-X desktop keyboard and mouse which both work off the same usb receive and are both wireless.

i can use the computer fine for 15 mins or even 3 hours before i get a problem but then randomly the mouse will freeze up. Yet the keyboard still works fine.

I don't know if this is the same bug or not but can someone please help fix this.

Only way to get my mouse back is to reboot each time it happens...

Cheers.

Revision history for this message
res1zipo (res1zipo) wrote :

this bug appears to be the same as https://bugs.launchpad.net/bugs/300106

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.