You are not logged in.

#1 2020-11-29 01:56:56

PJBeans
Member
Registered: 2020-11-29
Posts: 3

[SOLVED] Wifi breaks after resuming suspend or booting off battery

Hello everyone!

This is my first time posting here (although not my first time using Arch, or Linux in general). I'm pretty sure this is the appropriate place to put my post, but if it isn't I apologize and will happily move it to wherever is correct!

Tl;dr:

- Wi-Fi card disappears and fails to function after waking the device from suspend or booting the device when not plugged in (i.e., off battery power).
- It's a HP Laptop 14z-fq0000 with an Intel Wi-Fi 6 AX200 160MHz, REV=0x340.
- I'm using GNOME for a DE;
- Linux 5.9 for a kernel
- Vanilla Arch 64 bit (of course)
- NetworkManager for network management
- TLP is NOT installed
- The issue is temporarily resolved by plugging the device in, although breaks after the next suspend or reboot if the device isn't plugged in.
- The issue wasn't present in Windows, although was present in Manjaro, even with kernel 5.4.

---

Alright, so I decided to pick up the HP Laptop 14z-fq0000 as a cheap secondary laptop to bring to school (before we shut down, of course). It shipped with Windows, so I set up Windows, let Windows update do its thing, and then installed Manjaro. It worked fine except for the issue I'm about to outline. Today, I installed vanilla Arch, and it too work just fine, except for one issue regarding Wi-Fi (the same one Manjaro had).

The Wi-Fi card is an Intel Wi-Fi 6 AX200 160MHz, REV=0x340 (according to dmesg). To my understanding, the driver is iwlwifi.

I'm running kernel version 5.9. In Manjaro, I also tried kernel 5.4 with no luck of fixing the issue (just mentioning it; I'm not seeking support for Manjaro obviously.)

If the laptop is booted or resumes after suspend while plugged in, Wif-Fi works fine. However, if it is booted from or resumed from suspend (after closing the lid or hitting the power button) when NOT plugged in, Wi-Fi breaks. In GNOME Settings, the entry for Wi-Fi disappears and reappears; when I'm able to access it, it says "No Wi-Fi adapter found." In the top panel of GNOME, under the utilities section on the right side, the entry for Wi-Fi also reappears and disappears, although the text next to the Wi-Fi indicator is just blank.

Running `rfkill` doesn't appear to give much insight; everything is unblocked. (Sorry, I'm using my other machine to make this post and didn't have this output handy so I had to retype it; the others are fine)

ID   TYPE       DEVICE SOFT        HARD
400 bluetooth  hci0        unblocked unblocked
721 wlan         phy718  unblocked unblocked

Running `ip link` either shows the card in the DOWN state, or absent entirely (showing only the first two entries), depending on when I run it (sometimes it's there, sometimes it isn't):

1: 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
2: enp3s0f3u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 0c:37:96:02:84:7c brd ff:ff:ff:ff:ff:ff
414: wlp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 18:26:49:cc:c5:d6 brd ff:ff:ff:ff:ff:ff

Running `ip link set wlp1s0 up` either returns

RTNETLINK answers: Input/output error

or

Cannot find device: wlp1s0

The biggest lead I've found so far is from dmesg. It was kinda hard to see where one part of the (relevant) log begins and ends, so the entire log is in a pastebin here: https://pastebin.com/7ANU4mAZ. From what I can tell, this is the error (unless there's more that I didn't notice is in the Pastebin):

