Plippo / asus-wmi-screenpad

Variation of the asus-wmi kernel module with screenpad brightness support
Other
155 stars 19 forks source link

Not Working with Kernel 5.13 (Ubuntu 21.10) #33

Closed macbrownzie closed 2 years ago

macbrownzie commented 2 years ago

Good Evening,

I updated my ZenBook to Ubuntu 21.10 (Kernel 5.13) today and tried the remove and reinstall. Like 5.11 the keyboard special keys seem to work okay, but the /sys/class/leds/asus::screenpad folder is NOT being created so the brightness file isn't accessible.

Any assistance would be greatly appreciated.

Thanks in advance

macbrownzie commented 2 years ago

Thanks SO much to Dave Jensen (jibsaramnim)!!

With his help I was able to determine that the issue with loading this on Ubuntu 21.10 (Kernel 5.13) was some kind of loadable module order or priority error. When the mfd_aaeon kernel module is loaded BEFORE the asus_wmi and asus_nb_wmi, the /sys/class/leds/asus::screenpad folder is not created properly.

If the mfd_aaeon, asus_nb_wmi and asus_wmi are rmmod(ed) and modprobed after boot-up the necessary files are created and the screenpad functions as expected.

Another solution is to simply blacklist the mfd_aaeon module and then the asus_wmi and asus_nb_wmi work as expected.

If anyone has any information on what the mfd_aaeon module is, please post it here.

Thanks, _Macbrownzie