Skip to content

Support for KEY_PERFORMANCE hotkey to cycle platform profiles #861

Description

@vishnuocv

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions