summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorYurii Pavlovskyi2019-05-14 21:00:31 +0200
committerAndy Shevchenko2019-06-17 14:22:47 +0200
commite0668f28888184f6c633110a37386f2d4a6fa00e (patch)
tree41a806cd087cc71d85211ddaedc795c611075caa /CREDITS
parentplatform/x86: wmi: Add function to get _UID of WMI device (diff)
downloadkernel-qcow2-linux-e0668f28888184f6c633110a37386f2d4a6fa00e.tar.gz
kernel-qcow2-linux-e0668f28888184f6c633110a37386f2d4a6fa00e.tar.xz
kernel-qcow2-linux-e0668f28888184f6c633110a37386f2d4a6fa00e.zip
platform/x86: asus-wmi: Improve DSTS WMI method ID detection
The DSTS method detection mistakenly selects DCTS instead of DSTS if nothing is returned when the method ID is not defined in WMNB. As a result, the control of keyboard backlight is not functional for TUF Gaming series laptops. Implement detection based on _UID of the WMI device instead. There is evidence that DCTS is handled by ACPI WMI devices that have _UID ASUSWMI, whereas none of the devices without ASUSWMI respond to DCTS and DSTS is used instead [1]. DSDT examples: FX505GM (_UID ATK): Method (WMNB, 3, Serialized) { ... If ((Local0 == 0x53545344)) { ... Return (Zero) } ... // No return } K54C (_UID ATK): Method (WMNB, 3, Serialized) { ... If ((Local0 == 0x53545344)) { ... Return (0x02) } ... Return (0xFFFFFFFE) } [1] Link: https://lkml.org/lkml/2019/4/11/322 Signed-off-by: Yurii Pavlovskyi <yurii.pavlovskyi@gmail.com> Suggested-by: Daniel Drake <drake@endlessm.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions