[Resolved] Dell XPS 13 9343, WiFi is down after sleep

Hello, I had this problem already with a Kubuntu installation and never managed to solve it.
After putting my laptop to sleep, and resuming, the WiFi will not work anymore, I have to reboot in order to get my network up and running.
My BIOS is up to date.
Here is the output of some commands to provide more information.

inxi -Fx

System:    Host: xps13 Kernel: 4.19.62-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.1.0 Desktop: KDE Plasma 5.16.3 
           tk: Qt 5.13.0 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: Dell product: XPS 13 9343 v: N/A serial: <filter> Chassis: type: 9 serial: <filter> 
           Mobo: Dell model: 0F5KF3 v: A00 serial: <filter> UEFI: Dell v: A19 date: 12/24/2018 
Battery:   ID-1: BAT0 charge: 42.7 Wh condition: 42.7/54.0 Wh (79%) volts: 8.5/7.5 model: Sanyo DELL 0DRRP53 type: Li-poly 
           serial: <filter> status: Full 
CPU:       Topology: Dual Core model: Intel Core i7-5600U bits: 64 type: MT MCP arch: Broadwell rev: 4 L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20761 
           Speed: 899 MHz min/max: 500/3200 MHz Core speeds (MHz): 1: 1181 2: 1178 3: 1194 4: 1185 
Graphics:  Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:1616 
           Display: x11 server: X.Org 1.20.5 driver: intel unloaded: modesetting alternate: fbdev,vesa compositor: kwin_x11 
           resolution: 3200x1800~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2) v: 4.5 Mesa 19.1.3 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel Broadwell-U Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:03.0 chip ID: 8086:160c 
           Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           chip ID: 8086:9ca0 
           Sound Server: ALSA v: k4.19.62-1-MANJARO 
Network:   Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel port: f040 bus ID: 02:00.0 chip ID: 8086:095a 
           IF: wlp2s0 state: up mac: <filter> 
Drives:    Local Storage: total: 238.47 GiB used: 15.92 GiB (6.7%) 
           ID-1: /dev/sda vendor: Samsung model: SSD PM851 M.2 2280 256GB size: 238.47 GiB speed: 6.0 Gb/s serial: <filter> 
           rev: 5D0Q scheme: GPT 
Partition: ID-1: / size: 224.77 GiB used: 15.92 GiB (7.1%) fs: ext4 dev: /dev/sda2 
           ID-2: swap-1 size: 8.80 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 60.0 C mobo: 60.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 178 Uptime: 20m Memory: 7.68 GiB used: 1.50 GiB (19.5%) Init: systemd v: 242 Compilers: gcc: 9.1.0 
           Shell: zsh v: 5.7.1 running in: yakuake inxi: 3.0.35 

lsmod | sort

