Sample Header Ad - 728x90

Setting up kernel keyboard mapping

5 votes
1 answer
3041 views
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.
Asked by daisy (55777 rep)
May 18, 2012, 01:32 PM
Last activity: Apr 20, 2019, 03:02 PM