I already got the keycode from kernel, but acpi_listen
won't recognize it in Arch Linux:
# /usr/lib/udev/keymap -i /dev/input/by-path/platform-thinkpad_acpi-event
Press ESC to finish, or Control-C if this device is not your primary keyboard
scan code: 0x1A key code: micmute
Now I try to map the key by:
# /usr/lib/udev/keymap /dev/input/by-path/platform-thinkpad_acpi-event 0x01a micmute
setting scanode 0x1A to key code 248
But acpi_listen
still got no output here.
How should I make acpi_listen
recognize it?
UPDATE2
Well , evdev driver doesn't seem to recognize this , I heard someone saying that xorg won't route key event number that went beyond the limit..
It has to be solved as a acpi event , but don't know how
UPDATE
Seems to be complicated,
$ xmodmap -e 'keycode 248 = XF86MicMute NoSymbol XF86MicMute'
xmodmap: commandline:1: bad keysym name 'XF86MicMute' in keysym list
xmodmap: commandline:1: bad keysym name 'XF86MicMute' in keysym list
xmodmap: 2 errors encountered, aborting.
248
is simply not mapped because248+8>255
, the hard-coded limit... So to workaround you first have to change this on a lower level beforexmodmap
is of any use.