hid-lenovo.c recently gained support for emitting KEY_PERFORMANCE (keycode 0x21a) on ThinkPad detachable keyboards. This keycode was added to the kernel in commit 89c5214.
Currently, no userspace component handles KEY_PERFORMANCE, so the performance hotkey is non-functional on these devices. The keypress reaches /dev/input/eventN, but nothing picks it up.
On the kernel side, we are planning to add KEY_PERFORMANCE support to thinkpad_acpi.c as well (for the built-in keyboard hotkey, HKEY 0x1023), replacing the current in-kernel platform_profile_cycle() call. However, we don't want to make that kernel change until userspace is ready to handle the key — otherwise the hotkey would break on existing systems.
Are there any plans in power-profiles-daemon to support KEY_PERFORMANCE?
hid-lenovo.c recently gained support for emitting KEY_PERFORMANCE (keycode 0x21a) on ThinkPad detachable keyboards. This keycode was added to the kernel in commit 89c5214.
Currently, no userspace component handles KEY_PERFORMANCE, so the performance hotkey is non-functional on these devices. The keypress reaches /dev/input/eventN, but nothing picks it up.
On the kernel side, we are planning to add KEY_PERFORMANCE support to thinkpad_acpi.c as well (for the built-in keyboard hotkey, HKEY 0x1023), replacing the current in-kernel platform_profile_cycle() call. However, we don't want to make that kernel change until userspace is ready to handle the key — otherwise the hotkey would break on existing systems.
Are there any plans in power-profiles-daemon to support KEY_PERFORMANCE?