RFC platform/x86: asus-wmi: Only map brightness codes when using asus-wmi backlight control
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to 0x2edrivers/ | +1 | 0 replies | |
| 2/3 | platform/x86: asus-wmi: Only map brightness codes when using asus-wmi backlight controldrivers/ | +4 | 0 replies | |
| 3/3 | platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c eventsdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/3] platform/x86: asus-wmi: Only map brightness codes when using asus-wmi backlight control
Hi All,
Here is a series to address the issue of some newer Asus laptop models sending 0x2a - 0x2c events for various keys which fall within the NOTIFY_BRNDOWN_MIN - NOTIFY_BRNDOWN_MAX range causing these to wrongly get translated to KEY_BRIGHTNESSDOWN events.
To fix this change the NOTIFY_BRNUP_MIN - NOTIFY_BRNUP_MAX + NOTIFY_BRNDOWN_MIN - NOTIFY_BRNDOWN_MAX key-mapping to only apply to old models which use the vendor specific asus-wmi interface for backlight control.
This series is marked as RFC because I still need to hear back from the reporter if this series actually fixes things.
Regards,
Hans
Hans de Goede (3):
platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to
0x2e
platform/x86: asus-wmi: Only map brightness codes when using asus-wmi
backlight control
platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c events
drivers/platform/x86/asus-nb-wmi.c | 3 +++ drivers/platform/x86/asus-wmi.c | 15 ++++----------- drivers/platform/x86/asus-wmi.h | 2 +- 3 files changed, 8 insertions(+), 12 deletions(-)
Signature · 1 line
2.41.0