Bug 151719

Summary: Mouse stops working
Product: [openSUSE] SUSE Linux 10.1 Reporter: Edmunds Kalnins <edmunc>
Component: KernelAssignee: Vojtech Pavlik <vojtech>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: suse-beta
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: hwinfo --mouse output
/var/log/messages from today
An experimental patch to show the cause of the problem
dmesg after the mouse died
death dmsg

Description Edmunds Kalnins 2006-02-17 06:47:35 UTC
After installing SUSE 10.1 beta 3 and booting in Gnome the mouse (basic optical USB mouse by Logitech) stops working after about a minute of usage. This happends also while the installation process is ongoing, about half way in the installation the mouse stops responding. This does not happen in Windows and did not happen on the the same (+/- some small things) on OpenSuse 10. The same problem came up in latest Ubuntu beta (6.x) so I suspect kernel. Ill attach hwinfo --mouse and /var/log/messages for today, don't know what else might be useful.
Comment 1 Edmunds Kalnins 2006-02-17 06:48:53 UTC
Created attachment 68959 [details]
hwinfo --mouse output
Comment 2 Edmunds Kalnins 2006-02-17 06:49:32 UTC
Created attachment 68960 [details]
/var/log/messages from today
Comment 3 Edmunds Kalnins 2006-02-17 06:53:48 UTC
The issue remains after upgrading kernel and xorg from FACTORY. Kernel currently installer is 2.6.16-rc3-5-default and X is xorg-x11-xserver-6.9.0.12
Comment 4 Olaf Kirch 2006-02-17 09:26:57 UTC
Assigning to Vojtech, he's the one to revive dead mice :)
Comment 5 Vojtech Pavlik 2006-02-19 09:27:02 UTC
Does unplugging/replugging the mouse help when it stops working?
Comment 6 Edmunds Kalnins 2006-02-19 09:37:54 UTC
Yes, if I unplug and replug it again it works for about 10-20 secs again
Comment 7 Vojtech Pavlik 2006-02-19 13:28:19 UTC
Created attachment 69197 [details]
An experimental patch to show the cause of the problem

Can you please try this patch? It'll likely fix the problem, but will have side effects (like flooding logs on mouse disconnect).

Whether it helps or not, I'll need the output of 'dmesg' after the mouse has been running for at least the time it  usually takes it to die, or after it dies.

Thanks.
Comment 8 Edmunds Kalnins 2006-02-20 08:12:11 UTC
Created attachment 69253 [details]
dmesg after the mouse died

Looks like the patch didn't help (hope I did everything right with patching and rebuilding kernel)
Comment 9 Vojtech Pavlik 2006-02-20 09:09:57 UTC
Strange. There is nothing at all in the log, as if the mouse was running just fine. Ok, I'll cook up another patch.
Comment 10 Vojtech Pavlik 2006-02-21 09:38:56 UTC
Can you enable DEBUG and DEBUG_DATA in hid-core.c (and hid-input.c, possibly, too), recompile and send me a death dmesg again? Thanks.
Comment 11 Edmunds Kalnins 2006-02-22 06:25:32 UTC
Created attachment 69695 [details]
death dmsg

but I think there is nothing new there ...

just to make sure I did everything right:

cd /usr/src/linux/
vi drivers/usb/input/hid-core.c (change #undef debug to #define debug
vi drivers/usb/input/hid-input.c (same changes)
make
make install
reboot
Comment 12 Vojtech Pavlik 2006-02-27 15:41:20 UTC

*** This bug has been marked as a duplicate of 146781 ***