- 20 1月, 2016 1 次提交
-
-
由 Weng Xuetian 提交于
Surface Pro 4 buttons are managed by a device with _HID "MSHW0040" different from Surface Pro 3. This commit adds MSHW0040 to id list to support the Surface Pro 4. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=109871Signed-off-by: NWeng Xuetian <wengxt@gmail.com> Acked-by: NChen Yu <yu.c.chen@intel.com> Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
-
- 26 8月, 2015 1 次提交
-
-
由 Chen Yu 提交于
Since Surface Pro 3 does not follow the specs of "Windows ACPI Design Guide for SoC Platform", code in drivers/input/misc/soc_array.c can not detect these buttons on it. According to bios implementation, Surface Pro 3 encapsulates these buttons in a device named "VGBI", with _HID "MSHW0028". When any of the buttons is pressed, a specify ACPI notification code for this button will be delivered to "VGBI". For example, if power button is pressed down, ACPI notification code of 0xc6 will be sent by Notify(VGBI, 0xc6). This patch leverages "VGBI" to distinguish different ACPI notification code from Power button, Home button, Volume button, then dispatches these code to input layer. Lid is already covered by acpi button driver, so there's no need to rewrite. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=84651Tested-by: NEthan Schoonover <es@ethanschoonover.com> Tested-by: NPeter Amidon <psa.pub.0@picnicpark.org> Tested-by: NDonavan Lance <tusklahoma@gmail.com> Tested-by: NStephen Just <stephenjust@gmail.com> Signed-off-by: NChen Yu <yu.c.chen@intel.com> [dvhart@linux.intel.com: Formatting corrections in MAINTAINERS and Intel (c)] Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
-