Red Hat Bugzilla – Bug 475398
Media Keys do not report events for Microsoft Wireless Laser Keyboard 6000
Last modified: 2009-02-19 18:38:41 EST
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:22.214.171.124) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
None of the media keys (except the 'bookmark' keys numbered 1-5 on the top left of the keyboard) function in X, and none report keycodes in the System->Preferences->Personal->Keyboard Shortcuts application.
They had previously worked waaay back in kernel-xen-2.6.21, kernel-2.6.24 time (Sorry I can't be more accurate as to when it broke, I jumped from fedora 8 to 10, had NIC problems with RTL8111/8168B so mostly ran the xen kernel).
Hardware specs for the peripherals:
Microsoft Wireless Laser Keyboard 6000 v2.0, model 1074
Microsoft Wireless Desktop Receiver 3.1, model 1028
It appears to be a case of quirks for the Wireless Desktop Receiver breaking a bunch of keys to fix a bunch of other keys. From the Stable git tree on Kernel.org, the offending patchset appears to be:
With associated typo fix:
And Microsoft quirks refactoring:
Steps to Reproduce:
1. Run System->Preferences->Personal->Keyboard Shortcuts (aka gnome-keybinding-properties)
2. Choose a keybinding to change
3. Press any of the media keys (Play/Pause, Forward, Back, Mute, Volume, Home, Documents, Mail, etc)
Keycode is bound for the shortcut e.g. 0xc0
There is a Ubuntu bug filed on Launchpad about this same issue (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/281993). It has an associated patch (http://launchpadlibrarian.net/19501251/patch.keyboard) that apparently fixes things but it appears to be a bit of a kludge by simply reverting out the original quirks changes.
Kernel upstream has added a patch purporting to fix the media keys. If someone wants to whip up a kernel build with it, I'd be happy to test it out.
The fix appears to have hit Linus' tree the day after 2.6.29-rc3 was tagged. If one of the Koji builds for f10 has pulled it in, please point me to it and I'll test it out.
The commit revision on Linus' tree is:
Upstream patch is in 126.96.36.199-170.2.13
Thanks Chuck, I'll keep an eye out for it on Koji!
I tried kernel-188.8.131.52-170.2.17.rc1.fc10 last night but got a kernel oops sometime during the boot process and my NIC was broken again (likely related to #460747 and/or #448712). Something in the desktop was pegging the CPU, so I couldn't test the media keys. I will try to find time on Sunday to reproduce it and file a bug on the oops.
I installed kernel-184.108.40.206-170.2.24.fc10.x86_64 last night and everything appears happy and functional with it. The media keys were correctly automatically detected.
As far as I'm concerned it is fixed. What else needs to be done to help get the bug closed off and the update out to stable?