Laptop discharged while in sleep breaks Realtek 8822CE wireless card and USB type C on Asus TUF FA506IV

Bug #1952403 reported by Ion Cebotari
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I own an Asus TUF A15 FA506IV laptop with Ubuntu 21.10. After putting it to sleep it discharged. Turning it back on the Wireless cards doesn't work.

This is what I found in the logs that could help:
Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:311] info: Store: POWER_RESUMED
Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:312] info: Store: SET_SUSPEND_STATUS true
Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:313] info: [DESKTOP-SIDE-EFFECT] Update from desktop for keys ["app"]
Nov 24 15:25:56 Zveri2 kernel: [21587.358139] rtw_8822ce 0000:03:00.0: start vif 80:30:49:cc:98:0f on port 0
Nov 24 15:25:56 Zveri2 charon: 01[KNL] interface wlp3s0 activated
Nov 24 15:25:56 Zveri2 NetworkManager[1059]: <info> [1637760356.4839] manager: NetworkManager state is now CONNECTED_LOCAL
Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:489] info: NetworkStatus: Network check failed {
Nov 24 15:25:56 Zveri2 krunner[16146]: "error": "Failed to fetch"
Nov 24 15:25:56 Zveri2 krunner[16146]: }
Nov 24 15:25:56 Zveri2 krunner[16146]: [11/24/21, 15:25:56:490] info: Network status check {
Nov 24 15:25:56 Zveri2 krunner[16146]: "elapsed_time_ms": 999784,
Nov 24 15:25:56 Zveri2 krunner[16146]: "navigator_online": false,
Nov 24 15:25:56 Zveri2 krunner[16146]: "api_test": "offline"
Nov 24 15:25:56 Zveri2 krunner[16146]: }

After this I am getting the following trace:
Nov 24 15:26:05 Zveri2 kernel: [21596.291200] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[0]
Nov 24 15:26:05 Zveri2 kernel: [21596.291287] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[1]
Nov 24 15:26:05 Zveri2 kernel: [21596.291365] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[2]
Nov 24 15:26:05 Zveri2 kernel: [21596.291484] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[3]
Nov 24 15:26:05 Zveri2 kernel: [21596.291570] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[5]
Nov 24 15:26:05 Zveri2 kernel: [21596.291651] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[6]
Nov 24 15:26:06 Zveri2 krunner[16146]: [11/24/21, 15:26:06:125] info: [NETWORK-CONNECTIVITY] Failed to establish a connection after 10 attempt(s).
Nov 24 15:26:07 Zveri2 kernel: [21598.291806] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
Nov 24 15:26:07 Zveri2 kernel: [21598.292047] ------------[ cut here ]------------
Nov 24 15:26:07 Zveri2 kernel: [21598.292049] failed to read DBI register, addr=0x0719
Nov 24 15:26:07 Zveri2 kernel: [21598.292082] WARNING: CPU: 2 PID: 17826 at drivers/net/wireless/realtek/rtw88/pci.c:1310 rtw_dbi_read8.constprop.0+0x
aa/0xc0 [rtw88_pci]
Nov 24 15:26:07 Zveri2 kernel: [21598.292096] Modules linked in: nf_conntrack_netlink xt_addrtype br_netfilter vboxnetadp(OE) vboxnetflt(OE) xfrm_user
 xfrm_algo vboxdrv(OE) rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack
nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables nfnetlink bridge stp llc cmac algif_hash algif_skcipher overlay af_alg bnep binfmt_misc zfs(PO) zu
nicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) intel_rapl_msr intel_rapl_common joydev snd_hda_codec_realtek snd_hda_code
c_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel edac_mce_amd snd_intel_dspcfg snd_intel_sdw_acpi uvcvideo snd_hda_codec rtw88_8822ce rtw88_88
22c videobuf2_vmalloc snd_hda_core kvm_amd snd_hwdep rtw88_pci btusb videobuf2_memops snd_pcm btrtl rtw88_core videobuf2_v4l2 btbcm videobuf2_common k
vm btintel snd_seq_midi bluetooth videodev snd_seq_midi_event ecdh_generic nls_iso8859_1 mc mac80211 rapl ecc snd_rawmidi input_leds
Nov 24 15:26:07 Zveri2 kernel: [21598.292174] serio_raw efi_pstore wmi_bmof hid_multitouch snd_seq k10temp snd_seq_device cfg80211 snd_timer ucsi_ccg
 snd snd_rn_pci_acp3x libarc4 ccp snd_pci_acp3x soundcore ucsi_acpi typec_ucsi typec asus_wireless mac_hid nvidia_uvm(POE) sch_fq_codel msr parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c dm_crypt hid_logitech_hidpp hid_logitech_dj nvidia_drm(POE) nvidia_modeset(POE) usbhid nvidia(POE) hid_generic amdgpu mfd_aaeon asus_wmi sparse_keymap iommu_v2 gpu_sched i2c_algo_bit drm_ttm_helper ttm drm_kms_helper crct10dif_pclmul crc32_pclmul syscopyarea ghash_clmulni_intel sysfillrect sysimgblt fb_sys_fops cec aesni_intel i2c_hid_acpi r8169 rc_core nvme ahci i2c_hid crypto_simd xhci_pci cryptd drm i2c_piix4 nvme_core libahci realtek xhci_pci_renesas i2c_nvidia_gpu wmi video hid
