Skip to contentSkip to conversation

Regression in kernel 6.12.1 preventing asus_nb_wmi from loading

Bug report Edoardo Brogiolo 2 participants 4 messages Dec 1, 2024 – Dec 2, 2024 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

Dear all,

I hope this e-mail finds you well.
I am writing to bring up an issue I have experienced since upgrading to the Linux kernel 6.12.1:

I have been unable to set max battery charging, keyboard brightness, and actioning special keys (micmute, enable touchpad, etc.).

With the help of the Archlinux devs (https://bbs.archlinux.org/viewtopic.php?id=301341), the issue was found to have been introduced by

kernel patch b012170fed282151f7ba8988a347670c299f5ab3 (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b012170fed282151f7ba8988a347670c299f5ab3), leading to the kernel being unable to load  asus_nb_wmi.

Reverting that patch fixes all of the aforementioned issues. Please see the Archlinux bbs thread for full logs and steps taken to identify said patch as the cause of the regression. While I do not possess the technical skills to help developing and implementing a fix, I would be keen to help out testing possible solutions on my hardware.

Thank you, and kind regards,

Edoardo Brogiolo

#1 lore raw

Am 01.12.24 um 11:40 schrieb Edoardo Brogiolo:

Quoted 19 lines

Dear all,

I hope this e-mail finds you well.
I am writing to bring up an issue I have experienced since upgrading to the Linux kernel 6.12.1:

I have been unable to set max battery charging, keyboard brightness, and actioning special keys (micmute, enable touchpad, etc.).

With the help of the Archlinux devs
(https://bbs.archlinux.org/viewtopic.php?id=301341), the issue was found to have been introduced by

kernel patch b012170fed282151f7ba8988a347670c299f5ab3
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b012170fed282151f7ba8988a347670c299f5ab3),
leading to the kernel being unable to load  asus_nb_wmi.

Quoted 7 lines

Reverting that patch fixes all of the aforementioned issues. Please see the Archlinux bbs thread for full logs and steps taken to identify said patch as the cause of the regression.
While I do not possess the technical skills to help developing and implementing a fix, I would be keen to help out testing possible solutions on my hardware.

Interesting, can you share the output of "acpidump"? Can you also try the patch proposed in a similar bug report (https://bugzilla.kernel.org/show_bug.cgi?id=219517)?

Thanks,
Armin Wolf

Quoted 4 lines

Thank you, and kind regards,

Edoardo Brogiolo

#2 lore raw

Dear Armin,

Please find below the acpidump outputs for

Linux 6.12.1
https://www.brogiolo.eu/nextcloud/s/NFPKR6gPErTAnnn

Linux 6.12.1 with patch b012170fed282151f7ba8988a347670c299f5ab3 reversed
https://www.brogiolo.eu/nextcloud/s/NePsSABrnHTfQNf

I would be happy to test your patch at https://bugzilla.kernel.org/show_bug.cgi?id=219517, but lack experience compiling the Linux kernel. How would I be able to fit the diff file in the following step-by-step guide? https://wiki.archlinux.org/title/Compile_kernel_module

Thank you,

Edoardo

Quoted 38 lines · Armin Wolf

Am 01.12.24 um 11:40 schrieb Edoardo Brogiolo:

Quoted 20 lines

Dear all,

I hope this e-mail finds you well.
I am writing to bring up an issue I have experienced since upgrading to the Linux kernel 6.12.1:

I have been unable to set max battery charging, keyboard brightness, and actioning special keys (micmute, enable touchpad, etc.).

With the help of the Archlinux devs
(https://bbs.archlinux.org/viewtopic.php?id=301341), the issue was found to have been introduced by

kernel patch b012170fed282151f7ba8988a347670c299f5ab3
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b012170fed282151f7ba8988a347670c299f5ab3),

leading to the kernel being unable to load  asus_nb_wmi.

Quoted 7 lines

Reverting that patch fixes all of the aforementioned issues. Please see the Archlinux bbs thread for full logs and steps taken to identify said patch as the cause of the regression.
While I do not possess the technical skills to help developing and implementing a fix, I would be keen to help out testing possible solutions on my hardware.

Interesting, can you share the output of "acpidump"? Can you also try the patch proposed in a similar bug report (https://bugzilla.kernel.org/show_bug.cgi?id=219517)?

Thanks,
Armin Wolf

Quoted 4 lines

Thank you, and kind regards,

Edoardo Brogiolo

#3 lore raw

Am 02.12.24 um 01:56 schrieb Edoardo Brogiolo:

Quoted 17 lines

Dear Armin,

Please find below the acpidump outputs for

Linux 6.12.1
https://www.brogiolo.eu/nextcloud/s/NFPKR6gPErTAnnn

Linux 6.12.1 with patch b012170fed282151f7ba8988a347670c299f5ab3 reversed
https://www.brogiolo.eu/nextcloud/s/NePsSABrnHTfQNf

I would be happy to test your patch at
https://bugzilla.kernel.org/show_bug.cgi?id=219517, but lack experience compiling the Linux kernel.
How would I be able to fit the diff file in the following step-by-step guide? https://wiki.archlinux.org/title/Compile_kernel_module

Quoted 4 lines

Thank you,

Edoardo

After looking at the ACPI tables, i do not think that you need to test those patches again, since your device has the same issue as the device from the bugzilla bug report.

However if you still want to give it a try, then you can apply the patch to the linux git tree using git am <patch file>. Then you just need to build the x86 platform drivers (make M=drivers/platform/x86).

I will try to get the patch upstream ASAP so that it can be included in the next stable kernels.

Thanks,
Armin Wolf

Quoted 41 lines · Armin Wolf
Quoted 40 lines

Am 01.12.24 um 11:40 schrieb Edoardo Brogiolo:

Quoted 20 lines

Dear all,

I hope this e-mail finds you well.
I am writing to bring up an issue I have experienced since upgrading to the Linux kernel 6.12.1:

I have been unable to set max battery charging, keyboard brightness, and actioning special keys (micmute, enable touchpad, etc.).

With the help of the Archlinux devs
(https://bbs.archlinux.org/viewtopic.php?id=301341), the issue was found to have been introduced by

kernel patch b012170fed282151f7ba8988a347670c299f5ab3
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b012170fed282151f7ba8988a347670c299f5ab3),

leading to the kernel being unable to load  asus_nb_wmi.

Quoted 7 lines

Reverting that patch fixes all of the aforementioned issues. Please see the Archlinux bbs thread for full logs and steps taken to identify said patch as the cause of the regression.
While I do not possess the technical skills to help developing and implementing a fix, I would be keen to help out testing possible solutions on my hardware.

Interesting, can you share the output of "acpidump"? Can you also try the patch proposed in a similar bug report
(https://bugzilla.kernel.org/show_bug.cgi?id=219517)?

Thanks,
Armin Wolf

Quoted 4 lines

Thank you, and kind regards,

Edoardo Brogiolo