Bug 207965 - [ASUS GA401] asus_nb_wmi, asus_wmi patches and i8042 conflict
Summary: [ASUS GA401] asus_nb_wmi, asus_wmi patches and i8042 conflict
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Platform_x86 (show other bugs)
Hardware: i386 Linux
: P1 normal
Assignee: drivers_platform_x86@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 07:52 UTC by Mateusz
Modified: 2020-05-29 09:25 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.6.14
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmidecode.log (10.25 KB, text/plain)
2020-05-29 07:52 UTC, Mateusz
Details
acpidump.log (841.85 KB, text/plain)
2020-05-29 07:52 UTC, Mateusz
Details
dmidecode.log (10.25 KB, text/plain)
2020-05-29 07:53 UTC, Mateusz
Details
asus-wmi-kernel-5.6.14.patch (6.28 KB, patch)
2020-05-29 07:54 UTC, Mateusz
Details | Diff
asus-nb-wm-remove-i8042.patch (1.47 KB, patch)
2020-05-29 07:54 UTC, Mateusz
Details | Diff

Description Mateusz 2020-05-29 07:52:18 UTC
Created attachment 289399 [details]
dmidecode.log

I got an ASUS Rog Zephyrus G14 GA401IU with AMD Ryzen 7 4800HS and a 1660Ti.
They are some patches required to get asus_wmi and asus_nb_wmi working, after those patches fan control via throttle_thermal_policy in asus_nb_wmi if working really nice.
I am posting in attachments those patches and more device logs.
But they is an another problem with the i8042 module, asus_nb_wmi requires symbols from the i8042 but on G14 the i8042 module doesn't load because it show on dmesg "i8042: PNP: No PS/2 controller found". I think they are just no PS/2 devices on that device, the keyboard appears to be connected to usb and touchpad is some kind i2c interface. It works fine when the i8042 is build-in into the kernel, but when it is build as module the asus_nb_wmi can not be loaded.
For testing I just removed all i8042 functions from the asus_nb_wmi module, since it is used only by the old ASUS Q500 laptop, no other laptop in this module does use it.
Not sure how should this be handled, best way would be to separate the Q500 into a different module or allow i8042 loading even when they are no PS/2 controllers.
Comment 1 Mateusz 2020-05-29 07:52:52 UTC
Created attachment 289401 [details]
acpidump.log
Comment 2 Mateusz 2020-05-29 07:53:13 UTC
Created attachment 289403 [details]
dmidecode.log
Comment 3 Mateusz 2020-05-29 07:54:29 UTC
Created attachment 289405 [details]
asus-wmi-kernel-5.6.14.patch
Comment 4 Mateusz 2020-05-29 07:54:55 UTC
Created attachment 289407 [details]
asus-nb-wm-remove-i8042.patch
Comment 5 Mateusz 2020-05-29 07:56:53 UTC
Thanks to ZappeL for creating the asus-wmi-kernel-5.6.14.patch patch

Note You need to log in before you can comment on or make changes to this bug.