Nov 24 15:26:07 Zveri2 kernel: [21598.292257] CPU: 2 PID: 17826 Comm: kworker/u32:16 Tainted: P OE 5.13.0-21-generic #21-Ubuntu
Nov 24 15:26:07 Zveri2 kernel: [21598.292261] Hardware name: ASUSTeK COMPUTER INC. TUF Gaming FA506IV_FA506IV/FA506IV, BIOS FA506IV.309 07/02/2020
Nov 24 15:26:07 Zveri2 kernel: [21598.292265] Workqueue: phy0 ieee80211_scan_work [mac80211]
Nov 24 15:26:07 Zveri2 kernel: [21598.292330] RIP: 0010:rtw_dbi_read8.constprop.0+0xaa/0xc0 [rtw88_pci]
Nov 24 15:26:07 Zveri2 kernel: [21598.292338] Code: 03 00 00 48 8b 40 58 e8 84 d4 be de 5b 41 5c 41 88 45 00 31 c0 41 5d 5d c3 be 19 07 00 00 48 c7 c7 e8 76 61 c3 e8 c5 93 7b de <0f> 0b b8 fb ff ff ff 5b 41 5c 41 5d 5d c3 0f 1f 84 00 00 00 00 00
Nov 24 15:26:07 Zveri2 kernel: [21598.292341] RSP: 0018:ffffb2a484093ce0 EFLAGS: 00010282
Nov 24 15:26:07 Zveri2 kernel: [21598.292345] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000027
Nov 24 15:26:07 Zveri2 kernel: [21598.292348] RDX: ffff8a384f6989c8 RSI: 0000000000000001 RDI: ffff8a384f6989c0
Nov 24 15:26:07 Zveri2 kernel: [21598.292351] RBP: ffffb2a484093cf8 R08: 0000000000000000 R09: ffffb2a484093ad0
Nov 24 15:26:07 Zveri2 kernel: [21598.292353] R10: ffffb2a484093ac8 R11: ffffffffa3155268 R12: ffff8a315b1f1f40
Nov 24 15:26:07 Zveri2 kernel: [21598.292355] R13: ffffb2a484093d17 R14: ffff8a315b1f67d0 R15: 0000000000000000
Nov 24 15:26:07 Zveri2 kernel: [21598.292358] FS: 0000000000000000(0000) GS:ffff8a384f680000(0000) knlGS:0000000000000000
Nov 24 15:26:07 Zveri2 kernel: [21598.292361] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 24 15:26:07 Zveri2 kernel: [21598.292364] CR2: 00007fcbf03bf000 CR3: 00000004be010000 CR4: 0000000000350ee0
Nov 24 15:26:07 Zveri2 kernel: [21598.292368] Call Trace:
Nov 24 15:26:07 Zveri2 kernel: [21598.292372] rtw_pci_link_ps+0x53/0x90 [rtw88_pci]
Nov 24 15:26:07 Zveri2 kernel: [21598.292379] ? rtw_core_stop+0xda/0xe0 [rtw88_core]
Nov 24 15:26:07 Zveri2 kernel: [21598.292395] rtw_enter_ips+0x3e/0x50 [rtw88_core]
Nov 24 15:26:07 Zveri2 kernel: [21598.292414] rtw_ops_config+0xd3/0xe0 [rtw88_core]
Nov 24 15:26:07 Zveri2 kernel: [21598.292429] ieee80211_hw_config+0x7d/0xf0 [mac80211]
Nov 24 15:26:07 Zveri2 kernel: [21598.292488] ieee80211_recalc_idle+0x29/0x30 [mac80211]
Nov 24 15:26:07 Zveri2 kernel: [21598.292553] __ieee80211_scan_completed+0x10d/0x350 [mac80211]
Nov 24 15:26:07 Zveri2 kernel: [21598.292614] ieee80211_scan_work+0x128/0x570 [mac80211]
Nov 24 15:26:07 Zveri2 kernel: [21598.292675] process_one_work+0x220/0x3c0
Nov 24 15:26:07 Zveri2 kernel: [21598.292683] worker_thread+0x53/0x420
Nov 24 15:26:07 Zveri2 kernel: [21598.292688] kthread+0x11f/0x140
Nov 24 15:26:07 Zveri2 kernel: [21598.292693] ? process_one_work+0x3c0/0x3c0
Nov 24 15:26:07 Zveri2 kernel: [21598.292698] ? set_kthread_struct+0x50/0x50
Nov 24 15:26:07 Zveri2 kernel: [21598.292703] ret_from_fork+0x22/0x30
Nov 24 15:26:07 Zveri2 kernel: [21598.292711] ---[ end trace 3849ad4bc3633ed8 ]---
Nov 24 15:26:07 Zveri2 kernel: [21598.293067] failed to read DBI register, addr=0x0719

