]> 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:39:41 +0000 (10:39 -0700)
commit985e9e0c17ed6aabccc895a68b6202e763746367
treef7687133dbb3e6f207c69a128b82262669879353
parent345f1f9cea2fda5e2444fdcbc620487fca7033df
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