[SRU] [J/M/N] [PATCH 0/1] Avoid creating non-working backlight sysfs knob from ASUS board

Kai-Heng Feng kai.heng.feng at canonical.com
Mon Apr 8 03:33:09 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2060422

[Impact]
Backlight sysfs knobs created by asus-wmi don't really work, hence
systemd-backlight services are in failed state.

[Fix]
Ensure the backlight device are really present

[Test]
With the fix applied, the backlight sysfs knobs are not longer present
under /sys/class/backlight, so there's no more failed systemd-backlight
service.

[Where problems could occur]
Though highly unlikely, but if there's working device that is created
even when the WMI read is 0xffffffff, the device will be missing.

Kai-Heng Feng (1):
  platform/x86: asus-wmi: Consider device is absent when the read is ~0

 drivers/platform/x86/asus-wmi.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

-- 
2.34.1




More information about the kernel-team mailing list