[Maverick SRU][PATCH 0/2] Enable volume hot keys on Dell All-In-One with broken firmware.

Colin King colin.king at canonical.com
Tue Jan 11 16:42:54 UTC 2011


From: Colin Ian King <colin.king at canonical.com>

Enable WMI hotkeys on event GUID 02314822-307C-4F66-bf0E-48AEAEB26CC8. This
enables the volume up and down keys.  This Dell All-In-One enablement also
has to work around a firmware implementation bug where the WMI _WED method
should return an integer containing the key code and in fact the method
incorrectly returns the key code in element zero of a buffer.

The second patch in this series tidies up the driver by removing a lot of
redundant code by using sparse keymaps.

BugLink: http://bugs.launchpad.net/bugs/701530

Impact: Dell device is lacking volume up/down hotkeys which require
a WMI driver to handle the WMI hotkey events with the GUID
02314822-307C-4F66-bf0E-48AEAEB26CC8.

Fix: Update dell WMI driver to support GUID 02314822-307C-4F66-bf0E-48AEAEB26CC8.
and handle firmware bug in _WED method return value.

Testcase: With the driver, hotkeys work correctly. Without the driver,
hotkeys don't work.

Colin Ian King (2):
  UBUNTU: SAUCE: Add WMI hotkeys support for another Dell All-In-One
    series
  UBUNTU: SAUCE: Dell WMI: Use sparse keymaps and tidy up code.

 drivers/platform/x86/dell-wmi-aio.c |  182 +++++++++++++----------------------
 1 files changed, 67 insertions(+), 115 deletions(-)




More information about the kernel-team mailing list