[Bug 776834] New: Microsoft Digital Media Keyboard 3000 is recognized as mouse and joystick
https://bugzilla.novell.com/show_bug.cgi?id=776834 https://bugzilla.novell.com/show_bug.cgi?id=776834#c0 Summary: Microsoft Digital Media Keyboard 3000 is recognized as mouse and joystick Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: 64bit OS/Version: openSUSE 12.1 Status: NEW Severity: Minor Priority: P5 - None Component: Hotplug AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dennisgrunert@hotmail.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1 My "Microsoft Digital Media Keyboard 3000" keyboard is not only recognized as keyboard, but also as mouse (with one mouse button and scroll wheel) and as joystick (with 37 axes). Of course this keyboard has no scroll wheel or everything else. See the attached partial_xorg.log and udevadm_info.log (partial output of udevadm info --export-db) for more details. Creating a config file in /etc/X11/xorg.conf.d with the content Section "InputClass" Identifier "stop recognizing Microsoft Keyboard as joystick" MatchIsJoystick "on" MatchVendor "Microsoft" Option "Ignore" "on" EndSection was not successful. I have the same output in xorg.log. Maybe a udev rule helps here, but I haven't looked into this, yet. This problem should be fixed at the root, i.e. not recognizing the keyboard as mouse and joystick in the first place. Reproducible: Always -- 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=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c1
--- Comment #1 from Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c2
--- Comment #2 from Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c3
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c4
Dennis Grunert
Hmm, but you did not describe what is not working. The logs suggest that the device is indeed recognized as a USB device with two interfaces, both being a keyboard.
All what I expect of the keyboard is working. But it is also recognized as joystick: I see /dev/input/js0 and with the openSUSE joystick configuration (/usr/bin/systemsettings) I can even see the 37 axes (which are showing all a value of -32767 expect axes 11 and 12 which show 0 as value). 57 buttons are also recognized. The problem is now the following: Suppose I want to play a game, e.g. a flight simulator (problem occurs with all games I tested so far). For this is attach my real USB joystick to the computer and start the game. But the real joystick "is not working" because the game first sees all the >30 buttons and axes of the Microsoft keyboard (of course, because it is js0), which leaves the axes of the real joystick be number 37, 38 and so on. Even X-Plane is only able to map the first 20 axes it "sees" and they are all from the Microsoft keyboard. Because the keyboard is recognized as USB joystick, I am not able to remove it with the system settings of openSUSE which is telling me that in order to remove a USB joystick I should simply unplug it. The work around would be to first unplug the keyboard, start the game and then plug it in again. But only because there is a workaround doesn't mean that it isn't a bug. Please tell me, if you need further logs and with which commands I can produce them. -- 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=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c5
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c6
--- Comment #6 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c7
--- Comment #7 from Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c8
--- Comment #8 from Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c9
Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c10
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c11
Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c12
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c13
Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c14
--- Comment #14 from Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c15
--- Comment #15 from Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c16
--- Comment #16 from Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c17
--- Comment #17 from Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c18
Jiri Slaby
2. I tested with xev all keys on the keyboard and they are still all working (including multimedia keys, etc.) expect for three keys that weren't working before (kernel 3.4.11-2.16-desktop) either which I only noticed now. I don't need them but maybe somebody else. Should I fill another bug report for these three unworking keys?
No, let's handle it here. Do this: cat /sys/kernel/debug/hid/0003\:045E\:0730.XXXX/events where XXXX is one of the two you have there. Open both, each in a separate (root) terminal. And when cat is waiting, press the three keys, one by one. I believe it should be on the second interface and should have these codes: ff00.ff02, ff00.fe03 and ff00.fe04. Also what symbol is printed on the keys physically? -- 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=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c19
--- Comment #19 from Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c20
Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c21
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c22
Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c23
Jiri Slaby
Created an attachment (id=509609) --> (http://bugzilla.novell.com/attachment.cgi?id=509609) [details] candidate fix 1
This fix is not as perfect, it should be the same as for the wireless kbd. Attaching a new version.
Does this patch help? Try with the kernel at: http://labs.suse.cz/jslaby/bug-776834/
And now? (In reply to comment #22)
/lib/udev/keymap -i input/event1 gives (when pressing the three keys)
scan code: 0xC01B6 key code: images scan code: 0xC022D key code: zoomin scan code: 0xC022E key code: zoomout
So this works and I won't change it. You may need a keymap to map them to lower 256 bytes. This is a limitation of the Xorg (very old) protocol. Create a separate bug for that against X with a pointer to this bug. -- 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=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c24
Dennis Grunert
https://bugzilla.novell.com/show_bug.cgi?id=776834
https://bugzilla.novell.com/show_bug.cgi?id=776834#c25
Jiri Slaby
participants (1)
-
bugzilla_noreply@novell.com