This bug looks similar to the bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872984.
I tried, following https://github.com/lwfinger/rtw88/issues/33 to add the options `rtw_pci disable_aspm=1` and `rtw_pci disable_msi=1` but they didn't help. Some times the cards works for around 20-30 minutes after boot and it turns off again.

Using https://bbs.archlinux.org/viewtopic.php?id=260589 I tried adding to kernel boot parameters `pcie_aspm.policy=performance`, but this didn't help with waking up the wi-fi adapter.

I also tried different kernel combinations (newest mainline kernel as well as kernel versions similar to what were in 20.10 and 21.04), but these didn't help either.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: linux-image-5.13.0-21-generic 5.13.0-21.21
ProcVersionSignature: Ubuntu 5.13.0-21.21-generic 5.13.18
Uname: Linux 5.13.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: ion 2263 F.... pulseaudio
 /dev/snd/controlC0: ion 2263 F.... pulseaudio
 /dev/snd/controlC1: ion 2263 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Fri Nov 26 11:05:17 2021
InstallationDate: Installed on 2020-11-06 (384 days ago)
InstallationMedia: Kubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
MachineType: ASUSTeK COMPUTER INC. ASUS TUF Gaming A15 FA506IV_FA506IV
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-21-generic root=/dev/mapper/vgkubuntu-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.13.0-21-generic N/A
 linux-backports-modules-5.13.0-21-generic N/A
 linux-firmware 1.201.1
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to impish on 2021-10-25 (31 days ago)
dmi.bios.date: 03/12/2021
dmi.bios.release: 5.16
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: FA506IV.316
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: FA506IV
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.ec.firmware.release: 3.12
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrFA506IV.316:bd03/12/2021:br5.16:efr3.12:svnASUSTeKCOMPUTERINC.:pnASUSTUFGamingA15FA506IV_FA506IV:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnFA506IV:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku:
dmi.product.family: ASUS TUF Gaming A15
dmi.product.name: ASUS TUF Gaming A15 FA506IV_FA506IV
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Ion Cebotari (anathemizatu) wrote :
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Ping-Ke Shih (pkshih) wrote : Re: Realtek 8822CE wireless card fails to work after laptop discharge in sleep

> add the options `rtw_pci disable_aspm=1` and `rtw_pci disable_msi=1` but they didn't help.

Please confirm the module parameters by /sys/module/rtw88_pci/parameters/ if they are set properly.

> kernel boot parameters `pcie_aspm.policy=performance`

Since your CPU is AMD, please also add `amd_iommu=off` to kernel command line.

After booting, please check /proc/cmdline to see the setting take effect.

> after laptop discharge in sleep

I would like to know if you use GUI to suspend the laptop. Does it work well?

Also, I'm not clear what "laptop discharge in sleep" means. Could you explain more?

Revision history for this message
Ion Cebotari (anathemizatu) wrote :

Thank you for your reply.

To clarify what "laptop discharge in sleep" means - the day before I put the laptop to sleep, with around 20% of battery remaining. On the second day in the morning the laptop was off, fully discharged. When I plugged it in and turned it on, there was no wireless conectivity, the load on the CPU was increased with lots of messages like below in syslog:

```
Dec 8 13:30:10 Zveri2 kernel: [ 57.005777] rtw_8822ce 0000:03:00.0: failed to poll offset=0x5 mask=0x2 value=0x0
Dec 8 13:30:10 Zveri2 kernel: [ 57.005789] rtw_8822ce 0000:03:00.0: mac power on failed
Dec 8 13:30:10 Zveri2 kernel: [ 57.005793] rtw_8822ce 0000:03:00.0: failed to power on mac
Dec 8 13:30:10 Zveri2 kernel: [ 57.005795] rtw_8822ce 0000:03:00.0: leave idle state failed
Dec 8 13:30:10 Zveri2 kernel: [ 57.005956] rtw_8822ce 0000:03:00.0: failed to leave ips state
Dec 8 13:30:10 Zveri2 kernel: [ 57.005962] rtw_8822ce 0000:03:00.0: failed to leave idle state
Dec 8 13:30:10 Zveri2 kernel: [ 57.006050] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[0]
Dec 8 13:30:10 Zveri2 kernel: [ 57.006122] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[1]
Dec 8 13:30:10 Zveri2 kernel: [ 57.006193] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[2]
Dec 8 13:30:10 Zveri2 kernel: [ 57.006264] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[3]
Dec 8 13:30:10 Zveri2 kernel: [ 57.006335] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[5]
Dec 8 13:30:10 Zveri2 kernel: [ 57.006406] rtw_8822ce 0000:03:00.0: timed out to flush pci tx ring[6]
```

Now I have to add that with `options rtw88_pci disable_msi=1`, sometimes the wifi starts on boot. It works for around 20-30 minutes, and after that I get the following in the logs:

```
Dec 8 12:52:53 Zveri2 krunner[23639]: [12/08/21, 12:52:53:939] info: Store: SET_SYSTEM_IDLE idle
Dec 8 12:53:18 Zveri2 krunner[23954]: Qt: Session management error: networkIdsList argument is NULL
Dec 8 12:53:35 Zveri2 wpa_supplicant[1074]: wlp3s0: CTRL-EVENT-BEACON-LOSS
Dec 8 12:53:35 Zveri2 kernel: [ 4589.882099] rtw_8822ce 0000:03:00.0: failed to send h2c command
Dec 8 12:53:35 Zveri2 kernel: [ 4589.885182] rtw_8822ce 0000:03:00.0: failed to send h2c command
```

> please check /proc/cmdline to see the setting take effect.
```
BOOT_IMAGE=/vmlinuz-5.13.0-22-generic root=/dev/mapper/vgkubuntu-root ro quiet splash pcie_aspm.policy=performance amd_iommu=off vt.handoff=7

```

> Please confirm the module parameters by /sys/module/rtw88_pci/parameters/ if they are set properly

```

root@Zveri2:~# cat /sys/module/rtw88_pci/parameters/disable_aspm
Y
root@Zveri2:~# cat /sys/module/rtw88_pci/parameters/disable_msi
Y

```

Revision history for this message
Ion Cebotari (anathemizatu) wrote :

I forgot to add - I use the sleep button from the GUI and it works well. Thank you for reminding me about it, as I tried another solution, based on this forum post: https://forum.garudalinux.org/t/rtl8822ce-wifi-problems-asus-tuf-gaming-a15/1940/7

I created a SystemD service, called `network-restart` with the following contents:
```
# cat /etc/systemd/system/network-restart.service
# systemctl enable --now network-restart.service
# systemctl start network-restart.service
# systemctl stop network-restart.service
# systemctl disable --now network-restart.service
# systemctl status network-restart.service
# systemctl daemon-reload

[Unit]
Description=Network Suspend/Resume Service
Before=sleep.target
StopWhenUnneeded=yes

[Service]
User=root
Type=oneshot
RemainAfterExit=yes
ExecStartPre=/usr/bin/nmcli networking off
ExecStart=/usr/bin/sleep 1
ExecStart=-/usr/bin/systemctl stop NetworkManager
ExecStart=/usr/bin/sleep 1
ExecStart=/usr/bin/ip link set wlp3s0 down
ExecStart=/usr/bin/sleep 1
ExecStart=/usr/sbin/modprobe -r rtw88_8822ce
ExecStop=/usr/bin/sleep 5
ExecStop=/usr/sbin/modprobe rtw88_8822ce
ExecStop=/usr/bin/sleep 2
ExecStop=/usr/bin/ip link set wlp3s0 up
ExecStop=/usr/bin/sleep 2
ExecStop=/usr/bin/systemctl start NetworkManager
ExecStop=/usr/bin/sleep 2
ExecStop=/usr/bin/nmcli networking on
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/nmcli r wifi off
ExecStop=/usr/bin/sleep 1
ExecStop=/usr/bin/nmcli r wifi on

[Install]
WantedBy=sleep.target
```

