Support of ASUS TUF Gaming series laptops
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest13 patches 5 repliesIn review
- v311 patches 23 repliesSuperseded
- v111 patches 5 repliesSuperseded
Changes in v4 from the cover letter
* Rebase on for-next branch
* Extract local variable in patch 01
* Rename new method to "..._method3" and keep comma in struct declaration in patch 03 (NOTE: the arg2 does not fit on same line by 1 character)
* Patch "Improve DSTS WMI method ID detection":
- sort local variables
- use dev_info
- separate changes to wmi module in an own patch
- rename method ID constants and fix comment capitalization
* "Support WMI event queue": split into separate refactoring and new functionality patches, use dev_info as well
* "Organize code into sections": split out error handling refactoring
* "Enhance detection of thermal data": remove unreasonable refactoring and just change the currently used condition
* "Control RGB keyboard backlight": removed, will be posted afterwards. I will follow on the status of the multicolor framework, it does look promising for this.
* Mark URL references with "Link:"
* Minor corrections to commit messages
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | platform/x86: asus-wmi: Fix hwmon device cleanupdrivers/ | +4 | 1 reply | |
| 2/13 | platform/x86: asus-wmi: Fix preserving keyboard backlight intensity on loaddrivers/ | +1 | 1 reply | |
| 3/13 | platform/x86: asus-wmi: Increase input buffer size of WMI methodsdrivers/ | +9 | 1 reply | |
| 4/13 | platform/x86: wmi: Add function to get _UID of WMI devicedrivers/ include/ | +20 | 1 reply | |
| 5/13 | platform/x86: asus-wmi: Improve DSTS WMI method ID detectiondrivers/ drivers/ include/ | +23 | 0 replies | |
| 6/13 | platform/x86: asus-wmi: Refactor WMI event handlingdrivers/ | +42 | 0 replies | |
| 7/13 | platform/x86: asus-wmi: Support WMI event queuedrivers/ | +68 | 0 replies | |
| 8/13 | platform/x86: asus-nb-wmi: Add microphone mute key codedrivers/ | +2 | 0 replies | |
| 9/13 | platform/x86: asus-wmi: Refactor error handlingdrivers/ | +1 | 0 replies | |
| 10/13 | platform/x86: asus-wmi: Organize code into sectionsdrivers/ | +47 | 0 replies | |
| 11/13 | platform/x86: asus-wmi: Enhance detection of thermal datadrivers/ | +5 | 0 replies | |
| 12/13 | platform/x86: asus-wmi: Switch fan boost modeDocumentation/ drivers/ include/ | +154 | 0 replies | |
| 13/13 | platform/x86: asus-wmi: Do not disable keyboard backlight on unloadingdrivers/ | +4 | 0 replies |
Reviews trailers per patch
3 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Drake |
|---|---|
| 1/13 | R-b |
| 2/13 | R-b |
| 3/13 | R-b |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/13] Support of ASUS TUF Gaming series laptops
Hi,
this is the fourth version of the patch series.
Changelog:
v4:
* Rebase on for-next branch
* Extract local variable in patch 01
* Rename new method to "..._method3" and keep comma in struct declaration in patch 03 (NOTE: the arg2 does not fit on same line by 1 character)
* Patch "Improve DSTS WMI method ID detection":
- sort local variables
- use dev_info
- separate changes to wmi module in an own patch
- rename method ID constants and fix comment capitalization
* "Support WMI event queue": split into separate refactoring and new functionality patches, use dev_info as well
* "Organize code into sections": split out error handling refactoring
* "Enhance detection of thermal data": remove unreasonable refactoring and just change the currently used condition
* "Control RGB keyboard backlight": removed, will be posted afterwards. I will follow on the status of the multicolor framework, it does look promising for this.
* Mark URL references with "Link:"
* Minor corrections to commit messages
v3:
* Use devm_* function in patch 01
* Detect DSTS/DCTS using _UID in patch 04
* Detect event queue by _UID as well in patch 05
* Rename poll function in patch 05
* Fix terminology in patches 09 and 10
* Correct commit messages
v2:
* Fix logging
INTRODUCTION
The support for this laptop series is currently non-existent, as the asus-nb-wmi driver (which is essentially configuration for asus-wmi) fails to load and multiple ACPI errors are logged in dmesg. This patch series adds pretty comprehensive support for these relatively new laptops, adds some code organization, and fixes a couple of bugs in the asus-wmi module.
Thread for V1/V2: https://lkml.org/lkml/2019/4/10/973
Thread for V3: https://lkml.org/lkml/2019/4/19/178
Yurii Pavlovskyi (13):
platform/x86: asus-wmi: Fix hwmon device cleanup platform/x86: asus-wmi: Fix preserving keyboard backlight intensity on
load
platform/x86: asus-wmi: Increase input buffer size of WMI methods platform/x86: wmi: Add function to get _UID of WMI device platform/x86: asus-wmi: Improve DSTS WMI method ID detection platform/x86: asus-wmi: Refactor WMI event handling platform/x86: asus-wmi: Support WMI event queue platform/x86: asus-nb-wmi: Add microphone mute key code platform/x86: asus-wmi: Refactor error handling platform/x86: asus-wmi: Organize code into sections platform/x86: asus-wmi: Enhance detection of thermal data platform/x86: asus-wmi: Switch fan boost mode platform/x86: asus-wmi: Do not disable keyboard backlight on unloading
.../ABI/testing/sysfs-platform-asus-wmi | 10 + drivers/hid/hid-asus.c | 2 +- drivers/platform/x86/asus-nb-wmi.c | 3 +- drivers/platform/x86/asus-wmi.c | 427 ++++++++++++++---- drivers/platform/x86/wmi.c | 19 + include/linux/acpi.h | 1 + include/linux/platform_data/x86/asus-wmi.h | 5 +- 7 files changed, 374 insertions(+), 93 deletions(-)
Signature · 1 line
2.17.1