[ 2453.803989] iwlwifi 0000:01:00.0: 0x00000000 | last cmd Id
[ 2453.803992] iwlwifi 0000:01:00.0: 0x00016468 | wait_event
[ 2453.803994] iwlwifi 0000:01:00.0: 0x00000000 | l2p_control
[ 2453.803997] iwlwifi 0000:01:00.0: 0x00000000 | l2p_duration
[ 2453.804000] iwlwifi 0000:01:00.0: 0x00000000 | l2p_mhvalid
[ 2453.804003] iwlwifi 0000:01:00.0: 0x00000000 | l2p_addr_match
[ 2453.804006] iwlwifi 0000:01:00.0: 0x00000009 | lmpm_pmg_sel
[ 2453.804008] iwlwifi 0000:01:00.0: 0x00000000 | timestamp
[ 2453.804011] iwlwifi 0000:01:00.0: 0x00000028 | flow_handler
[ 2453.804186] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[ 2453.804190] iwlwifi 0000:01:00.0: Status: 0x00000050, count: 7
[ 2453.804194] iwlwifi 0000:01:00.0: 0x20000066 | NMI_INTERRUPT_HOST
[ 2453.804197] iwlwifi 0000:01:00.0: 0x00000000 | umac branchlink1
[ 2453.804199] iwlwifi 0000:01:00.0: 0x80465826 | umac branchlink2
[ 2453.804202] iwlwifi 0000:01:00.0: 0x8048074C | umac interruptlink1
[ 2453.804205] iwlwifi 0000:01:00.0: 0x8048074C | umac interruptlink2
[ 2453.804208] iwlwifi 0000:01:00.0: 0x01000000 | umac data1
[ 2453.804211] iwlwifi 0000:01:00.0: 0x8048074C | umac data2
[ 2453.804214] iwlwifi 0000:01:00.0: 0x00000000 | umac data3
[ 2453.804217] iwlwifi 0000:01:00.0: 0x00000037 | umac major
[ 2453.804219] iwlwifi 0000:01:00.0: 0xD9698065 | umac minor
[ 2453.804222] iwlwifi 0000:01:00.0: 0x0029E1AB | frame pointer
[ 2453.804225] iwlwifi 0000:01:00.0: 0xC0886270 | stack pointer
[ 2453.804228] iwlwifi 0000:01:00.0: 0x00050201 | last host cmd
[ 2453.804231] iwlwifi 0000:01:00.0: 0x00000000 | isr status reg
[ 2453.804363] iwlwifi 0000:01:00.0: Fseq Registers:
[ 2453.804416] iwlwifi 0000:01:00.0: 0x60000000 | FSEQ_ERROR_CODE
[ 2453.804467] iwlwifi 0000:01:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
[ 2453.804518] iwlwifi 0000:01:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
[ 2453.804568] iwlwifi 0000:01:00.0: 0x0000A503 | FSEQ_OTP_VERSION
[ 2453.804620] iwlwifi 0000:01:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
[ 2453.804670] iwlwifi 0000:01:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[ 2453.804721] iwlwifi 0000:01:00.0: 0x00100530 | FSEQ_CNVI_ID
[ 2453.804771] iwlwifi 0000:01:00.0: 0x00000532 | FSEQ_CNVR_ID
[ 2453.804823] iwlwifi 0000:01:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
[ 2453.804877] iwlwifi 0000:01:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
[ 2453.804930] iwlwifi 0000:01:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 2453.804982] iwlwifi 0000:01:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 2453.805035] iwlwifi 0000:01:00.0: Firmware error during reconfiguration - reprobe!
[ 2453.805047] iwlwifi 0000:01:00.0: Failed to set soc latency: -110
[ 2453.805090] iwlwifi 0000:01:00.0: LED command failed: -5
[ 2453.805151] iwlwifi 0000:01:00.0: LED command failed: -5
[ 2453.874084] audit: type=1130 audit(1606611615.729:812): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2453.933960] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-cc-a0-56.ucode failed with error -2
[ 2453.934741] iwlwifi 0000:01:00.0: api flags index 2 larger than supported by driver
[ 2453.934773] iwlwifi 0000:01:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.22
[ 2453.934783] iwlwifi 0000:01:00.0: Found debug destination: EXTERNAL_DRAM
[ 2453.934787] iwlwifi 0000:01:00.0: Found debug configuration: 0
[ 2453.935571] iwlwifi 0000:01:00.0: loaded firmware version 55.d9698065.0 cc-a0-55.ucode op_mode iwlmvm
[ 2453.935664] iwlwifi 0000:01:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[ 2454.128951] iwlwifi 0000:01:00.0: base HW address: 18:26:49:cc:c5:d6
[ 2454.160234] iwlwifi 0000:01:00.0 wlp1s0: renamed from wlan0
[ 2454.170356] thermal thermal_zone1: failed to read out thermal zone (-61)
[ 2457.002799] iwlwifi 0000:01:00.0: Error sending BT_CONFIG: time out after 2000ms.
[ 2457.002806] iwlwifi 0000:01:00.0: Current CMD queue read_ptr 5 write_ptr 6
[ 2457.003009] iwlwifi 0000:01:00.0: HCMD_ACTIVE already clear for command BT_CONFIG
[ 2457.003256] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[ 2457.003260] iwlwifi 0000:01:00.0: Status: 0x00000040, count: 6
[ 2457.003264] iwlwifi 0000:01:00.0: Loaded firmware version: 55.d9698065.0 cc-a0-55.ucode
[ 2457.003269] iwlwifi 0000:01:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[ 2457.003272] iwlwifi 0000:01:00.0: 0x00A0A2F0 | trm_hw_status0
[ 2457.003275] iwlwifi 0000:01:00.0: 0x00000000 | trm_hw_status1
[ 2457.003278] iwlwifi 0000:01:00.0: 0x004FA34A | branchlink2
[ 2457.003281] iwlwifi 0000:01:00.0: 0x004E4BBC | interruptlink1
[ 2457.003284] iwlwifi 0000:01:00.0: 0x004E4BBC | interruptlink2
[ 2457.003287] iwlwifi 0000:01:00.0: 0x00016468 | data1
[ 2457.003289] iwlwifi 0000:01:00.0: 0xFF000000 | data2
[ 2457.003292] iwlwifi 0000:01:00.0: 0x00000000 | data3
[ 2457.003294] iwlwifi 0000:01:00.0: 0x00000000 | beacon time
[ 2457.003297] iwlwifi 0000:01:00.0: 0x002A160E | tsf low
[ 2457.003300] iwlwifi 0000:01:00.0: 0x00000000 | tsf hi
[ 2457.003302] iwlwifi 0000:01:00.0: 0x00000000 | time gp1
[ 2457.003305] iwlwifi 0000:01:00.0: 0x002A79A0 | time gp2
[ 2457.003308] iwlwifi 0000:01:00.0: 0x00000001 | uCode revision type
[ 2457.003310] iwlwifi 0000:01:00.0: 0x00000037 | uCode version major
[ 2457.003313] iwlwifi 0000:01:00.0: 0xD9698065 | uCode version minor
[ 2457.003315] iwlwifi 0000:01:00.0: 0x00000340 | hw version
[ 2457.003318] iwlwifi 0000:01:00.0: 0x18C89000 | board version
[ 2457.003321] iwlwifi 0000:01:00.0: 0x803BFD26 | hcmd
[ 2457.003324] iwlwifi 0000:01:00.0: 0x20028000 | isr0
[ 2457.003326] iwlwifi 0000:01:00.0: 0x00000000 | isr1
[ 2457.003329] iwlwifi 0000:01:00.0: 0x08F00002 | isr2
[ 2457.003332] iwlwifi 0000:01:00.0: 0x00C0001C | isr3
[ 2457.003334] iwlwifi 0000:01:00.0: 0x00000000 | isr4
[ 2457.003337] iwlwifi 0000:01:00.0: 0x00000000 | last cmd Id
[ 2457.003340] iwlwifi 0000:01:00.0: 0x00016468 | wait_event
[ 2457.003342] iwlwifi 0000:01:00.0: 0x00000000 | l2p_control
[ 2457.003345] iwlwifi 0000:01:00.0: 0x00000000 | l2p_duration
[ 2457.003347] iwlwifi 0000:01:00.0: 0x00000000 | l2p_mhvalid
[ 2457.003350] iwlwifi 0000:01:00.0: 0x00000000 | l2p_addr_match
[ 2457.003353] iwlwifi 0000:01:00.0: 0x00000009 | lmpm_pmg_sel
[ 2457.003355] iwlwifi 0000:01:00.0: 0x00000000 | timestamp
[ 2457.003358] iwlwifi 0000:01:00.0: 0x00000028 | flow_handler
[ 2457.003534] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[ 2457.003537] iwlwifi 0000:01:00.0: Status: 0x00000040, count: 7
[ 2457.003540] iwlwifi 0000:01:00.0: 0x20000066 | NMI_INTERRUPT_HOST
[ 2457.003543] iwlwifi 0000:01:00.0: 0x00000000 | umac branchlink1
[ 2457.003546] iwlwifi 0000:01:00.0: 0x80465826 | umac branchlink2
[ 2457.003549] iwlwifi 0000:01:00.0: 0x8048074C | umac interruptlink1
[ 2457.003551] iwlwifi 0000:01:00.0: 0x8048074C | umac interruptlink2
[ 2457.003554] iwlwifi 0000:01:00.0: 0x01000000 | umac data1
[ 2457.003557] iwlwifi 0000:01:00.0: 0x8048074C | umac data2
[ 2457.003559] iwlwifi 0000:01:00.0: 0x00000000 | umac data3
[ 2457.003562] iwlwifi 0000:01:00.0: 0x00000037 | umac major
[ 2457.003565] iwlwifi 0000:01:00.0: 0xD9698065 | umac minor
[ 2457.003567] iwlwifi 0000:01:00.0: 0x002A799B | frame pointer
[ 2457.003570] iwlwifi 0000:01:00.0: 0xC0886270 | stack pointer
[ 2457.003573] iwlwifi 0000:01:00.0: 0x0005019B | last host cmd
[ 2457.003575] iwlwifi 0000:01:00.0: 0x00000000 | isr status reg
[ 2457.003706] iwlwifi 0000:01:00.0: Fseq Registers:
[ 2457.003757] iwlwifi 0000:01:00.0: 0x60000000 | FSEQ_ERROR_CODE
[ 2457.003810] iwlwifi 0000:01:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
[ 2457.003860] iwlwifi 0000:01:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
[ 2457.003911] iwlwifi 0000:01:00.0: 0x0000A503 | FSEQ_OTP_VERSION
[ 2457.003962] iwlwifi 0000:01:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
[ 2457.004012] iwlwifi 0000:01:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[ 2457.004064] iwlwifi 0000:01:00.0: 0x00100530 | FSEQ_CNVI_ID
[ 2457.004115] iwlwifi 0000:01:00.0: 0x00000532 | FSEQ_CNVR_ID
[ 2457.004166] iwlwifi 0000:01:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
[ 2457.004218] iwlwifi 0000:01:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
[ 2457.004272] iwlwifi 0000:01:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 2457.004324] iwlwifi 0000:01:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 2457.004669] iwlwifi 0000:01:00.0: WRT: Collecting data: ini trigger 4 fired.
[ 2457.004679] ieee80211 phy317: Hardware restart was requested
[ 2459.160372] audit: type=1131 audit(1606611621.016:813): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2460.843319] iwlwifi 0000:01:00.0: Error sending PHY_CONTEXT_CMD: time out after 2000ms.
[ 2460.843324] iwlwifi 0000:01:00.0: Current CMD queue read_ptr 10 write_ptr 11
[ 2460.843670] iwlwifi 0000:01:00.0: HCMD_ACTIVE already clear for command PHY_CONTEXT_CMD
[ 2460.843816] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[ 2460.843818] iwlwifi 0000:01:00.0: Status: 0x00000050, count: 6
[ 2460.843820] iwlwifi 0000:01:00.0: Loaded firmware version: 55.d9698065.0 cc-a0-55.ucode
[ 2460.843823] iwlwifi 0000:01:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[ 2460.843824] iwlwifi 0000:01:00.0: 0x00A022F0 | trm_hw_status0
[ 2460.843826] iwlwifi 0000:01:00.0: 0x00000000 | trm_hw_status1
[ 2460.843827] iwlwifi 0000:01:00.0: 0x004FA34A | branchlink2
[ 2460.843829] iwlwifi 0000:01:00.0: 0x004E4BBC | interruptlink1
[ 2460.843830] iwlwifi 0000:01:00.0: 0x004E4BBC | interruptlink2
[ 2460.843832] iwlwifi 0000:01:00.0: 0x00016468 | data1
[ 2460.843833] iwlwifi 0000:01:00.0: 0xFF000000 | data2
[ 2460.843834] iwlwifi 0000:01:00.0: 0x00000000 | data3
[ 2460.843836] iwlwifi 0000:01:00.0: 0x00000000 | beacon time
[ 2460.843837] iwlwifi 0000:01:00.0: 0x002974D0 | tsf low
[ 2460.843838] iwlwifi 0000:01:00.0: 0x00000000 | tsf hi
[ 2460.843840] iwlwifi 0000:01:00.0: 0x00000000 | time gp1
[ 2460.843841] iwlwifi 0000:01:00.0: 0x0029D894 | time gp2
[ 2460.843842] iwlwifi 0000:01:00.0: 0x00000001 | uCode revision type
[ 2460.843844] iwlwifi 0000:01:00.0: 0x00000037 | uCode version major
[ 2460.843845] iwlwifi 0000:01:00.0: 0xD9698065 | uCode version minor
[ 2460.843846] iwlwifi 0000:01:00.0: 0x00000340 | hw version
[ 2460.843848] iwlwifi 0000:01:00.0: 0x18C89000 | board version
[ 2460.843849] iwlwifi 0000:01:00.0: 0x803FFD26 | hcmd
[ 2460.843850] iwlwifi 0000:01:00.0: 0x00020000 | isr0
[ 2460.843852] iwlwifi 0000:01:00.0: 0x00000000 | isr1
[ 2460.843853] iwlwifi 0000:01:00.0: 0x08F00002 | isr2
[ 2460.843854] iwlwifi 0000:01:00.0: 0x00C0001C | isr3
[ 2460.843855] iwlwifi 0000:01:00.0: 0x00000000 | isr4
[ 2460.843857] iwlwifi 0000:01:00.0: 0x00000000 | last cmd Id
[ 2460.843858] iwlwifi 0000:01:00.0: 0x00016468 | wait_event
[ 2460.843859] iwlwifi 0000:01:00.0: 0x00000000 | l2p_control
[ 2460.843861] iwlwifi 0000:01:00.0: 0x00000000 | l2p_duration
[ 2460.843862] iwlwifi 0000:01:00.0: 0x00000000 | l2p_mhvalid
[ 2460.843863] iwlwifi 0000:01:00.0: 0x00000000 | l2p_addr_match
[ 2460.843865] iwlwifi 0000:01:00.0: 0x00000009 | lmpm_pmg_sel
[ 2460.843866] iwlwifi 0000:01:00.0: 0x00000000 | timestamp
[ 2460.843867] iwlwifi 0000:01:00.0: 0x0000084C | flow_handler
[ 2460.844035] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[ 2460.844037] iwlwifi 0000:01:00.0: Status: 0x00000050, count: 7
[ 2460.844039] iwlwifi 0000:01:00.0: 0x20000066 | NMI_INTERRUPT_HOST
[ 2460.844040] iwlwifi 0000:01:00.0: 0x00000000 | umac branchlink1
[ 2460.844041] iwlwifi 0000:01:00.0: 0x80465826 | umac branchlink2
[ 2460.844043] iwlwifi 0000:01:00.0: 0x8048074C | umac interruptlink1
[ 2460.844044] iwlwifi 0000:01:00.0: 0x8048074C | umac interruptlink2
[ 2460.844045] iwlwifi 0000:01:00.0: 0x01000000 | umac data1
[ 2460.844046] iwlwifi 0000:01:00.0: 0x8048074C | umac data2
[ 2460.844048] iwlwifi 0000:01:00.0: 0x00000000 | umac data3
[ 2460.844049] iwlwifi 0000:01:00.0: 0x00000037 | umac major
[ 2460.844050] iwlwifi 0000:01:00.0: 0xD9698065 | umac minor
[ 2460.844052] iwlwifi 0000:01:00.0: 0x0029D88E | frame pointer
[ 2460.844053] iwlwifi 0000:01:00.0: 0xC0886270 | stack pointer
[ 2460.844054] iwlwifi 0000:01:00.0: 0x000A0108 | last host cmd
[ 2460.844056] iwlwifi 0000:01:00.0: 0x00000000 | isr status reg
[ 2460.844185] iwlwifi 0000:01:00.0: Fseq Registers:
[ 2460.844237] iwlwifi 0000:01:00.0: 0x60000000 | FSEQ_ERROR_CODE
[ 2460.844290] iwlwifi 0000:01:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
[ 2460.844334] iwlwifi 0000:01:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
[ 2460.844387] iwlwifi 0000:01:00.0: 0x0000A503 | FSEQ_OTP_VERSION
[ 2460.844432] iwlwifi 0000:01:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
[ 2460.844483] iwlwifi 0000:01:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[ 2460.844527] iwlwifi 0000:01:00.0: 0x00100530 | FSEQ_CNVI_ID
[ 2460.844571] iwlwifi 0000:01:00.0: 0x00000532 | FSEQ_CNVR_ID
[ 2460.844622] iwlwifi 0000:01:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
[ 2460.844668] iwlwifi 0000:01:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
[ 2460.844713] iwlwifi 0000:01:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 2460.844765] iwlwifi 0000:01:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 2460.844812] iwlwifi 0000:01:00.0: Firmware error during reconfiguration - reprobe!
[ 2460.844818] iwlwifi 0000:01:00.0: PHY ctxt cmd error. ret=-110
[ 2460.844846] iwlwifi 0000:01:00.0: LED command failed: -5
[ 2460.844883] iwlwifi 0000:01:00.0: LED command failed: -5
[ 2460.911186] audit: type=1130 audit(1606611622.766:814): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2460.989270] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-cc-a0-56.ucode failed with error -2
[ 2460.990073] iwlwifi 0000:01:00.0: api flags index 2 larger than supported by driver
[ 2460.990103] iwlwifi 0000:01:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.22
[ 2460.990112] iwlwifi 0000:01:00.0: Found debug destination: EXTERNAL_DRAM
[ 2460.990115] iwlwifi 0000:01:00.0: Found debug configuration: 0
[ 2460.990886] iwlwifi 0000:01:00.0: loaded firmware version 55.d9698065.0 cc-a0-55.ucode op_mode iwlmvm
[ 2460.990977] iwlwifi 0000:01:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[ 2461.683497] iwlwifi 0000:01:00.0: base HW address: 18:26:49:cc:c5:d6
[ 2461.711668] iwlwifi 0000:01:00.0 wlp1s0: renamed from wlan0
[ 2461.718214] thermal thermal_zone1: failed to read out thermal zone (-61)

