You are not logged in.

#1 2024-12-21 18:09:13

Humblenoise4
Member
Registered: 2024-12-21
Posts: 9

[SOLVED] WiFi suddenly not working after suspend

I've been running arch for a few months now and everything has been fine so far. However, recently, I have been experiencing the issue of my WiFi not being able to reconnect after waking up my laptop from suspend (this has never been an issue until now).

This issue started occurring after I booted into Windows (I am running a dual boot) for the first time after a long while. I don't really understand why that would cause any issues and perhaps the timeline is just a coincidence, but I thought it was worth mentioning that this is when it started happening. Could've also been a system update, I don't remember if I did one on the same day.

Also, when this happens, I can't figure out a way to fix it other than just restarting my laptop. Restarting the NetworkManager service does not fix the issue, I've found that only a full reboot does, which is pretty annoying.

I've tried searching around for solutions, but I haven't really found anything that worked. I tried the suggestion on the wiki, which is to disable WiFi power saving, which did nothing for me.

After this happens, I can see in the logs of NetworkManager and wpa_supplicant that something has gone wrong. The logs don't look the same every time, but here's two examples of the logs from separate times of the issue occurring.

Example 1:

Dec 21 15:30:08 myhost NetworkManager[574]: <info>  [1734791408.4686] device (wlo1): state change: unavailable -> unmanaged (reason 'unmanaged-link-not-init', managed->
Dec 21 15:30:08 myhost NetworkManager[574]: <info>  [1734791408.4690] device (p2p-dev-wlo1): state change: unavailable -> unmanaged (reason 'unmanaged-link-not-init', >
Dec 21 15:30:08 myhost NetworkManager[574]: <info>  [1734791408.4959] radio killswitch /sys/devices/pci0000:00/0000:00:02.1/0000:03:00.0/ieee80211/phy0/rfkill1 disappe>
Dec 21 15:30:09 myhost NetworkManager[574]: <info>  [1734791409.4367] device (wlan0): driver supports Access Point (AP) mode
Dec 21 15:30:09 myhost NetworkManager[574]: <info>  [1734791409.4374] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/5)
Dec 21 15:30:09 myhost NetworkManager[574]: <info>  [1734791409.4380] rfkill3: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:02.1/0000:03:00.0/ieee8>
Dec 21 15:30:09 myhost NetworkManager[574]: <info>  [1734791409.4386] device (wlan0): interface index 4 renamed iface from 'wlan0' to 'wlo1'
Dec 21 15:30:09 myhost NetworkManager[574]: <info>  [1734791409.4442] device (wlo1): state change: unmanaged -> unavailable (reason 'managed', managed-type: 'external')
Dec 21 15:30:17 myhost NetworkManager[574]: <warn>  [1734791417.3887] platform-linux: do-change-link[4]: failure 5 (Input/output error)
Dec 21 15:30:17 myhost NetworkManager[574]: <info>  [1734791417.3895] device (wlo1): set-hw-addr: set MAC address to C2:7D:B0:7A:6A:5B (scanning)


Dec 21 15:30:37 myhost wpa_supplicant[636]: Could not read interface wlo1 flags: No such device
Dec 21 15:30:37 myhost wpa_supplicant[636]: WEXT: Could not set interface 'wlo1' UP
Dec 21 15:30:37 myhost wpa_supplicant[636]: wlo1: Failed to initialize driver interface
Dec 21 15:30:37 myhost wpa_supplicant[636]: wlo1: CTRL-EVENT-DSCP-POLICY clear_all
Dec 21 15:31:03 myhost wpa_supplicant[636]: l2_packet_init: ioctl[SIOCGIFHWADDR]: No such device
Dec 21 15:31:03 myhost wpa_supplicant[636]: TDLS: Failed to open l2_packet connection
Dec 21 15:31:03 myhost wpa_supplicant[636]: wlo1: CTRL-EVENT-DSCP-POLICY clear_all
Dec 21 15:31:03 myhost wpa_supplicant[636]: wlo1: CTRL-EVENT-DSCP-POLICY clear_all
Dec 21 15:31:03 myhost wpa_supplicant[636]: nl80211: deinit ifname=wlo1 disabled_11b_rates=0
Dec 21 15:31:03 myhost wpa_supplicant[636]: Could not read interface wlo1 flags: No such device

Example 2:

Dec 21 17:42:51 myhost NetworkManager[568]: <info>  [1734799371.3944] manager: sleep: wake requested (sleeping: yes  enabled: yes)
Dec 21 17:42:51 myhost NetworkManager[568]: <info>  [1734799371.3947] device (eno1): state change: unmanaged -> unavailable (reason 'managed', managed-type: 'external')
Dec 21 17:42:51 myhost NetworkManager[568]: <info>  [1734799371.5999] device (wlo1): state change: unmanaged -> unavailable (reason 'managed', managed-type: 'external')
Dec 21 17:42:59 myhost NetworkManager[568]: <warn>  [1734799379.5493] platform-linux: do-change-link[3]: failure 5 (Input/output error)
Dec 21 17:42:59 myhost NetworkManager[568]: <info>  [1734799379.5501] device (wlo1): set-hw-addr: set MAC address to 36:09:20:29:F7:DD (scanning)
Dec 21 17:43:07 myhost NetworkManager[568]: <warn>  [1734799387.4453] platform-linux: do-change-link[3]: failure 5 (Input/output error)
Dec 21 17:43:07 myhost NetworkManager[568]: <info>  [1734799387.4465] device (p2p-dev-wlo1): state change: unmanaged -> unavailable (reason 'managed', managed-type: 'e>
Dec 21 17:43:07 myhost NetworkManager[568]: <info>  [1734799387.4470] manager: NetworkManager state is now DISCONNECTED
Dec 21 17:43:12 myhost NetworkManager[568]: <error> [1734799392.4477] device (wlo1): Couldn't initialize supplicant interface: Timeout was reached
Dec 21 17:43:22 myhost NetworkManager[568]: <warn>  [1734799402.2714] device (wlo1): re-acquiring supplicant interface (#1).

Dec 21 16:03:48 myhost wpa_supplicant[631]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-35 noise=9999 txrate=866700
Dec 21 17:00:21 myhost wpa_supplicant[631]: nl80211: send_event_marker failed: Source based routing not supported
Dec 21 17:00:21 myhost wpa_supplicant[631]: wlo1: CTRL-EVENT-DISCONNECTED bssid=a8:6a:bb:c5:95:ed reason=3 locally_generated=1
Dec 21 17:00:21 myhost wpa_supplicant[631]: wlo1: CTRL-EVENT-DSCP-POLICY clear_all
Dec 21 17:00:21 myhost wpa_supplicant[631]: p2p-dev-wlo1: CTRL-EVENT-DSCP-POLICY clear_all
Dec 21 17:00:21 myhost wpa_supplicant[631]: p2p-dev-wlo1: CTRL-EVENT-DSCP-POLICY clear_all
Dec 21 17:00:21 myhost wpa_supplicant[631]: nl80211: deinit ifname=p2p-dev-wlo1 disabled_11b_rates=0
Dec 21 17:00:21 myhost wpa_supplicant[631]: wlo1: CTRL-EVENT-DSCP-POLICY clear_all
Dec 21 17:00:21 myhost wpa_supplicant[631]: wlo1: CTRL-EVENT-DSCP-POLICY clear_all
Dec 21 17:00:21 myhost wpa_supplicant[631]: nl80211: deinit ifname=wlo1 disabled_11b_rates=0

Also, if it helps with anything, the model of my laptop is HP OMEN Laptop 15-en0xxx.

Thanks.

Last edited by Humblenoise4 (2025-02-18 22:20:33)

Offline

#2 2024-12-23 01:21:58

pacman41
Member
Registered: 2019-12-01
Posts: 24

Re: [SOLVED] WiFi suddenly not working after suspend

Seem to be having the same problem anytime I disconnect my network connection. Running "sudo systemctl restart systemd-resolved" seems to cure the problem till I disconnect or wake from suspend. Just started happening after the last update.

Offline

#3 2024-12-23 13:13:35

Humblenoise4
Member
Registered: 2024-12-21
Posts: 9

Re: [SOLVED] WiFi suddenly not working after suspend

Someone on Reddit gave me the tip of removing the device with

echo 1 > /sys/bus/pci/devices/0000\:03\:00.0/remove

and then triggering a bus rescan with

echo 1 > /sys/bus/pci/rescan

For me, this completely fixes the issue in the current session. The issue only comes back after a reboot. Thus, a simple fix is just to run these two commands automatically on startup. I'll hold out to see if I can find a "more proper" fix, otherwise, I'll just do it like this. Give it a try to see if it works for you as well!

Link to the Reddit thread for more information.

Last edited by Humblenoise4 (2024-12-23 13:16:15)

Offline

#4 2024-12-23 14:57:41

seth
Member
Registered: 2012-09-03
Posts: 65,506

Re: [SOLVED] WiFi suddenly not working after suspend

mediatek chip? mt7921?

Offline

#5 2024-12-23 19:49:40

Humblenoise4
Member
Registered: 2024-12-21
Posts: 9

Re: [SOLVED] WiFi suddenly not working after suspend

Sorry, I should have posted my WiFi chip here as well. It's an Intel chip. lspci output:

03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
DeviceName: Intel Wireless LAN + BT
Subsystem: Intel Corporation Wi-Fi 6 AX200NGW

Offline

#6 2024-12-23 20:33:25

seth
Member
Registered: 2012-09-03
Posts: 65,506

Re: [SOLVED] WiFi suddenly not working after suspend

This is typically power saving related, https://wiki.archlinux.org/title/Power_ … _(iwlwifi) but you'd want to *disable* the power saving stuff to test this.
Are there any dmesg errors (typically the firmware crashes, NM and wpa_supplicant are irrelevant itr)

Offline

#7 2024-12-23 20:40:03

Humblenoise4
Member
Registered: 2024-12-21
Posts: 9

Re: [SOLVED] WiFi suddenly not working after suspend

Yes, there is crashing. Sorry, I included this in the Reddit post I linked, but I hadn't figured this out yet when I made the post here. But I'll post the logs here. After waking up, I just get the following, which then repeats (as you can see in the bottom) and then I get the same output many times.
I'll try to change the powersave setting for iwlwifi and see if that results in anything.

[   83.220689] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade rev:0 func:4 (0x1001)
[   83.220697] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade rev:0 func:6 (0x1001)
[   83.220704] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade rev:0 func:7 (0x1001)
[   83.220712] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade rev:0 func:8 (0x1001)
[   83.220719] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade rev:0 func:3 (0x1001)
[   83.220726] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade rev:0 func:9 (0x1001)
[   83.220733] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade rev:0 func:10 (0x1001)
[   83.220741] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade rev:0 func:12 (0x1001)
[   85.303815] iwlwifi 0000:03:00.0: Error sending MCC_UPDATE_CMD: time out after 2000ms.
[   85.303831] iwlwifi 0000:03:00.0: Current CMD queue read_ptr 12 write_ptr 13
[   85.304122] iwlwifi 0000:03:00.0: HCMD_ACTIVE already clear for command MCC_UPDATE_CMD
[   85.305992] iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
[   85.305998] iwlwifi 0000:03:00.0: Transport status: 0x0000004A, valid: 6
[   85.306005] iwlwifi 0000:03:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
[   85.306011] iwlwifi 0000:03:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[   85.306019] iwlwifi 0000:03:00.0: 0x00A0A2F0 | trm_hw_status0
[   85.306024] iwlwifi 0000:03:00.0: 0x00000000 | trm_hw_status1
[   85.306030] iwlwifi 0000:03:00.0: 0x004F8CE6 | branchlink2
[   85.306035] iwlwifi 0000:03:00.0: 0x004EED36 | interruptlink1
[   85.306041] iwlwifi 0000:03:00.0: 0x004EED36 | interruptlink2
[   85.306046] iwlwifi 0000:03:00.0: 0x00015322 | data1
[   85.306051] iwlwifi 0000:03:00.0: 0x01000000 | data2
[   85.306056] iwlwifi 0000:03:00.0: 0x00000000 | data3
[   85.306062] iwlwifi 0000:03:00.0: 0x00000000 | beacon time
[   85.306067] iwlwifi 0000:03:00.0: 0x002948A4 | tsf low
[   85.306072] iwlwifi 0000:03:00.0: 0x00000000 | tsf hi
[   85.306078] iwlwifi 0000:03:00.0: 0x00000000 | time gp1
[   85.306083] iwlwifi 0000:03:00.0: 0x0029B377 | time gp2
[   85.306089] iwlwifi 0000:03:00.0: 0x00000001 | uCode revision type
[   85.306094] iwlwifi 0000:03:00.0: 0x0000004D | uCode version major
[   85.306099] iwlwifi 0000:03:00.0: 0x0B4C06AD | uCode version minor
[   85.306105] iwlwifi 0000:03:00.0: 0x00000340 | hw version
[   85.306110] iwlwifi 0000:03:00.0: 0x00C89000 | board version
[   85.306115] iwlwifi 0000:03:00.0: 0x802FFD22 | hcmd
[   85.306121] iwlwifi 0000:03:00.0: 0x20028000 | isr0
[   85.306126] iwlwifi 0000:03:00.0: 0x00000000 | isr1
[   85.306131] iwlwifi 0000:03:00.0: 0x08F04002 | isr2
[   85.306136] iwlwifi 0000:03:00.0: 0x00C3400C | isr3
[   85.306141] iwlwifi 0000:03:00.0: 0x00000000 | isr4
[   85.306147] iwlwifi 0000:03:00.0: 0x00000000 | last cmd Id
[   85.306152] iwlwifi 0000:03:00.0: 0x00015322 | wait_event
[   85.306157] iwlwifi 0000:03:00.0: 0x00000000 | l2p_control
[   85.306162] iwlwifi 0000:03:00.0: 0x00000000 | l2p_duration
[   85.306168] iwlwifi 0000:03:00.0: 0x00000000 | l2p_mhvalid
[   85.306173] iwlwifi 0000:03:00.0: 0x00000000 | l2p_addr_match
[   85.306178] iwlwifi 0000:03:00.0: 0x00000008 | lmpm_pmg_sel
[   85.306183] iwlwifi 0000:03:00.0: 0x00000000 | timestamp
[   85.306189] iwlwifi 0000:03:00.0: 0x0000084C | flow_handler
[   85.306489] iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
[   85.306494] iwlwifi 0000:03:00.0: Transport status: 0x0000004A, valid: 7
[   85.306500] iwlwifi 0000:03:00.0: 0x20000066 | NMI_INTERRUPT_HOST
[   85.306506] iwlwifi 0000:03:00.0: 0x00000000 | umac branchlink1
[   85.306511] iwlwifi 0000:03:00.0: 0x80455D6E | umac branchlink2
[   85.306517] iwlwifi 0000:03:00.0: 0xC0081228 | umac interruptlink1
[   85.306522] iwlwifi 0000:03:00.0: 0x010662A6 | umac interruptlink2
[   85.306527] iwlwifi 0000:03:00.0: 0x01000000 | umac data1
[   85.306532] iwlwifi 0000:03:00.0: 0x010662A6 | umac data2
[   85.306538] iwlwifi 0000:03:00.0: 0x00000000 | umac data3
[   85.306543] iwlwifi 0000:03:00.0: 0x0000004D | umac major
[   85.306548] iwlwifi 0000:03:00.0: 0x0B4C06AD | umac minor
[   85.306553] iwlwifi 0000:03:00.0: 0x0029B376 | frame pointer
[   85.306559] iwlwifi 0000:03:00.0: 0xC0886BF8 | stack pointer
[   85.306564] iwlwifi 0000:03:00.0: 0x000C01C8 | last host cmd
[   85.306569] iwlwifi 0000:03:00.0: 0x00000000 | isr status reg
[   85.306835] iwlwifi 0000:03:00.0: IML/ROM dump:
[   85.306840] iwlwifi 0000:03:00.0: 0x00000003 | IML/ROM error/state
[   85.307327] iwlwifi 0000:03:00.0: 0x0000674C | IML/ROM data1
[   85.307601] iwlwifi 0000:03:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[   85.307681] iwlwifi 0000:03:00.0: Fseq Registers:
[   85.307725] iwlwifi 0000:03:00.0: 0x60000000 | FSEQ_ERROR_CODE
[   85.307768] iwlwifi 0000:03:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
[   85.307812] iwlwifi 0000:03:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
[   85.307855] iwlwifi 0000:03:00.0: 0x0000A503 | FSEQ_OTP_VERSION
[   85.307898] iwlwifi 0000:03:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
[   85.307942] iwlwifi 0000:03:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[   85.307984] iwlwifi 0000:03:00.0: 0x00100530 | FSEQ_CNVI_ID
[   85.308028] iwlwifi 0000:03:00.0: 0x00000532 | FSEQ_CNVR_ID
[   85.308071] iwlwifi 0000:03:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
[   85.308117] iwlwifi 0000:03:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
[   85.308162] iwlwifi 0000:03:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[   85.308207] iwlwifi 0000:03:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[   85.308250] iwlwifi 0000:03:00.0: 0x00050008 | FSEQ_PREV_CNVIO_INIT_VERSION
[   85.308293] iwlwifi 0000:03:00.0: 0x00290021 | FSEQ_WIFI_FSEQ_VERSION
[   85.308337] iwlwifi 0000:03:00.0: 0x00290021 | FSEQ_BT_FSEQ_VERSION
[   85.308381] iwlwifi 0000:03:00.0: 0x000000E6 | FSEQ_CLASS_TP_VERSION
[   85.308468] iwlwifi 0000:03:00.0: UMAC CURRENT PC: 0x80472b1c
[   85.308510] iwlwifi 0000:03:00.0: LMAC1 CURRENT PC: 0xd0
[   85.308554] iwlwifi 0000:03:00.0: Starting mac, retry will be triggered anyway
[   85.321829] iwlwifi 0000:03:00.0: mac start retry 0

edit: I looked at the current parameters for iwlwifi, seems like most of the powersaving stuff is turned off already?

/sys/module/iwlwifi/parameters/11n_disable:0
/sys/module/iwlwifi/parameters/amsdu_size:0
/sys/module/iwlwifi/parameters/bt_coex_active:Y
/sys/module/iwlwifi/parameters/debug:0
/sys/module/iwlwifi/parameters/disable_11ac:N
/sys/module/iwlwifi/parameters/disable_11ax:N
/sys/module/iwlwifi/parameters/disable_11be:N
/sys/module/iwlwifi/parameters/enable_ini:16
/sys/module/iwlwifi/parameters/fw_restart:Y
/sys/module/iwlwifi/parameters/led_mode:0
/sys/module/iwlwifi/parameters/nvm_file:(null)
/sys/module/iwlwifi/parameters/power_level:0
/sys/module/iwlwifi/parameters/power_save:N
/sys/module/iwlwifi/parameters/remove_when_gone:N
/sys/module/iwlwifi/parameters/swcrypto:0
/sys/module/iwlwifi/parameters/uapsd_disable:3

Last edited by Humblenoise4 (2024-12-23 21:13:38)

Offline

#8 2024-12-25 15:01:18

deimidis
Member
Registered: 2024-12-25
Posts: 1

Re: [SOLVED] WiFi suddenly not working after suspend

Having the same problem here (Manjaro and Omen 15) answer on #3 seems to work right now, at least I don't have to restart the notebook.

Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a) lspci result for my card

Offline

#9 2025-02-18 22:19:57

Humblenoise4
Member
Registered: 2024-12-21
Posts: 9

Re: [SOLVED] WiFi suddenly not working after suspend

So to anyone looking this up, I managed to find a fix to this issue in some other thread that I can't find anymore. Nonetheless, the solution worked, so I'll post it here.
Create the file

/etc/modprobe.d/iwl.conf

and add the following lines to it:

options iwlwifi swcrypto=0
options iwlwifi bt_coex_active=0
options iwlwifi power_save=0
options iwlwifi uapsd_disable=1
options iwlmvm power_scheme=1

The thread also mentions the following options

options cfg80211 cfg80211_disable_40mhz_24ghz=Y
options iwlwifi 11n_disable=1

However, it was also said that these will impact your network speed, so try seeing if it works without these options. In my case, it did.

Offline

Board footer

Powered by FluxBB