NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.27k stars 14.25k forks source link

Linux kernel 6.12 fails to load asus-nb-wmi #358002

Open JustScreaMy opened 20 hours ago

JustScreaMy commented 20 hours ago

Describe the bug

After updating to the kernel 6.12, my ASUS Zenbook UX3402ZA keyboard backlight stopped working, after looking through the logs and differenes between 6.11 and 6.12, I have found out that kernel module asus-nb-wml fails to load with error -5.

I'm not sure which other issues this will show, but the Backlight is the most obvious I have noticed so far

Steps To Reproduce

Steps to reproduce the behavior:

  1. Upgrade kernel from 6.11 to 6.12
  2. Try to increase or decrease keyboard backlight
  3. There isnt an option and the shortcut isnt working

Expected behavior

Keyboard backlight will work normally

Additional context

dmesg without working backlight

[    5.054019] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[    5.095726] asus_wmi: Failed to set throttle thermal policy (retval): 0x0
[    5.095730] asus_wmi: Failed to set default thermal profile
[    5.095734] asus-nb-wmi asus-nb-wmi: probe with driver asus-nb-wmi failed with error -5

dmesg with working backlight

[    5.151772] asus_wmi: ASUS WMI generic driver loaded
[    5.170605] asus_wmi: Initialization: 0x1
[    5.171555] asus_wmi: SFUN value: 0x21
[    5.171573] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[    5.227615] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input11

loaded kernel modules without working backlight lsmod | grep asus

asus_wmi              114688  0
platform_profile       12288  1 asus_wmi
rfkill                 40960  9 iwlmvm,asus_wmi,bluetooth,cfg80211
battery                28672  1 asus_wmi
sparse_keymap          12288  2 intel_hid,asus_wmi
led_class              20480  6 snd_hda_codec_generic,videodev,sdhci,input_leds,iwlmvm,asus_wmi
i8042                  57344  1 asus_wmi
video                  81920  3 asus_wmi,xe,i915
wmi                    28672  3 video,asus_wmi,wmi_bmof
backlight              28672  4 video,asus_wmi,xe,i915

loaded kernel modules with working backlight

asus_nb_wmi            32768  0
asus_wmi               98304  1 asus_nb_wmi
platform_profile       12288  1 asus_wmi
rfkill                 40960  9 iwlmvm,asus_wmi,bluetooth,cfg80211
battery                28672  1 asus_wmi
sparse_keymap          12288  2 intel_hid,asus_wmi
led_class              20480  6 snd_hda_codec_generic,videodev,sdhci,input_leds,iwlmvm,asus_wmi
i8042                  57344  1 asus_wmi
video                  81920  4 asus_wmi,asus_nb_wmi,xe,i915
wmi                    32768  3 video,asus_wmi,wmi_bmof
backlight              28672  4 video,asus_wmi,xe,i915

Metadata

Notify maintainers

@K900 @Ma27


Note for maintainers: Please tag this issue in your PR.


Add a :+1: reaction to issues you find important.

K900 commented 10 hours ago

Upstream issue: https://bugzilla.kernel.org/show_bug.cgi?id=219517

JustScreaMy commented 10 hours ago

Upstream issue: https://bugzilla.kernel.org/show_bug.cgi?id=219517

Thank you for reacting quicky, I actually didn't find this issue when i was researching for my problem.