Asus Vivobook NetworkManager dies after lid closes

Hello,

I’m using a ASUS Vivobook K3500P. I instsalled i3 full version on it. Everything works just fine. However, when I close my lid, the wifi can not seem to reconnect. It seems as if NetworkManager is unavailable. When I run

systemctl status NetworkManager

It shows me an active running proccess. But the laptop itself cannot connect to wifi. If I try to restsrt NetworkManager, the system freezes, or the terminal freezes. If I try to start nmtui, the terminal freezes. I tried using gnome-control-center, but after the closed lit, it can’t find the wifi.

Has anyone experienced similiar issues?

output from:
inxi -Fazy

System:
  Kernel: 5.15.49-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=0bc2a3ac-5895-4aa2-95c5-df6b878d82c0 rw quiet
    cryptdevice=UUID=849b94ba-eb49-4fcf-8d5c-407fd07a8915:luks-849b94ba-eb49-4fcf-8d5c-407fd07a8915
    root=/dev/mapper/luks-849b94ba-eb49-4fcf-8d5c-407fd07a8915 apparmor=1
    security=apparmor
    resume=/dev/mapper/luks-9a399da5-3bf2-4b12-9387-a994bccb04d6
    udev.log_priority=3
  Desktop: i3 v: 4.20.1 info: i3bar vt: 7 dm: LightDM v: 1.30.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: Vivobook_ASUSLaptop X3500PH_K3500PH
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X3500PH v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: X3500PH.206 date: 09/13/2021
Battery:
  ID-1: BAT0 charge: 11.7 Wh (18.3%) condition: 64.1/63.0 Wh (101.7%)
    volts: 12.0 min: 12.0 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: discharging cycles: 2
CPU:
  Info: model: 11th Gen Intel Core i7-11370H bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 built: 2020 process: Intel 10nm family: 6
    model-id: 0x8C (140) stepping: 1 microcode: 0xA4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 732 high: 1128 min/max: 400/4800 scaling:
    driver: intel_pstate governor: powersave cores: 1: 509 2: 1128 3: 948 4: 926
    5: 767 6: 559 7: 511 8: 514 bogomips: 52856
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen12.1 process: Intel 10nm built: 2020-21
    ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 0000:00:02.0
    chip-ID: 8086:9a49 class-ID: 0300
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: ASUSTeK
    driver: nvidia v: 515.48.07 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-06) arch: Turing process: TSMC 12nm
    built: 2018-22 bus-ID: 0000:01:00.0 chip-ID: 10de:1f9d class-ID: 0302
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 3-6:2 chip-ID: 13d3:5458 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 driver: X: loaded: modesetting,nvidia
    alternate: fbdev,nouveau,nv,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: Samsung 0x4161 built: 2020 res: 1920x1080 hz: 60
    dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1920x1080
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 0000:00:1f.3 chip-ID: 8086:a0c8 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.49-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel bus-ID: 0000:2e:00.0
    chip-ID: 14c3:7961 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device type: USB driver: btusb v: 0.8
    bus-ID: 3-10:4 chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
Drives:
  Local Storage: total: 476.94 GiB used: 16.1 GiB (3.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNU512GZ
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 002C temp: 33.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 459.79 GiB size: 451.5 GiB (98.20%) used: 16.09 GiB (3.6%)
    fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-849b94ba-eb49-4fcf-8d5c-407fd07a8915
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 472 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.84 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-9a399da5-3bf2-4b12-9387-a994bccb04d6
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 264 Uptime: 1h 15m wakeups: 7065 Memory: 15.31 GiB
  used: 2.66 GiB (17.4%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1098
  lib: 299 Shell: Zsh v: 5.9 running-in: alacritty inxi: 3.3.19

try a different kernel, for example the 5.18 and see if it happens with it too

That is perfectly normal. By default it suspend on lid close and everything goes sleeping. You can change this behavior at

  • /etc/systemd/logind.conf
  • /etc/systemd/sleep.conf