I noticed that it said the device had to be reprobed... I ran `modprobe iwlwifi`, but it did not work, returning no output.

I'll update this if I try anything else or if I remember anything else. Any help is appreciated.

It's worth noting Ethernet works just fine regardless of power being plugged in our not. Bluetooth also seems to be broken, although it's just permanently powered off. I'm not sure whether or not it's related, but if it isn't, I can live with it broken until I have time to try to fix it.

Wi-Fi worked fine on Windows on battery power and when plugged in.

Finally, the issue is temporarily resolved by plugging the device in. It will even keep working after unplugging it, until the device suspends or reboots. The issue only occurs after waking from suspend, rebooting, or a cold boot.

EDIT: Wi-Fi now breaks when unplugging, even before suspending.

EDIT 2: I tried booting Arch off of the USB. Wi-Fi works as expected when I set it up with iwctl. Very strange.

I'm happy to provide any information I missed. If I posted this in the wrong section, I apologize and will move the post there if needed.

Thanks in advance!

Last edited by PJBeans (2020-11-30 04:51:09)

Offline

#2 2020-11-29 23:08:50

PJBeans
Member
Registered: 2020-11-29
Posts: 3

Re: [SOLVED] Wifi breaks after resuming suspend or booting off battery

UPDATE: Fixed it!

