public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION][BISECTED] asus-wmi driver fails on my laptop
@ 2024-12-06 13:33 Yura Strilets
  2024-12-06 18:15 ` Armin Wolf
  0 siblings, 1 reply; 4+ messages in thread
From: Yura Strilets @ 2024-12-06 13:33 UTC (permalink / raw)
  To: platform-driver-x86; +Cc: regressions, linux-kernel

Hello,

After upgrading from 6.11 to 6.12 a bunch of Fn+Fx buttons(touchpad, 
mic, kb backlight, my asus) stopped working and the 
/sys/(...)/asus::kbd_backlight interface is missing, which, considering 
the dmesg, looks like an asus-wmi driver issue.

I've been able to bisect the issue to the commit 
[b012170fed282151f7ba8988a347670c299f5ab3] "platform/x86: asus-wmi: Fix 
thermal profile initialization"

Additionally, here's some maybe-helpful information:
my laptop's model -- ASUS Zenbook UX3402VA
linux distro -- Arch Linux
.config for bisection -- was taken from /proc/config.gz at 6.12.1 arch 
kernel(attached in [1]) and missing options are default
dmesg logs -- The "grep asus" parts of both good and bad scenarios can 
be seen below and full logs are at [2] and [3]

== bad.log ==
[    3.664546] asus_wmi: ASUS WMI generic driver loaded
[    3.713358] asus_wmi: Initialization: 0x1
[    3.714126] asus_wmi: SFUN value: 0x21
[    3.714131] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[    3.757420] asus_wmi: Failed to set throttle thermal policy (retval): 0x0
[    3.757425] asus_wmi: Failed to set default thermal profile
[    3.757429] asus-nb-wmi asus-nb-wmi: probe with driver asus-nb-wmi 
failed with error -5
== end ==

== good.log ==
[    4.557898] asus_wmi: ASUS WMI generic driver loaded
[    4.776587] asus_wmi: Initialization: 0x1
[    4.777253] asus_wmi: SFUN value: 0x21
[    4.777256] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[    4.777258] asus-nb-wmi asus-nb-wmi: Detected ATK, enable event queue
[    4.805497] input: Asus WMI hotkeys as 
/devices/platform/asus-nb-wmi/input/input15
== end ==

[1] .config - https://pastebin.com/raw/3nDSV8Sm
[2] bad.log - https://pastebin.com/raw/fvR5Sjzt
[3] good.log - https://pastebin.com/raw/EazfLAWA

Thanks,
Yurii

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [REGRESSION][BISECTED] asus-wmi driver fails on my laptop
  2024-12-06 13:33 [REGRESSION][BISECTED] asus-wmi driver fails on my laptop Yura Strilets
@ 2024-12-06 18:15 ` Armin Wolf
  2024-12-06 21:18   ` Yurii Strilets
  0 siblings, 1 reply; 4+ messages in thread
From: Armin Wolf @ 2024-12-06 18:15 UTC (permalink / raw)
  To: Yura Strilets, platform-driver-x86; +Cc: regressions, linux-kernel

Am 06.12.24 um 14:33 schrieb Yura Strilets:

> Hello,
>
> After upgrading from 6.11 to 6.12 a bunch of Fn+Fx buttons(touchpad,
> mic, kb backlight, my asus) stopped working and the
> /sys/(...)/asus::kbd_backlight interface is missing, which,
> considering the dmesg, looks like an asus-wmi driver issue.
>
> I've been able to bisect the issue to the commit
> [b012170fed282151f7ba8988a347670c299f5ab3] "platform/x86: asus-wmi:
> Fix thermal profile initialization"
>
> Additionally, here's some maybe-helpful information:
> my laptop's model -- ASUS Zenbook UX3402VA
> linux distro -- Arch Linux
> .config for bisection -- was taken from /proc/config.gz at 6.12.1 arch
> kernel(attached in [1]) and missing options are default
> dmesg logs -- The "grep asus" parts of both good and bad scenarios can
> be seen below and full logs are at [2] and [3]
>
> == bad.log ==
> [    3.664546] asus_wmi: ASUS WMI generic driver loaded
> [    3.713358] asus_wmi: Initialization: 0x1
> [    3.714126] asus_wmi: SFUN value: 0x21
> [    3.714131] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use
> DSTS
> [    3.757420] asus_wmi: Failed to set throttle thermal policy
> (retval): 0x0
> [    3.757425] asus_wmi: Failed to set default thermal profile
> [    3.757429] asus-nb-wmi asus-nb-wmi: probe with driver asus-nb-wmi
> failed with error -5
> == end ==
>
> == good.log ==
> [    4.557898] asus_wmi: ASUS WMI generic driver loaded
> [    4.776587] asus_wmi: Initialization: 0x1
> [    4.777253] asus_wmi: SFUN value: 0x21
> [    4.777256] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use
> DSTS
> [    4.777258] asus-nb-wmi asus-nb-wmi: Detected ATK, enable event queue
> [    4.805497] input: Asus WMI hotkeys as
> /devices/platform/asus-nb-wmi/input/input15
> == end ==
>
> [1] .config - https://pastebin.com/raw/3nDSV8Sm
> [2] bad.log - https://pastebin.com/raw/fvR5Sjzt
> [3] good.log - https://pastebin.com/raw/EazfLAWA
>
> Thanks,
> Yurii
>
I am aware of this issue, the necessary fix (commit 25fb5f47f34d) was already submitted upstream and will likely
show up in the stable kernels soon.

Thanks,
Armin Wolf


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [REGRESSION][BISECTED] asus-wmi driver fails on my laptop
  2024-12-06 18:15 ` Armin Wolf
