]> git.karo-electronics.de Git - karo-tx-linux.git/commit
asus-nb-wmi: add some video toggle keys
authorAceLan Kao <acelan.kao@canonical.com>
Wed, 4 Jul 2012 07:20:14 +0000 (15:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:30:23 +0000 (10:30 -0700)
commit4368ade3ff2bfff1033f9e5758630b3d4e8f7e71
treee0714509fe43ea9225844dc4d9fe6304483d19b4
parent91a1da919e60a62ed3dfb10296e8eed4eb2b03bd
asus-nb-wmi: add some video toggle keys

commit 3766054fff4af1b58a1440a284907887f4d2e8be upstream.

There are some new video switch keys that used by newer machines.
0xA0 - SDSP HDMI only
0xA1 - SDSP LCD + HDMI
0xA2 - SDSP CRT + HDMI
0xA3 - SDSP TV + HDMI
But in Linux, there is no suitable userspace application to handle this,
so, mapping them all to KEY_SWITCHVIDEOMODE.

Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/asus-nb-wmi.c