While before I had reasoned it was likely an issue with power management, for the life of me I could not figure out how to fix it. Turns out the issue wasn't with the driver as I had thought, but instead iwlmvm. Iwlmvm had a power-saving mode that overrode whatever mode I attempted to set iwlwifi in. Credit goes to user "v&n" on the Debian forums, here: http://forums.debian.net/viewtopic.php?t=121696

The fix:

Create the file "/etc/modprobe.d/iwlmvm.conf" if it doesn't exist already, and add the following too it:

options iwlmvm power_scheme=1

If you're having this issue, check to see if your device uses MVM or DVM firmware. I'm unsure whether this setting is supported for iwldvm as I don't have a device which uses it.

Offline

#3 2020-11-29 23:53:02

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] Wifi breaks after resuming suspend or booting off battery

Interesting, good that you got it. smile

In any case, this sounds useful for the Wiki, specially the troubleshooting part.

If you wish/can, take this topic into the relevant discussion page, and if there's more than 1 that agree/suffered this, add it to the relevant troubleshooting section. smile

Last edited by GaKu999 (2020-11-29 23:53:17)


My reposSome snippets

Heisenberg might have been here.

Offline

#4 2020-11-30 00:02:45

PJBeans
Member
Registered: 2020-11-29
Posts: 3

Re: [SOLVED] Wifi breaks after resuming suspend or booting off battery

Thanks, I'll bring it to the discussion page!

Offline

Board footer

Powered by FluxBB