]> asedeno.scripts.mit.edu Git - linux.git/commit
platform/x86: intel-vbtn: support panel front button
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Thu, 9 Nov 2017 22:44:36 +0000 (23:44 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 8 Dec 2017 21:54:43 +0000 (13:54 -0800)
commit9678d0ef77d71a25e2194606238d9cb5b544c0f3
tree85e1f4a41baf45419817d4361dfbde827d3cfdab
parent3d5d95d316b6fb3863a633293beb4e1e69dc7693
platform/x86: intel-vbtn: support panel front button

The Lenovo Helix 2 and Dell XPS 12 (9Q33) have an extra button on the
front showing a 'Windows' logo, both reporting event codes 0xC2/0xC3
on press/release. On the Dell, both press/release are distinct events
while on the Helix 2 both events are generated on release.

Tested on XPS 12, for info on the Helix 2 see:
https://www.spinics.net/lists/ibm-acpi-devel/msg03982.html

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/intel-vbtn.c