I saw no changes, except goind to sleep taking more time. It didn't succeed in "resurrecting" the wi-fi card after returning from sleep, stopping at the line `/usr/bin/ip link set wlp3s0 up` with the error that no such interface exists. Seeing that it didn't help, I removed this service from the system.

Revision history for this message
Ping-Ke Shih (pkshih) wrote :

> I put the laptop to sleep
> I use the sleep button from the GUI and it works well

I guess these two sleep methods are different.
Maybe, you can try to change the behavior of laptop automatic sleep.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

This is more likely to be a PCI or ACPI issue. Maybe the ACPI power resources for the card was turned off?

Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16-rc5/amd64/

Headers are not needed.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Ion Cebotari (anathemizatu) wrote :

I have tested the latest mainline kernel:

```
$ uname -a
Linux Zveri2 5.16.0-051600rc5-generic #202112121931 SMP PREEMPT Mon Dec 13 00:36:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
```

No changes.

I agree that this might be an ACPI issue. On startup, I see the following messages with this kernel:

```
Dec 14 14:24:28 Zveri2 kernel: [ 0.405868] Monitor-Mwait will be used to enter C-1 state
Dec 14 14:24:28 Zveri2 kernel: [ 0.405890] ACPI: \_SB_.PLTF.P000: Found 3 idle states
Dec 14 14:24:28 Zveri2 kernel: [ 0.405898] ACPI: FW issue: working around C-state latencies out of order
***
Dec 14 14:24:28 Zveri2 kernel: [ 0.409080] ACPI: \_TZ_.THRM: Invalid passive threshold
Dec 14 14:24:28 Zveri2 kernel: [ 0.409110] ACPI: \_TZ_.THRM: Invalid active0 threshold
Dec 14 14:24:28 Zveri2 kernel: [ 0.409172] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.THRM._SCP.CTYP], AE_NOT_FOUND (20210930/psargs-330)
Dec 14 14:24:28 Zveri2 kernel: [ 0.409181]
Dec 14 14:24:28 Zveri2 kernel: [ 0.409182] No Local Variables are initialized for Method [_SCP]
Dec 14 14:24:28 Zveri2 kernel: [ 0.409183]
Dec 14 14:24:28 Zveri2 kernel: [ 0.409184] Initialized Arguments for Method [_SCP]: (1 arguments defined for method invocation)
Dec 14 14:24:28 Zveri2 kernel: [ 0.409185] Arg0: 00000000c253b8d9 <Obj> Integer 0000000000000000
Dec 14 14:24:28 Zveri2 kernel: [ 0.409189]
Dec 14 14:24:28 Zveri2 kernel: [ 0.409190] ACPI Error: Aborting method \_TZ.THRM._SCP due to previous error (AE_NOT_FOUND) (20210930/psparse-529)

```

I didn't check if there are changes compared to older linux packages. The messages repeat for \_SB_.PLTF.P000 to \_SB_.PLTF.P00F. The BIOS is updated to the latest version available.

I think @Ping-Ke Shih refers to classic pm-suspend behaviour vs the new S0ix sleep. I used the bash script from here: https://01.org/blogs/qwang59/2018/how-achieve-s0ix-states-linux to test S0ix compatibility of my laptop, and found that there is no support for S0ix at the moment:

```
ACPI: WSMT 0x0000000000000000 000028 (v01 _ASUS_ Notebook 01072009 AMI 00010013)
Acpi Data Table [WSMT] decoded
Formatted output: wsmt.dsl - 1314 bytes
Low Power S0 Idle is 0
The system does not support S0ix!
```

I can add the full output if necessary.

Using either `systemctl suspend` or `pm-suspend`, the computer's behaviour doesn't look different to me.

While googling I found this message in LKML: http://lkml.iu.edu/hypermail/linux/kernel/2107.2/02226.html , and judging by https://bugs.launchpad.net/amd/+bug/1928694 the fix should be in kernel 5.10. Though my CPU's architecture is Renoir, it seems no S0ix for me is available yet.

Revision history for this message
Ion Cebotari (anathemizatu) wrote :

I can confirm now that this isn't only an issue of the wireless card. USB type C doesn't work as well, unless I enter the BIOS on boot. I will document the error messages I get and return with more data on USB type C as well

summary: - Realtek 8822CE wireless card fails to work after laptop discharge in
- sleep
+ Laptop discharged while in sleep breaks Realtek 8822CE wireless card and
+ USB type C on Asus TUF FA506IV
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.