Am 27.06.2016 um 13:16 schrieb Michał Kępień: >>>> As to >>>> the touch keys, it sounds like this might be a BIOS thing to - is it? >>> >>> Are you referring to the "touchpad toggle" key? If you are, I will soon >>> post a patch adding support for this key so that Jan-Marek can test it. >>> I just need to find some time to actually write it. >> >> This needs a small patch. But getting the keycode into X11 seems to be >> impossible, as X / xev can't handle keycodes > 255 (KEY_TOUCHPAD_TOGGLE). >> >> I'm currently running evrouter, to call a script on the event, which >> dis-/enables the input device using xinput. > > So does my patch work after the set_bit() you suggested is added? You > have not explicitly stated that, so I can only guess it works. Yup - it works. Should I add a Tested-by to the merged version? How is this normally handled? > If you really want to avoid using helper software, patch your kernel to > generate a different event when Fn+F4 is pressed. That would really be hackish, I guess ;-) Probably I'll go with a patch to the X11 evdev driver for remapping: http://www.thenautilus.net/cgit/xf86-input-evdev/commit/?h=code-remap-2.9.2 as XF86XK_TouchpadToggle is already mapped to 199 in my xmodmap. Regards, Jan-Marek -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html