@ 2024-12-06 21:18   ` Yurii Strilets
  2024-12-06 22:02     ` Armin Wolf
  0 siblings, 1 reply; 4+ messages in thread
From: Yurii Strilets @ 2024-12-06 21:18 UTC (permalink / raw)
  To: Armin Wolf; +Cc: platform-driver-x86, regressions, linux-kernel

Thank you very much for the fix!
I am terribly sorry about a faulty report, I did just find out I had an issue during the mainline build.

Dec 6, 2024 20:15:05 Armin Wolf <W_Armin@gmx.de>:

> Am 06.12.24 um 14:33 schrieb Yura Strilets:
> 
>> Hello,
>> 
>> After upgrading from 6.11 to 6.12 a bunch of Fn+Fx buttons(touchpad,
>> mic, kb backlight, my asus) stopped working and the
>> /sys/(...)/asus::kbd_backlight interface is missing, which,
>> considering the dmesg, looks like an asus-wmi driver issue.
>> 
>> I've been able to bisect the issue to the commit
>> [b012170fed282151f7ba8988a347670c299f5ab3] "platform/x86: asus-wmi:
>> Fix thermal profile initialization"
>> 
>> Additionally, here's some maybe-helpful information:
>> my laptop's model -- ASUS Zenbook UX3402VA
>> linux distro -- Arch Linux
>> .config for bisection -- was taken from /proc/config.gz at 6.12.1 arch
>> kernel(attached in [1]) and missing options are default
>> dmesg logs -- The "grep asus" parts of both good and bad scenarios can
>> be seen below and full logs are at [2] and [3]
>> 
>> == bad.log ==
>> [    3.664546] asus_wmi: ASUS WMI generic driver loaded
>> [    3.713358] asus_wmi: Initialization: 0x1
>> [    3.714126] asus_wmi: SFUN value: 0x21
>> [    3.714131] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use
>> DSTS
>> [    3.757420] asus_wmi: Failed to set throttle thermal policy
>> (retval): 0x0
>> [    3.757425] asus_wmi: Failed to set default thermal profile
>> [    3.757429] asus-nb-wmi asus-nb-wmi: probe with driver asus-nb-wmi
>> failed with error -5
>> == end ==
>> 
>> == good.log ==
>> [    4.557898] asus_wmi: ASUS WMI generic driver loaded
>> [    4.776587] asus_wmi: Initialization: 0x1
>> [    4.777253] asus_wmi: SFUN value: 0x21
>> [    4.777256] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use
>> DSTS
>> [    4.777258] asus-nb-wmi asus-nb-wmi: Detected ATK, enable event queue
>> [    4.805497] input: Asus WMI hotkeys as
>> /devices/platform/asus-nb-wmi/input/input15
>> == end ==
>> 
>> [1] .config - https://pastebin.com/raw/3nDSV8Sm
>> [2] bad.log - https://pastebin.com/raw/fvR5Sjzt
>> [3] good.log - https://pastebin.com/raw/EazfLAWA
>> 
>> Thanks,
>> Yurii
>> 
> I am aware of this issue, the necessary fix (commit 25fb5f47f34d) was already submitted upstream and will likely
> show up in the stable kernels soon.
> 
> Thanks,
> Armin Wolf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [REGRESSION][BISECTED] asus-wmi driver fails on my laptop
  2024-12-06 21:18   ` Yurii Strilets
@ 2024-12-06 22:02     ` Armin Wolf
  0 siblings, 0 replies; 4+ messages in thread
