]> git.baikalelectronics.ru Git - kernel.git/commit
dell-wmi: Add support for new Dell systems
authorRezwanul Kabir <Rezwanul_Kabir@dell.com>
Mon, 2 Nov 2009 17:00:42 +0000 (12:00 -0500)
committerLen Brown <len.brown@intel.com>
Thu, 10 Dec 2009 05:19:36 +0000 (00:19 -0500)
commitb11f3efaa00d3ce3eba7a476fe2ba2057f8c88ce
tree1958656b00fc42986a43ff6ac9184ee33c0201bd
parenta3bd51081385ae70b27b40b645963b715a972743
dell-wmi: Add support for new Dell systems

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: Rezwanul Kabir <Rezwanul_Kabir@dell.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/dell-wmi.c