[Bug 638200] New: USB keyboard/mouse combination freezes after 3 seconds without use [regression 2.6.34.x]
https://bugzilla.novell.com/show_bug.cgi?id=638200 https://bugzilla.novell.com/show_bug.cgi?id=638200#c0 Summary: USB keyboard/mouse combination freezes after 3 seconds without use [regression 2.6.34.x] Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: christoph@maxiom.de QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=388564) --> (http://bugzilla.novell.com/attachment.cgi?id=388564) output of "lsusb -v", the keyboard/mouse combination is the "Cherry" model. User-Agent: Mozilla/5.0 (compatible; Konqueror/4.5; Linux) KHTML/4.5.67 (like Gecko) Yesterday I updated from 2.6.34.1 that I got from http://labs.suse.cz/jslaby/bug-617530/ (and is unfortunately no longer available) to the official update version 2.6.34.4. After that update the following regression is visible: Reproducible: Always Actual Results: I use a USB keyboard/mouse combination. When not using it for 3 seconds, the keyboard seems to deactivate somehow. Pressing a key after that period causes the key to be received delayed. This problem is not related to X11, because it also happens when booting the system to runlevel 3. Additionally, in graphical mode, the mouse freezes when not using the combination for 3 seconds. No mouse move or click is accepted, but pressing a key on the keyboard unfreezes the mouse. The cursor is still movable by Tablet pen, so it is not an X11 problem. Expected Results: No freeze, as in 2.6.34 and 2.6.34.1 kernels. I remember that on older kernels "powertop" always displayed a warning about some USB device consuming power; this message does no longer appear. lsusb: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 046a:0008 Cherry GmbH Bus 003 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 0c24:000f Taiyo Yuden Bluetooth Driver (V2.0+EDR) Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c1
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c2
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c3
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c4
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c5
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c6
--- Comment #6 from Christoph Feck
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c7
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c8
Eric Schirra
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c9
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c10
Vadim Krevs
Could anybody try the kernel at: http://labs.suse.cz/jslaby/bug-638200/ ? It has 3aa5ef87c4fa4be6d538c4cce37b5ea9afec7ca0 reverted.
Unable to try it without matching kernel-desktop-devel and kernel-devel*noarch packages. Can you upload the source rpm - I could build all needed rpms myself? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c11
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c12
--- Comment #12 from Mathias Homann
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c13
--- Comment #13 from Christoph Feck
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c14
Michael Schmuker
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c15
--- Comment #15 from Peter McPherson
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c16
--- Comment #16 from Jiri Slaby
I tried adding "usbcore autosuspend=-1" to the boot options, but this had no effect.
Because usb is built-in and not a module. You need usbcore.autosuspend=-1 on your kernel commandline.
The workaround descibed above fixes it, but it's certainly not a permanent solution.
Yes, indeed. We need a fix, not a workaround. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c17
--- Comment #17 from Jiri Slaby
Can you upload the source rpm - I could build all needed rpms myself?
I uploaded the devel packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c18
Frank Slotta
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c19
Philipp Woelfel
Could anybody try the kernel at: http://labs.suse.cz/jslaby/bug-638200/ ? It has 3aa5ef87c4fa4be6d538c4cce37b5ea9afec7ca0 reverted.
This kernel does not fix it for me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c20
Tvrtko Ursulin
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c
Johannes Studt
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c
Johannes Studt
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c21
--- Comment #21 from Mathias Homann
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c22
--- Comment #22 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c23
--- Comment #23 from Adrien Clerc
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c24
Jiri Slaby
It's on auto for me. I'm using a TypeMatrix USB 2030 (ID : 1e54:2030)
Hm, so is not deactivated for input devices. May be introduced by 631b2d37. Could you try the kernel at: http://labs.suse.cz/jslaby/bug-638200/ once again. It's with that commit reverted. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c25
--- Comment #25 from Mathias Homann
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c26
--- Comment #26 from Eric Schirra
Could anybody look into /sys/bus/usb/devices/<DEV>/power/control for <DEV> being the freezing keyboard or mouse? Without the workaround, is there 'auto' or 'on'?
It's auto. Bus 002 Device 002: ID 046d:c211 Logitech, Inc. iTouch Cordless Reciever Bus 002 Device 003: ID 046d:c529 Logitech, Inc -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c27
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c28
--- Comment #28 from Thomas Baumann
Could anybody look into /sys/bus/usb/devices/<DEV>/power/control for <DEV> being the freezing keyboard or mouse? Without the workaround, is there 'auto' or 'on'?
"auto" here as well Bus 002 Device 002: ID 045e:008a Microsoft Corp. Wireless Keyboard and Mouse Bus 002 Device 004: ID 046d:c521 Logitech, Inc. MX620 Laser Cordless Mouse both being "sleepy" with kernel-pae-2.6.34.4-0.1.1 w/ and w/o X I could not try the kernel at http://labs.suse.cz/jslaby/bug-638200/ because I'm using the pae-kernel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c29
--- Comment #29 from Ingo Habicher
Thanks! The kernel with the reverted commit works for me, too. Razer Copperhead (1532:0101) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c30
Christoph Feck
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c31
--- Comment #31 from Christoph Feck
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c32
Oliver Neukum
If I look at yast>hardware>hardware information>mouse, I see under sysfsID a number2-7:1.1 and the first part 2-7 I think is the required device number. The problem I have is that although this works, I have to do it every time I reboot.
1. determine bus and address with lsusb for example: Bus 005 Device 002: ID 0b05:1751 ASUSTek Computer, Inc. $BUS=005 $ADDR=002 2. query udev for the directory udevadm info --name bus/usb/$BUS/$ADDR --query path (the output of this shall be $PATH) 3. list the power/level attribute cat /sys/$PATH/power/level -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c33
--- Comment #33 from Jiri Slaby
1. determine bus and address with lsusb 2. query udev for the directory 3. list the power/level attribute
This sucks a heap BTW. Wouldn't it make sense to add this functionality into lsusb? AFAICT if I do lsusb -t, I can deduce the numbers by the root bus and ports on the path (plus interfaces if I would want concrete iface). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c34
--- Comment #34 from Jiri Slaby
I could not try the kernel at http://labs.suse.cz/jslaby/bug-638200/ because I'm using the pae-kernel
Ok, we've pushed 2.6.34.7 kernel to our repos, so you could test it now from http://download.opensuse.org/repositories/Kernel:/openSUSE-11.3/openSUSE_11.... (It will appear in updates after we resolve a couple of issues.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c35
--- Comment #35 from Jiri Slaby
In other words, the kernel probably does not check sub-devices on the USB bus, and believes there are no USB input devices (see attached lsusb).
Yes, and it's OK, some users will use autosuspend without problems on their input devices (including me). The problem is that your devices doesn't conform to the specification and hence we disable autosupend _by default for all_. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c36
Mathias Neumann
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c37
Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c38
--- Comment #38 from Vadim Krevs
(In reply to comment #10)
Can you upload the source rpm - I could build all needed rpms myself?
I uploaded the devel packages.
The updated kernel from http://labs.suse.cz/jslaby/bug-638200/ fixes the issue for me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c39
Robert Williams
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c40
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c41
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=638200
https://bugzilla.novell.com/show_bug.cgi?id=638200#c42
Rich Coe
participants (1)
-
bugzilla_noreply@novell.com