]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 Apr 2020 22:05:59 +0000 (00:05 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 5 May 2020 12:32:51 +0000 (15:32 +0300)
commit1229b02b830d2cd5a53614b4d80cae9efa2721ff
treee44328322118bdc35eb5190b7fbdc3484aa8d77b
parent8888bcd92e69457aaf84fda1ed8f0340c3fcc493
platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA

asus-nb-wmi does not add any extra functionality on these Asus
Transformer books. They have detachable keyboards, so the hotkeys are
send through a HID device (and handled by the hid-asus driver) and also
the rfkill functionality is not used on these devices.

Besides not adding any extra functionality, initializing the WMI interface
on these devices actually has a negative side-effect. For some reason
the \_SB.ATKD.INIT() function which asus_wmi_platform_init() calls drives
GPO2 (INT33FC:02) pin 8, which is connected to the front facing webcam LED,
high and there is no (WMI or other) interface to drive this low again
causing the LED to be permanently on, even during suspend.

This commit adds a blacklist of DMI system_ids on which not to load the
asus-nb-wmi and adds these Transformer books to this list. This fixes
the webcam LED being permanently on under Linux.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/asus-nb-wmi.c