суббота

[Bug 2169326] Re: Ubuntu 26.10 Concept - Wifi does not work after sleep [Lenovo Yoga Slim 7x]

The workaround I used was a script that reset the wifi hardware when it came out of standby. It might make it take a few seconds longer than a correct fix, but it worked well enough: Create the script: sudo nano /lib/systemd/system-sleep/wifi-unbind.sh Script contents: #!/bin/bash case "$1/$2" in pre/*) # Physically remove the Wi-Fi endpoint from the PCI bus before suspend if [ -d /sys/bus/pci/devices/0004:01:00.0 ]; then echo 1 > /sys/bus/pci/devices/0004:01:00.0/remove sleep 1 fi ;; post/*) # Rescan the PCI bus to rediscover and re-probe the Wi-Fi card echo 1 > /sys/bus/pci/rescan ;; esac It should apply immediately but might have to reboot if wifi is already borked. -- You received this bug notification because you are subscribed to linux in Ubuntu. Matching subscriptions: Bgg, Bmail, Nb https://bugs.launchpad.net/bugs/2169326 Title: Ubuntu 26.10 Concept - Wifi does not work after sleep [Lenovo Yoga Slim 7x] Status in ubuntu-concept: Confirmed Status in linux package in Ubuntu: New Status in linux source package in Stonking: New Bug description: Ubuntu 26.10 Concept - Wifi does not work after sleep [Lenovo Yoga Slim 7x] Issue with Lenovo Yoga Slim 7x - Snapdragon X Elite. This error is reproducable. I did a fresh clean install of Ubuntu Concept 26.10 (Stonking Stingray Development Branch) using the ISO (I updated the installer during the install). The kernel version installed was 7.> After the install: - i close to lid to put the laptop into sleep - wait 30 seoncs to 5 mins - re-open the lid At this point, the wifi never starts up again. It appears active but does not see any networks. Doing a dmesg, i get the following errors: [ 318.682061] ath12k_wifi7_pci 0004:01:00.0: timeout while waiting for restart complete [ 318.682064] ath12k_wifi7_pci 0004:01:00.0: failed to resume core: -110 [ 318.682066] ath12k_wifi7_pci 0004:01:00.0: PM: dpm_run_callback(): pci_pm_resume returns -110 [ 318.682075] ath12k_wifi7_pci 0004:01:00.0: PM: failed to resume async: error -110 [ 318.684876] OOM killer enabled. [ 318.684877] Restarting tasks: Starting [ 318.685569] Restarting tasks: Done [ 318.685586] efivarfs: resyncing variable state [ 318.792619] efivarfs: finished resyncing variable state [ 318.792684] random: crng reseeded on system resumption [ 318.805146] PM: suspend exit [ 318.838513] audit: type=1400 audit(1790960536.665:291): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=15472 comm="(ubuntu-insigh)" requested="userns_create" target="unprivileged_userns" execpath="/usr/lib/systemd/systemd-executor" [ 318.839115] audit: type=1400 audit(1790960536.666:292): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=15472 comm="(ubuntu-insigh)" capability=21 capname="sys_admin" [ 318.881100] audit: type=1400 audit(1790960536.708:293): apparmor="DENIED" operation="getattr" class="file" info="Failed name lookup - disconnected path" error=-13 profile="unprivileged_userns" name="" pid=15505 comm="systemd-detect-" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 [ 321.884027] ath12k_wifi7_pci 0004:01:00.0: wmi command 16387 timeout [ 321.884040] ath12k_wifi7_pci 0004:01:00.0: failed to send WMI_PDEV_SET_PARAM cmd [ 321.884047] ath12k_wifi7_pci 0004:01:00.0: failed to set ac override for ARP: -11 [ 321.884051] ath12k_wifi7_pci 0004:01:00.0: fail to start mac operations in pdev idx 0 ret -11 [ 324.892068] ath12k_wifi7_pci 0004:01:00.0: wmi command 16387 timeout [ 324.892081] ath12k_wifi7_pci 0004:01:00.0: failed to send WMI_PDEV_SET_PARAM cmd [ 324.892088] ath12k_wifi7_pci 0004:01:00.0: failed to enable PMF QOS: -11 [ 324.892093] ath12k_wifi7_pci 0004:01:00.0: fail to start mac operations in pdev idx 0 ret -11 [ 337.821974] ath12k_wifi7_pci 0004:01:00.0: wmi command 16387 timeout [ 337.821987] ath12k_wifi7_pci 0004:01:00.0: failed to send WMI_PDEV_SET_PARAM cmd [ 337.821994] ath12k_wifi7_pci 0004:01:00.0: failed to enable PMF QOS: -11 [ 337.821999] ath12k_wifi7_pci 0004:01:00.0: fail to start mac operations in pdev idx 0 ret -11 [ 350.809887] ath12k_wifi7_pci 0004:01:00.0: wmi command 16387 timeout [ 350.809899] ath12k_wifi7_pci 0004:01:00.0: failed to send WMI_PDEV_SET_PARAM cmd [ 350.809906] ath12k_wifi7_pci 0004:01:00.0: failed to enable PMF QOS: -11 [ 350.809910] ath12k_wifi7_pci 0004:01:00.0: fail to start mac operations in pdev idx 0 ret -11 I tried the following to troublesshhot - ran "qcom-firmware-extract" from an updated copy of windows 11 - I tried "systemctl restart NetworkManager" This behavior was not present with my hardware in Ubuntu 26.04. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-concept/+bug/2169326/+subscriptions

Комментариев нет:

Отправить комментарий