You are not logged in.
Hi everyone,
I’m running Arch Linux with hyprland on an IdeaPad with an Intel AX1775 Wi-Fi 7 card and intel ultra 5 225H.
After suspending and waking up my laptop, Wi-Fi stops working:
iwctl device list shows my Wi-Fi interface as powered off
ip link shows wlan0 exists but stays DOWN
modprobe -r iwlwifi fails because the module is in use
Reloading iwlmld/iwlwifi/mac80211/cfg80211 or using rfkill block/unblock does not restore Wi-Fi
Restarting iwd or NetworkManger doesn't help as well.
Only way to get wifi back is the reboot the computer.
Also my previous laptop was same ideapad but with older wifi 6 card and it worked perfect after suspend.
I’d like help figuring out if there’s a workaround or if this is a firmware/kernel issue.
Last edited by Mike000 (2025-12-14 14:18:34)
Offline
modprobe -r iwlwifi fails because the module is in use
By iwlmvm… Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post the actual "ip l" and lsmod and rfkill outputs and also the complete system journal for the boot after waking up
sudo journalctl -b | curl -F 'file=@-' 0x0.stBut first
Restarting iwd or NetworkManger doesn't help as well.
You're not supposed to run both services, please post the output of
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -fIf you want to use iwd as NM backend see https://wiki.archlinux.org/title/Networ … Fi_backend
Online
Yes, i am using iwd as backend. I have to run both iwd and NetworkManager in order for np-applet to work. I couldn't get it to work with NetworkManager only.
For the logs:
http://0x0.st/Kdiq.txt - These are logs after waking up from suspend
http://0x0.st/KdL7.txt - These are logs after rebooting due to wifi not working after suspend
auto-cpufreq.service | multi-user.target.wants
bluetooth.service | bluetooth.target.wants
dbus-org.bluez.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service | system
display-manager.service | system
docker.service | multi-user.target.wants
getty@tty1.service | getty.target.wants
iwd.service | multi-user.target.wants
NetworkManager.service | multi-user.target.wants
NetworkManager-wait-online.service | network-online.target.wants
nvidia-hibernate.service | systemd-hibernate.service.wants
nvidia-resume.service | systemd-hibernate.service.wants
nvidia-resume.service | systemd-suspend.service.wants
nvidia-resume.service | systemd-suspend-then-hibernate.service.wants
nvidia-suspend.service | systemd-suspend.service.wants
p11-kit-server.socket | sockets.target.wants
pipewire-pulse.socket | sockets.target.wants
pipewire-session-manager.service | user
pipewire.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
sshd.service | multi-user.target.wants
systemd-timesyncd.service | sysinit.target.wants
systemd-userdbd.socket | sockets.target.wants
wireplumber.service | pipewire.service.wants
xdg-user-dirs.service | graphical-session-pre.target.wants1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
link/ether 40:d1:33:31:25:ea brd ff:ff:ff:ff:ff:ff
4: br-0cab4cb2dab4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
link/ether 9a:25:49:67:06:b4 brd ff:ff:ff:ff:ff:ff
5: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
link/ether 3e:5c:fb:c5:ad:f0 brd ff:ff:ff:ff:ff:ffModule Size Used by
rfcomm 102400 4
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 131072 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
xt_conntrack 12288 2
xt_MASQUERADE 16384 2
bridge 454656 0
stp 12288 1 bridge
llc 16384 2 bridge,stp
xfrm_user 73728 1
xfrm_algo 16384 1 xfrm_user
ip6table_nat 12288 1
ip6table_filter 12288 1
ip6_tables 36864 2 ip6table_filter,ip6table_nat
xt_set 24576 0
ip_set 69632 1 xt_set
iptable_nat 12288 1
nf_nat 61440 3 ip6table_nat,iptable_nat,xt_MASQUERADE
nf_conntrack 196608 3 xt_conntrack,nf_nat,xt_MASQUERADE
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 12288 1 nf_conntrack
xt_addrtype 12288 4
iptable_filter 12288 1
nf_tables 389120 0
overlay 245760 0
ccm 20480 0
algif_aead 12288 0
des3_ede_x86_64 45056 0
des_generic 12288 0
libdes 20480 2 des_generic,des3_ede_x86_64
bnep 36864 2
algif_skcipher 12288 1
cmac 12288 3
btusb 81920 0
uvcvideo 180224 0
btrtl 32768 1 btusb
md4 12288 0
btintel 73728 1 btusb
algif_hash 16384 1
videobuf2_vmalloc 20480 1 uvcvideo
btbcm 24576 1 btusb
uvc 12288 1 uvcvideo
af_alg 32768 7 algif_hash,algif_skcipher,algif_aead
btmtk 32768 1 btusb
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 40960 1 uvcvideo
bluetooth 1118208 34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
videobuf2_common 94208 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
hid_sensor_custom 28672 0
hid_sensor_hub 32768 1 hid_sensor_custom
intel_ishtp_hid 28672 0
vfat 24576 1
fat 114688 1 vfat
snd_soc_skl_hda_dsp 16384 4
snd_soc_intel_sof_board_helpers 28672 1 snd_soc_skl_hda_dsp
snd_sof_probes 32768 0
snd_soc_intel_hda_dsp_common 16384 1 snd_soc_intel_sof_board_helpers
snd_hda_codec_intelhdmi 28672 1
snd_hda_codec_alc269 147456 1
snd_hda_scodec_component 20480 1 snd_hda_codec_alc269
snd_hda_codec_realtek_lib 61440 1 snd_hda_codec_alc269
snd_hda_codec_generic 114688 2 snd_hda_codec_realtek_lib,snd_hda_codec_alc269
snd_soc_dmic 12288 1
snd_hda_intel 69632 0
snd_sof_pci_intel_mtl 36864 0
snd_sof_intel_hda_generic 40960 1 snd_sof_pci_intel_mtl
soundwire_intel 94208 1 snd_sof_intel_hda_generic
snd_sof_intel_hda_sdw_bpt 24576 1 soundwire_intel
snd_sof_intel_hda_common 204800 3 snd_sof_pci_intel_mtl,snd_sof_intel_hda_sdw_bpt,snd_sof_intel_hda_generic
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_sof_intel_hda_mlink 36864 4 snd_sof_intel_hda_sdw_bpt,soundwire_intel,snd_sof_intel_hda_common,snd_sof_intel_hda_generic
snd_sof_intel_hda 20480 2 snd_sof_intel_hda_common,snd_sof_intel_hda_generic
snd_hda_codec_hdmi 61440 1 snd_hda_codec_intelhdmi
soundwire_cadence 57344 1 soundwire_intel
snd_sof_pci 24576 2 snd_sof_pci_intel_mtl,snd_sof_intel_hda_generic
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_generic
snd_sof 475136 7 snd_sof_pci_intel_mtl,snd_sof_intel_hda_sdw_bpt,snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda_generic,snd_sof_probes,snd_sof_intel_hda
snd_sof_utils 16384 1 snd_sof
iwlmld 348160 0
joydev 24576 0
snd_hda_ext_core 36864 5 snd_sof_intel_hda_sdw_bpt,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
mousedev 28672 0
snd_hda_codec 217088 10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_soc_intel_hda_dsp_common,snd_hda_codec_realtek_lib,snd_soc_hdac_hda,snd_hda_codec_alc269,snd_sof_intel_hda,snd_soc_skl_hda_dsp,snd_hda_codec_intelhdmi
mac80211 1679360 1 iwlmld
snd_hda_core 139264 12 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_hda_codec_realtek_lib,snd_soc_hdac_hda,snd_hda_codec_alc269,snd_sof_intel_hda,snd_hda_codec_intelhdmi
snd_intel_dspcfg 45056 4 snd_hda_intel,snd_sof,snd_sof_intel_hda_common,snd_sof_intel_hda_generic
intel_uncore_frequency 12288 0
intel_uncore_frequency_common 16384 1 intel_uncore_frequency
snd_intel_sdw_acpi 16384 2 snd_intel_dspcfg,snd_sof_intel_hda_generic
snd_soc_acpi_intel_match 143360 3 snd_sof_pci_intel_mtl,snd_soc_intel_sof_board_helpers,snd_sof_intel_hda_generic
snd_soc_acpi_intel_sdca_quirks 12288 1 snd_soc_acpi_intel_match
x86_pkg_temp_thermal 16384 0
libarc4 12288 1 mac80211
soundwire_generic_allocation 20480 1 soundwire_intel
intel_powerclamp 20480 0
ptp 53248 1 iwlmld
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_generic
snd_hwdep 24576 1 snd_hda_codec
pps_core 32768 1 ptp
coretemp 20480 0
soundwire_bus 1208320 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_sdca 98304 2 snd_soc_acpi_intel_sdca_quirks,soundwire_bus
processor_thermal_device_pci 16384 0
iTCO_wdt 16384 0
processor_thermal_device 20480 1 processor_thermal_device_pci
intel_pmc_bxt 16384 1 iTCO_wdt
kvm_intel 438272 0
snd_soc_core 425984 9 soundwire_intel,snd_sof,snd_soc_intel_sof_board_helpers,snd_soc_sdca,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_probes,snd_soc_dmic,snd_soc_skl_hda_dsp
processor_thermal_wt_hint 12288 2 processor_thermal_device_pci,processor_thermal_device
iTCO_vendor_support 12288 1 iTCO_wdt
snd_compress 28672 2 snd_soc_core,snd_sof_probes
mei_gsc_proxy 16384 0
intel_rapl_msr 20480 0
platform_temperature_control 16384 1 processor_thermal_device
iwlwifi 610304 1 iwlmld
kvm 1400832 1 kvm_intel
hid_multitouch 36864 0
ac97_bus 12288 1 snd_soc_core
processor_thermal_rfim 28672 1 processor_thermal_device
snd_pcm_dmaengine 20480 1 snd_soc_core
processor_thermal_rapl 16384 1 processor_thermal_device
snd_pcm 212992 13 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_soc_sdca,snd_sof_intel_hda_common,snd_compress,snd_sof_intel_hda_generic,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
irqbypass 16384 1 kvm
ucsi_acpi 12288 0
intel_rapl_common 53248 2 intel_rapl_msr,processor_thermal_rapl
typec_ucsi 77824 1 ucsi_acpi
lenovo_wmi_other 20480 0
cfg80211 1425408 3 iwlmld,iwlwifi,mac80211
polyval_clmulni 12288 0
snd_timer 57344 3 snd_seq,snd_hrtimer,snd_pcm
i2c_i801 40960 0
ideapad_laptop 57344 0
snd_ctl_led 28672 0
lenovo_wmi_helpers 12288 1 lenovo_wmi_other
ghash_clmulni_intel 12288 0
processor_thermal_wt_req 12288 1 processor_thermal_device
lenovo_wmi_capdata01 12288 1 lenovo_wmi_other
typec 114688 1 typec_ucsi
ov13b10 28672 0
aesni_intel 98304 3
i2c_smbus 20480 1 i2c_i801
processor_thermal_power_floor 12288 2 processor_thermal_device_pci,processor_thermal_device
snd 159744 26 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_soc_sdca,snd_timer,snd_hda_codec_realtek_lib,snd_compress,snd_hda_codec_alc269,snd_soc_core,snd_pcm
mei_me 57344 1
intel_ish_ipc 40960 0
platform_profile 20480 1 ideapad_laptop
roles 16384 1 typec_ucsi
rapl 20480 0
intel_cstate 20480 0
intel_uncore 266240 0
soundcore 16384 2 snd_ctl_led,snd
firmware_attributes_class 12288 1 lenovo_wmi_other
pcspkr 12288 0
intel_vpu 344064 0
mei 200704 3 mei_gsc_proxy,mei_me
lenovo_wmi_hotkey_utilities 12288 0
crc8 12288 1 soundwire_cadence
i2c_mux 16384 1 i2c_i801
wmi_bmof 12288 0
thunderbolt 577536 1 typec
intel_ishtp 86016 2 intel_ishtp_hid,intel_ish_ipc
igen6_edac 36864 0
processor_thermal_mbox 12288 4 processor_thermal_power_floor,processor_thermal_wt_req,processor_thermal_rfim,processor_thermal_wt_hint
rfkill 45056 8 bluetooth,ideapad_laptop,cfg80211
v4l2_fwnode 36864 1 ov13b10
int3403_thermal 16384 0
i2c_hid_acpi 12288 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
v4l2_async 32768 2 v4l2_fwnode,ov13b10
intel_pmc_core 139264 0
i2c_hid 45056 1 i2c_hid_acpi
videodev 401408 5 v4l2_async,v4l2_fwnode,videobuf2_v4l2,uvcvideo,ov13b10
pmt_telemetry 16384 1 intel_pmc_core
pinctrl_meteorlake 28672 1
int3400_thermal 20480 0
acpi_thermal_rel 24576 1 int3400_thermal
pmt_discovery 16384 1 pmt_telemetry
mc 90112 6 v4l2_async,videodev,videobuf2_v4l2,uvcvideo,videobuf2_common,ov13b10
pmt_class 20480 2 pmt_telemetry,pmt_discovery
intel_hid 28672 0
intel_pmc_ssram_telemetry 16384 1 intel_pmc_core
acpi_pad 184320 0
sparse_keymap 12288 2 intel_hid,ideapad_laptop
mac_hid 12288 0
pkcs8_key_parser 12288 0
crypto_user 12288 0
loop 49152 0
dm_mod 229376 0
nfnetlink 20480 4 nf_tables,ip_set
zram 65536 1
842_decompress 16384 1 zram
842_compress 24576 1 zram
lz4hc_compress 20480 1 zram
lz4_compress 24576 1 zram
ip_tables 36864 2 iptable_filter,iptable_nat
x_tables 65536 10 ip6table_filter,xt_conntrack,iptable_filter,ip6table_nat,xt_addrtype,xt_set,ip6_tables,ip_tables,iptable_nat,xt_MASQUERADE
xe 3870720 0
drm_ttm_helper 16384 1 xe
drm_suballoc_helper 16384 1 xe
gpu_sched 69632 1 xe
drm_gpuvm 49152 1 xe
drm_exec 12288 2 drm_gpuvm,xe
drm_gpusvm_helper 36864 1 xe
rtsx_pci_sdmmc 36864 0
i915 4853760 31
mmc_core 290816 1 rtsx_pci_sdmmc
nvme 69632 2
i2c_algo_bit 24576 2 xe,i915
drm_buddy 28672 2 xe,i915
serio_raw 20480 0
ttm 122880 3 drm_ttm_helper,xe,i915
nvme_core 270336 3 nvme
intel_gtt 28672 1 i915
nvme_keyring 20480 1 nvme_core
video 81920 3 ideapad_laptop,xe,i915
intel_lpss_pci 28672 0
drm_display_helper 278528 2 xe,i915
rtsx_pci 139264 1 rtsx_pci_sdmmc
nvme_auth 32768 1 nvme_core
wmi 32768 7 video,lenovo_wmi_hotkey_utilities,lenovo_wmi_other,wmi_bmof,lenovo_wmi_capdata01,ideapad_laptop,lenovo_wmi_helpers
intel_lpss 12288 1 intel_lpss_pci
cec 94208 3 drm_display_helper,xe,i915
intel_vsec 28672 3 intel_pmc_ssram_telemetry,pmt_telemetry,xe
idma64 20480 0ID TYPE DEVICE SOFT HARD
0 wlan ideapad_wlan unblocked unblocked
1 bluetooth ideapad_bluetooth unblocked unblocked
2 wlan phy0 unblocked unblocked
3 bluetooth hci0 unblocked unblockedLast edited by Mike000 (2025-12-09 08:35:39)
Offline
Yes, i am using iwd as backend since without either NetworkManager or iwd wifi doesn't work.
No, you don't.
iwd.service | multi-user.target.wantsDisable that and see the wiki I previously linked.
In addition to that
Dec 09 08:59:06 archlinux systemd[1]: Reached target Sleep.
Dec 09 08:59:06 archlinux systemd-sleep[6796]: User sessions remain unfrozen on explicit request ($SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0).
Dec 09 08:59:06 archlinux systemd-sleep[6796]: This is not recommended, and might result in unexpected behavior, particularly
Dec 09 08:59:06 archlinux systemd-sleep[6796]: in suspend-then-hibernate operations or setups with encrypted home directories.
Dec 09 08:59:06 archlinux systemd-sleep[6796]: Performing sleep operation 'suspend'...
Dec 09 08:59:16 archlinux kernel: iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
Dec 09 08:59:16 archlinux systemd-sleep[6796]: System returned from sleep operation 'suspend'.
Dec 09 08:59:16 archlinux kernel: iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
Dec 09 08:59:16 archlinux kernel: iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
Dec 09 08:59:17 archlinux systemd[1]: Stopped target Sleep.
Dec 09 08:59:17 archlinux NetworkManager[964]: <info> [1765267157.3915] manager: sleep: wake requested (sleeping: yes enabled: yes)
Dec 09 08:59:17 archlinux hypridle[2084]: [LOG] Got PrepareForSleep from dbus with sleep false
Dec 09 08:59:17 archlinux hypridle[2084]: [LOG] Inhibited sleep with fd 10
Dec 09 08:59:19 archlinux kernel: iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
Dec 09 08:59:19 archlinux kernel: iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
Dec 09 08:59:19 archlinux kernel: iwlwifi 0000:01:00.0: Start IWL Error Log Dump:the firmware acts up in the context of the sleep
But the boot is only 10 minutes and the dumps stop after the wakeup, so not sure how much this is related to the problem (or even just induced by the colliding access) cause this here is certainly bad
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.3610] manager: sleep: sleep requested (sleeping: no enabled: yes)
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.3610] device (/net/connman/iwd/0): state change: disconnected -> unmanaged (reason 'unmanaged-nm-disabled', managed-type: 'full')
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.3613] manager: NetworkManager state is now DISABLED (ASLEEP)
Dec 09 08:59:06 archlinux polkitd[1751]: Unregistered Authentication Agent for unix-process:6701:12530 (system bus name :1.84, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.3614] device (wlan0): state change: activated -> deactivating (reason 'sleeping', managed-type: 'full')
Dec 09 08:59:06 archlinux systemd[1]: Starting Network Manager Script Dispatcher Service...
Dec 09 08:59:06 archlinux systemd[1]: Started Network Manager Script Dispatcher Service.
Dec 09 08:59:06 archlinux iwd[966]: event: state, old: connected, new: disconnecting
Dec 09 08:59:06 archlinux kernel: wlan0: deauthenticating from ac:22:05:c5:11:8a by local choice (Reason: 3=DEAUTH_LEAVING)
Dec 09 08:59:06 archlinux systemd[1722]: Started hyprlock.sh.
Dec 09 08:59:06 archlinux iwd[966]: event: state, old: disconnecting, new: disconnected
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.4566] device (wlan0): new IWD device state is disconnecting
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.4568] device (wlan0): new IWD device state is disconnected
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.4568] device (wlan0): state change: deactivating -> disconnected (reason 'sleeping', managed-type: 'full')
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.4575] dhcp4 (wlan0): canceled DHCP transaction
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.4576] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.4576] dhcp4 (wlan0): state changed no lease
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.4578] dhcp6 (wlan0): canceled DHCP transaction
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.4578] dhcp6 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.4578] dhcp6 (wlan0): state changed no lease
Dec 09 08:59:06 archlinux NetworkManager[964]: <info> [1765267146.5127] device (wlan0): state change: disconnected -> unmanaged (reason 'unmanaged-nm-disabled', managed-type: 'full')NM goes to sleep, then iwd sleep and NM starts a new dhcp request - while the system is entering the sleep.
Edit: make sure you do NOT also have https://wiki.archlinux.org/title/Iwd#En … figuration !
Last edited by seth (2025-12-09 08:41:52)
Online
Ok, I have disabled iwd.
Now
nmcli device wifireturns nothing
nm-applet shows: No network devies available
It's only when I enable iwd and have :
/etc/NetworkManager/conf.d/wifi_backend.conf
[device]
wifi.backend=iwdi have wifi working.
And for the firmware issue, is there any potentical fix to that that i can apply right now ?
Last edited by Mike000 (2025-12-09 09:11:20)
Offline
It's only when I enable iwd and have :
/etc/NetworkManager/conf.d/wifi_backend.conf
Don't. Whatever the core problem is, this is wrong.
Do you have anything like https://wiki.archlinux.org/title/Networ … ic_devices ?
If not:
Disable iwd but keep the file, reboot, post the journal of that boot.
Remove the iwd backend config (NM defaults to wpa_supplicant) and reboot and post that journal as well.
(You can post existing journal that meet either requirement)
We'll see what's left of the firmware crashes after sanitizing the setup.
Online
So for the logs:
http://0x0.st/KRFA.txt - logs of boot with iwd as backend and wifi working
https://0x0.st/K71q.txt - logs of boot with iwd = disabled but kept the file (the backend wifi file)
https://0x0.st/K7_N.txt - logs of boot with iwd = disabled and deleted the file (nm changed to wpa_supplicant)
Also it seems like you were right. When I disabled iwd and deleted the config file, wifi works well via wpa_supplicant.
Also here are logs after suspend with nm and wpa_supplicant:
Last edited by Mike000 (2025-12-09 10:22:21)
Offline
http://0x0.st/KRFA.txt looks like NM is starting iwd (and you btw. do get a WAN connection)
https://0x0.st/K71q.txt actually uses wpa_supplicant, I don't think you had the iwd config in place at that boot.
Same goes for https://0x0.st/K7_N.txt
Neither has a sleep cycle not iwlwifi firmware crashes.
Now for the money:
Dec 09 11:18:16 archlinux hypridle[1956]: [LOG] Got PrepareForSleep from dbus with sleep true
Dec 09 11:18:16 archlinux hypridle[1956]: [LOG] Releasing the sleep inhibitor!
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.4561] manager: sleep: sleep requested (sleeping: no enabled: yes)
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.4563] device (p2p-dev-wlan0): state change: disconnected -> unmanaged (reason 'unmanaged-nm-disabled', managed-type: 'full')
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.4567] manager: NetworkManager state is now DISABLED (ASLEEP)
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.4569] device (wlan0): state change: activated -> deactivating (reason 'sleeping', managed-type: 'full')
Dec 09 11:18:16 archlinux wpa_supplicant[956]: nl80211: send_event_marker failed: Source based routing not supported
Dec 09 11:18:16 archlinux wpa_supplicant[956]: wlan0: CTRL-EVENT-DISCONNECTED bssid=ac:22:05:c5:11:8a reason=3 locally_generated=1
Dec 09 11:18:16 archlinux wpa_supplicant[956]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.5881] device (wlan0): supplicant interface state: completed -> disconnected
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.5883] device (wlan0): state change: deactivating -> disconnected (reason 'sleeping', managed-type: 'full')
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.5889] dhcp4 (wlan0): canceled DHCP transaction
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.5889] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.5889] dhcp4 (wlan0): state changed no lease
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.5892] dhcp6 (wlan0): canceled DHCP transaction
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.5892] dhcp6 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.5892] dhcp6 (wlan0): state changed no lease
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.6051] device (wlan0): set-hw-addr: set MAC address to BE:F2:C3:6D:1A:9A (scanning)
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.6545] device (wlan0): state change: disconnected -> unmanaged (reason 'unmanaged-nm-disabled', managed-type: 'full')
Dec 09 11:18:16 archlinux NetworkManager[947]: <info> [1765275496.6796] device (wlan0): set-hw-addr: reset MAC address to 40:D1:33:31:25:EA (unmanage)
Dec 09 11:18:16 archlinux wpa_supplicant[956]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Dec 09 11:18:16 archlinux wpa_supplicant[956]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Dec 09 11:18:16 archlinux wpa_supplicant[956]: nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
Dec 09 11:18:16 archlinux systemd[1]: Reached target Sleep.
Dec 09 11:18:16 archlinux wpa_supplicant[956]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Dec 09 11:18:16 archlinux systemd-sleep[14051]: User sessions remain unfrozen on explicit request ($SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0).
Dec 09 11:18:16 archlinux systemd-sleep[14051]: This is not recommended, and might result in unexpected behavior, particularly
Dec 09 11:18:16 archlinux systemd-sleep[14051]: in suspend-then-hibernate operations or setups with encrypted home directories.
Dec 09 11:18:16 archlinux wpa_supplicant[956]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Dec 09 11:18:16 archlinux wpa_supplicant[956]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Dec 09 11:18:16 archlinux systemd-sleep[14059]: modprobe: FATAL: Module iwlwifi is in use.
Dec 09 11:18:16 archlinux (sd-exec-strv)[14054]: /usr/lib/systemd/system-sleep/iwlwifi.sh failed with exit status 1.
Dec 09 11:18:16 archlinux systemd-sleep[14051]: Performing sleep operation 'suspend'...
Dec 09 11:18:27 archlinux kernel: iwlwifi 0000:01:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
Dec 09 11:18:27 archlinux kernel: iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
Dec 09 11:18:27 archlinux kernel: iwlwifi 0000:01:00.0: Transport status: 0x00000042, valid: -1
Dec 09 11:18:27 archlinux kernel: iwlwifi 0000:01:00.0: Loaded firmware version: 101.6ef20b19.0 gl-c0-fm-c0-101.ucode
Dec 09 11:18:27 archlinux systemd-sleep[14051]: System returned from sleep operation 'suspend'.
Dec 09 11:18:27 archlinux kernel: iwlwifi 0000:01:00.0: 0xFFFFFFFF | ADVANCED_SYSASSERT System goes to sleep, NM enters sleep mode, wpa_supplicant disconnects and then NM goes full ADHS, restarts DHCP requests and scans for APs.
Then It looks like some sleep hook is trying (and failing) to unload iwlwifi and then the firmware crashes.
Remove that sleep hook (resp. unload iwlmld first) but other than that it looks like the nonsense from your first journal and is obviously not caused by the external iwd service.
So we need to figure why NM comes up w/ the idea that *now* would be a good idea to shop around for a connection (ie. *while* it's disconnecting for the sleep)
=> Did you set up any specific NM dispatcher scripts or something special wrt the docker interface?
Anything special in
Dec 09 11:18:16 archlinux systemd[1147]: Started hyprlock.sh.that script?
Online
I have set up this dispacher script but it didn't fix the issue:
#!/bin/sh
case $1/$2 in
pre/*)
modprobe -r iwlmvm iwlwifi
;;
post/*)
modprobe iwlmvm iwlwifi
;;
esacI will delete it now
Currently the /etc/NetworkManager/dispatcher.d/ is empty
Also i haven't touched hyprlock but I do use HyDe dotfiles - https://github.com/HyDE-Project/HyDE
Offline
I have set up this dispacher script but it didn't fix the issue:
You're not using iwlmvm but iwlmld
I do use HyDe dotfiles
Ok, just to be sure: what if you don't?
Online
I do use HyDe dotfiles
Am just saying that I don't have the deafult hyprlock config but with some configuration. I am not sure if that could be a problem or not.
You're not using iwlmvm but iwlmld
Ok, but still whenever i try to paste into terminal:
modprobe -r iwlmvm iwlwifiI get
modprobe: FATAL: Module iwlwifi is in use.
And disabling nm, wpa_supplicant doesn't help
Last edited by Mike000 (2025-12-09 16:19:19)
Offline
[SOLUTION]
Set up this script in:
/usr/lib/systemd/system-sleep/iwlwifi.sh
#!/bin/sh
case "$1" in
pre)
rfkill block wifi
modprobe -r iwlmld iwlwifi
;;
post)
modprobe iwlwifi
rfkill unblock wifi
;;
esacThen make it executable:
sudo chmod +x /usr/lib/systemd/system-sleep/iwlwifi.shThat's it. This should work.
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online