ac                     16384  0
acpi_thermal_rel       16384  1 int3400_thermal
aesni_intel           200704  6
aes_x86_64             20480  1 aesni_intel
agpgart                49152  2 intel_gtt,drm
ahci                   40960  3
arc4                   16384  2
atkbd                  32768  0
battery                24576  0
bluetooth             659456  41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
bnep                   24576  2
btbcm                  16384  1 btusb
btintel                24576  1 btusb
btrtl                  16384  1 btusb
btusb                  53248  0
ccm                    20480  6
cfg80211              786432  3 iwlmvm,iwlwifi,mac80211
cmac                   16384  1
cmdlinepart            16384  0
coretemp               16384  0
crc16                  16384  2 bluetooth,ext4
crc32c_generic         16384  0
crc32c_intel           24576  2
crc32_pclmul           16384  0
crct10dif_pclmul       16384  0
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
crypto_simd            16384  1 aesni_intel
crypto_user            16384  0
dcdbas                 16384  1 dell_smbios
dell_laptop            24576  1
dell_smbios            28672  2 dell_wmi,dell_laptop
dell_wmi               16384  0
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
drm                   507904  11 drm_kms_helper,i915
drm_kms_helper        208896  1 i915
ecdh_generic           24576  2 bluetooth
ehci_hcd               94208  1 ehci_pci
ehci_pci               16384  0
evdev                  24576  15
ext4                  741376  1
fat                    86016  1 vfat
fb_sys_fops            16384  1 drm_kms_helper
fscrypto               32768  1 ext4
fuse                  122880  5
ghash_clmulni_intel    16384  0
glue_helper            16384  1 aesni_intel
hid                   135168  4 i2c_hid,usbhid,hid_multitouch,hid_generic
hid_generic            16384  0
hid_multitouch         28672  0
i2c_algo_bit           16384  1 i915
i2c_hid                24576  0
i2c_i801               32768  0
i8042                  32768  1 dell_laptop
i915                 2105344  29
input_leds             16384  0
int3400_thermal        16384  0
int3402_thermal        16384  0
int3403_thermal        16384  0
int340x_thermal_zone    16384  3 int3403_thermal,int3402_thermal,processor_thermal_device
intel_cstate           16384  0
intel_gtt              24576  1 i915
intel_pch_thermal      16384  0
intel_powerclamp       16384  0
intel_rapl             24576  0
intel_rapl_perf        16384  0
intel_soc_dts_iosf     16384  1 processor_thermal_device
intel_spi              20480  1 intel_spi_platform
intel_spi_platform     16384  0
intel_uncore          135168  0
ip_tables              28672  0
irqbypass              16384  1 kvm
iTCO_vendor_support    16384  1 iTCO_wdt
iTCO_wdt               16384  0
iwlmvm                454656  0
iwlwifi               356352  1 iwlmvm
jbd2                  126976  1 ext4
joydev                 24576  0
kvm                   745472  2 kvmgt,kvm_intel
kvmgt                  28672  0
kvm_intel             249856  0
libahci                40960  1 ahci
libata                270336  2 libahci,ahci
libps2                 16384  2 atkbd,psmouse
lpc_ich                28672  0
mac80211              950272  1 iwlmvm
mac_hid                16384  0
mbcache                16384  1 ext4
mdev                   20480  2 kvmgt,vfio_mdev
media                  45056  2 videodev,uvcvideo
mei                   118784  3 mei_wdt,mei_me
mei_me                 45056  1
mei_wdt                16384  0
memstick               16384  1 rtsx_pci_ms
mmc_core              180224  1 rtsx_pci_sdmmc
Module                  Size  Used by
mousedev               24576  0
mtd                    69632  5 cmdlinepart,intel_spi,ofpart
nls_cp437              20480  1
nls_iso8859_1          16384  1
ofpart                 16384  0
pcbc                   16384  0
pcc_cpufreq            16384  0
pcspkr                 16384  0
processor_thermal_device    16384  0
psmouse               176128  0
rfcomm                 86016  16
rfkill                 28672  10 bluetooth,dell_laptop,cfg80211
rng_core               16384  1 tpm
rtsx_pci               73728  2 rtsx_pci_sdmmc,rtsx_pci_ms
rtsx_pci_ms            20480  0
rtsx_pci_sdmmc         28672  0
scsi_mod              253952  2 sd_mod,libata
sd_mod                 61440  4
serio                  28672  6 serio_raw,atkbd,psmouse,i8042
serio_raw              16384  0
snd                   102400  16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     57344  1
snd_hda_codec_realtek   122880  1
snd_hda_core           98304  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel          45056  4
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               131072  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
soundcore              16384  1 snd
sparse_keymap          16384  1 dell_wmi
spi_nor                36864  1 intel_spi
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
tpm                    65536  3 tpm_tis,tpm_crb,tpm_tis_core
tpm_crb                16384  0
tpm_tis                16384  0
tpm_tis_core           20480  1 tpm_tis
uinput                 20480  0
usbhid                 57344  0
uvcvideo              118784  0
vfat                   20480  1
vfio                   32768  3 kvmgt,vfio_mdev,vfio_iommu_type1
vfio_iommu_type1       28672  0
vfio_mdev              16384  0
videobuf2_common       49152  2 videobuf2_v4l2,uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_vmalloc      16384  1 uvcvideo
videodev              217088  3 videobuf2_v4l2,uvcvideo,videobuf2_common
wmi                    28672  4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
wmi_bmof               16384  0
x86_pkg_temp_thermal    16384  0
xhci_hcd              266240  1 xhci_pci
xhci_pci               16384  0
x_tables               45056  1 ip_tables

After putting to sleep:
rfkill list

0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

sudo dmsg

[ 1317.535416] iwlwifi 0000:02:00.0: Could not load the [0] uCode section
[ 1317.535443] iwlwifi 0000:02:00.0: Failed to start INIT ucode: -5
[ 1317.535448] iwlwifi 0000:02:00.0: Failed to run INIT ucode: -5
[ 1317.535451] iwlwifi 0000:02:00.0: Failed to start RT ucode: -5
[ 1320.424624] audit: type=1131 audit(1565466692.546:53): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tlp-sleep comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1321.552152] iwlwifi 0000:02:00.0: Could not load the [0] uCode section
[ 1321.552163] iwlwifi 0000:02:00.0: Failed to start INIT ucode: -5
[ 1321.552165] iwlwifi 0000:02:00.0: Failed to run INIT ucode: -5
[ 1321.552166] iwlwifi 0000:02:00.0: Failed to start RT ucode: -5
[ 1325.668875] iwlwifi 0000:02:00.0: Could not load the [0] uCode section
[ 1325.668895] iwlwifi 0000:02:00.0: Failed to start INIT ucode: -5
[ 1325.668898] iwlwifi 0000:02:00.0: Failed to run INIT ucode: -5
[ 1325.668899] iwlwifi 0000:02:00.0: Failed to start RT ucode: -5
[ 1327.176977] audit: type=1131 audit(1565466699.300:54): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1329.703085] iwlwifi 0000:02:00.0: Could not load the [0] uCode section
[ 1329.703099] iwlwifi 0000:02:00.0: Failed to start INIT ucode: -5
[ 1329.703101] iwlwifi 0000:02:00.0: Failed to run INIT ucode: -5
[ 1329.703101] iwlwifi 0000:02:00.0: Failed to start RT ucode: -5

This can usually be worked around by writing a systemd suspend service. I have many posts on the forum on this topic.

You would need to swap in all your own network details into the unit.

2 Likes

Works flawlessly, thank you, you're a life saver.

Glad to hear one of my services fixed you up. It's always a pleasure to hear that one of my services has resolved an issue for a user.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by