Bug 757365 - Microphone-mute-key does not work in X11
Summary: Microphone-mute-key does not work in X11
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-keyboard
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-26 17:37 UTC by tuxor
Modified: 2011-11-29 04:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-29 04:46:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description tuxor 2011-11-26 17:37:21 UTC
Description of problem:
My ThinkPad's "microphone mute" key doesn't work in X anymore (used to work in Fedora 15). Doesn't produce any output in "xev" and I thus can't use it as Gnome shortcut in Control Center.

Version-Release number of selected component (if applicable):
xorg-x11-drv-keyboard.x86_64                1.6.0-2.fc16

How reproducible:
always

Steps to Reproduce:
1. start xev in terminal
2. press microphone-mute-key
3. notice the missing output in terminal window
  
Actual results:
No response from xev in terminal window.

Expected results:
A key-pressed-event. Used to be Keycode 248 in Fedora 15, and still is in Ubuntu 11.10 and Linux Mint 12 (Beta).

Additional info:

The key is managed by /dev/input/event6 (ThinkPad Extra Buttons). Other keys managed by this device (e.g. Fn+F8 - touchpad toggle) are working as expected. 

In tty (Ctrl-Alt-F3), I'm not getting any response in "showkey -s", but I'm getting "Keycode 248" when using "showkey -k". Strangely enough, in Fedora 15 "showkey -k" used to yield "Keycode 240".

I tried the tool "getscancodes" from http://keytouch.sourceforge.net/dl-getscancodes.html and applied it on /dev/input/event6. It yields scancode 26 (0x1a), when mic-mute-button is pressed.

Comment 1 Peter Hutterer 2011-11-29 04:46:09 UTC
from linux/input.h:
#define KEY_MICMUTE             248     /* Mute / unmute the microphone */
and
#define KEY_UNKNOWN             240

so my guess was that it was simply unknown in f15 but it is known now. the problem you're running into though is the 255 keycode limit in X. Anything that's (kernel keycode + 8 >= 255) cannot be routed by X. sorry.

See the upstream bug here: https://bugs.freedesktop.org/show_bug.cgi?id=11227


Note You need to log in before you can comment on or make changes to this bug.