• Rezwanul Kabir's avatar
    dell-wmi: Add support for new Dell systems · 5ea25597
    Rezwanul Kabir authored
    Newer Dell systems support HotKey features differently from legacy
    systems.  A new vendor specifc HotKey SMBIOS table (Type 0xB2) is
    defined. This table contains a mapping between scancode and the
    corresponding predefined keyfunction ( i.e. keycode).. Also, a new
    ACPI-WMI event type (called KeyIDList) with a value of 0x0010 is
    defined. Any BIOS containing 0xB2 table will send hotkey notifications
    using KeyIDList event.
    
    This is Rezwanul's patch, updated to ensure that brightness events are
    not sent if the backlight is controlled via ACPI and with the default
    keycode for the display output switching altered to match desktop
    expectations.
    Signed-off-by: default avatarRezwanul Kabir <Rezwanul_Kabir@dell.com>
    Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    5ea25597
dell-wmi.c 9.42 KB