From: Armin Wolf @ 2024-12-06 22:02 UTC (permalink / raw)
  To: Yurii Strilets; +Cc: platform-driver-x86, regressions, linux-kernel

Am 06.12.24 um 22:18 schrieb Yurii Strilets:

> Thank you very much for the fix!
> I am terribly sorry about a faulty report, I did just find out I had an issue during the mainline build.

There is nothing faulty about your report, the necessary fix is still not available in any stable kernels.
On the contrary i am happy that so many users are reporting this issue, because otherwise we would have
never heard of it :)

Thanks,
Armin Wolf

> Dec 6, 2024 20:15:05 Armin Wolf <W_Armin@gmx.de>:
>
>> Am 06.12.24 um 14:33 schrieb Yura Strilets:
>>
>>> Hello,
>>>
>>> After upgrading from 6.11 to 6.12 a bunch of Fn+Fx buttons(touchpad,
>>> mic, kb backlight, my asus) stopped working and the
>>> /sys/(...)/asus::kbd_backlight interface is missing, which,
>>> considering the dmesg, looks like an asus-wmi driver issue.
>>>
>>> I've been able to bisect the issue to the commit
>>> [b012170fed282151f7ba8988a347670c299f5ab3] "platform/x86: asus-wmi:
>>> Fix thermal profile initialization"
>>>
>>> Additionally, here's some maybe-helpful information:
>>> my laptop's model -- ASUS Zenbook UX3402VA
>>> linux distro -- Arch Linux
>>> .config for bisection -- was taken from /proc/config.gz at 6.12.1 arch
>>> kernel(attached in [1]) and missing options are default
>>> dmesg logs -- The "grep asus" parts of both good and bad scenarios can
>>> be seen below and full logs are at [2] and [3]
>>>
>>> == bad.log ==
>>> [    3.664546] asus_wmi: ASUS WMI generic driver loaded
>>> [    3.713358] asus_wmi: Initialization: 0x1
>>> [    3.714126] asus_wmi: SFUN value: 0x21
>>> [    3.714131] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use
>>> DSTS
>>> [    3.757420] asus_wmi: Failed to set throttle thermal policy
>>> (retval): 0x0
>>> [    3.757425] asus_wmi: Failed to set default thermal profile
>>> [    3.757429] asus-nb-wmi asus-nb-wmi: probe with driver asus-nb-wmi
>>> failed with error -5
>>> == end ==
>>>
>>> == good.log ==
>>> [    4.557898] asus_wmi: ASUS WMI generic driver loaded
>>> [    4.776587] asus_wmi: Initialization: 0x1
>>> [    4.777253] asus_wmi: SFUN value: 0x21
>>> [    4.777256] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use
>>> DSTS
>>> [    4.777258] asus-nb-wmi asus-nb-wmi: Detected ATK, enable event queue
>>> [    4.805497] input: Asus WMI hotkeys as
>>> /devices/platform/asus-nb-wmi/input/input15
>>> == end ==
>>>
>>> [1] .config - https://pastebin.com/raw/3nDSV8Sm
>>> [2] bad.log - https://pastebin.com/raw/fvR5Sjzt
>>> [3] good.log - https://pastebin.com/raw/EazfLAWA
>>>
>>> Thanks,
>>> Yurii
>>>
>> I am aware of this issue, the necessary fix (commit 25fb5f47f34d) was already submitted upstream and will likely
>> show up in the stable kernels soon.
>>
>> Thanks,
>> Armin Wolf

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-06 22:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-06 13:33 [REGRESSION][BISECTED] asus-wmi driver fails on my laptop Yura Strilets
2024-12-06 18:15 ` Armin Wolf
2024-12-06 21:18   ` Yurii Strilets
2024-12-06 22:02     ` Armin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox