diff options
| author | Hans van Essen <hans@kilurion.com> | 2026-10-06 12:39:22 +0200 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-11-20 14:59:24 +0100 |
| commit | 7c2f5e907f236844d147b09a4019f553488f7ffa (patch) | |
| tree | bbb70cf43bbb8ea0f4e2c63e2efddce5fe3c892f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 72cfde169c753307cc4ea5fdd4090d45029d37fb (diff) | |
HID: asus: Resume the device before sending feature reports
asus_kbd_set_report() sends a SET_REPORT control request through
hid_hw_raw_request(). usbhid does not take a runtime PM reference for
raw requests, so the request fails while the keyboard is runtime
suspended. On a ROG Zephyrus G16 (GU605CW, N-KEY 0b05:19b6) with
power/control set to auto, every deferred backlight change from
asus_work() is lost:
asus 0003:0B05:19B6.0002: Asus failed to set keyboard backlight: -108
Wrap the request in hid_hw_power(), as hidraw does, so the device is
resumed for the write and can autosuspend again afterwards.
Assisted-by: LLM
Signed-off-by: Hans van Essen <hans@kilurion.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
