FW13 AMD 7040 LID close not registered with Linux

I have noticed, that the LID close event does not change.
While observing

/proc/acpi/button/lid/LID0/state

The state is always open. Observing the systemd-logind status does also not show any changes when closing the lid.

Already tested with two different distributions Ubuntu and Arch.

Also explicitly enabled the suspend option ind logind.conf.

Any ideas how I could narrow down the root cause?

I tried to observe the lid events with

sudo evtest /dev/input/event0                                                                                                                                                                     192.168.1.11 
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x5 version 0x0
Input device name: "Lid Switch"
Supported events:
  Event type 0 (EV_SYN)
  Event type 5 (EV_SW)
    Event code 0 (SW_LID) state 0
Properties:
Testing ... (interrupt to exit)

without any luck.

1 Like

I have the exact same issue. So wondering how to solve this.

Exact hardware model, Firmware and Kernel versions would be useful.

What exactly do you mean with ā€˜observing the systemd-logind statusā€™?

If not systemctl status systemd-logind, then what is the output of journalctl -b | grep systemd-logind after closing the lid, waiting a couple of seconds, and opening it again?

If that does not produce results it might be a harware issue. I assume you are using the latest BIOS version (3.05)?

Are events reported in /sys/kernel/debug/cros_ec/console_log (needs a recent kernel to be available) or ectool console?

journel -b does not show any event about standby or registering any events

This is since boot and closing the lid for at least 60 seconds.

ī‚° jpk@goat ī‚° ~ ī‚°ā± journalctl -b                                                                                                                                                                                                            
Sep 19 20:13:13 goat kernel: Linux version 6.10.10-arch1-1 (linux@archlinux) (gcc (GCC) 14.2.1 20240910, GNU ld (GNU Binutils) 2.43.0) #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000
Sep 19 20:13:13 goat kernel: Command line: root=PARTUUID=aee6b909-efbe-4f2a-90b0-9fa55f0a7160 zswap.enabled=0 rootflags=subvol=/@ rw rootfstype=btrfs
Sep 19 20:13:13 goat kernel: BIOS-provided physical RAM map:
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000000bffff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000009afffff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x0000000009b00000-0x0000000009dfffff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x0000000009e00000-0x0000000009efffff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x0000000009f00000-0x0000000009f3bfff] ACPI NVS
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x0000000009f3c000-0x0000000049b5ffff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x0000000049b60000-0x000000004bd5ffff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000004bd60000-0x000000004bd68fff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000004bd69000-0x000000004bd6cfff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000004bd6d000-0x000000004bd6efff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000004bd6f000-0x000000004bd6ffff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000004bd70000-0x000000004bd74fff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000004bd75000-0x000000004bd7efff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000004bd7f000-0x000000004bf42fff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000004bf43000-0x000000004bf7efff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000004bf7f000-0x0000000057f7efff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x0000000057f7f000-0x000000005a77efff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000005a77f000-0x000000005af7efff] ACPI NVS
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000005af7f000-0x000000005affefff] ACPI data
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000005afff000-0x000000005affffff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000005b000000-0x000000005bffffff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000005d790000-0x000000005d7effff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x000000005d7f5000-0x000000005fffffff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x00000000c0300000-0x00000000c03fffff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec01fff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x00000000fec20000-0x00000000fec20fff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x00000000fed80000-0x00000000fed81fff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x0000000100000000-0x000000087e2fffff] usable
Sep 19 20:13:13 goat kernel: BIOS-e820: [mem 0x0000000880000000-0x00000008c01fffff] reserved
Sep 19 20:13:13 goat kernel: NX (Execute Disable) protection: active
Sep 19 20:13:13 goat kernel: APIC: Static calls initialized
Sep 19 20:13:13 goat kernel: efi: EFI v2.9 by INSYDE Corp.
Sep 19 20:13:13 goat kernel: efi: ACPI=0x5affe000 ACPI 2.0=0x5affe014 TPMFinalLog=0x5af3f000 SMBIOS=0x58e77000 SMBIOS 3.0=0x58e74000 MEMATTR=0x52e54018 ESRT=0x5491cc18 
Sep 19 20:13:13 goat kernel: efi: Remove mem59: MMIO range=[0xc0300000-0xc03fffff] (1MB) from e820 map
Sep 19 20:13:13 goat kernel: e820: remove [mem 0xc0300000-0xc03fffff] reserved
Sep 19 20:13:13 goat kernel: efi: Remove mem60: MMIO range=[0xe0000000-0xefffffff] (256MB) from e820 map
Sep 19 20:13:13 goat kernel: e820: remove [mem 0xe0000000-0xefffffff] reserved
Sep 19 20:13:13 goat kernel: efi: Not removing mem61: MMIO range=[0xfec00000-0xfec01fff] (8KB) from e820 map
Sep 19 20:13:13 goat kernel: efi: Not removing mem62: MMIO range=[0xfec10000-0xfec10fff] (4KB) from e820 map
Sep 19 20:13:13 goat kernel: efi: Not removing mem63: MMIO range=[0xfec20000-0xfec20fff] (4KB) from e820 map
Sep 19 20:13:13 goat kernel: efi: Not removing mem64: MMIO range=[0xfed80000-0xfed81fff] (8KB) from e820 map
Sep 19 20:13:13 goat kernel: efi: Not removing mem65: MMIO range=[0xfee00000-0xfee00fff] (4KB) from e820 map
Sep 19 20:13:13 goat kernel: efi: Remove mem66: MMIO range=[0xff000000-0xffffffff] (16MB) from e820 map
Sep 19 20:13:13 goat kernel: e820: remove [mem 0xff000000-0xffffffff] reserved
Sep 19 20:13:13 goat kernel: efi: Remove mem68: MMIO range=[0x8a0000000-0x8c01fffff] (514MB) from e820 map
Sep 19 20:13:13 goat kernel: e820: remove [mem 0x8a0000000-0x8c01fffff] reserved
Sep 19 20:13:13 goat kernel: SMBIOS 3.6.0 present.
Sep 19 20:13:13 goat kernel: DMI: Framework Laptop 13 (AMD Ryzen 7040Series)/FRANMDCP05, BIOS 03.05 03/29/2024
Sep 19 20:13:13 goat kernel: DMI: Memory slots populated: 1/2
Sep 19 20:13:13 goat kernel: tsc: Fast TSC calibration using PIT
Sep 19 20:13:13 goat kernel: tsc: Detected 3493.325 MHz processor
Sep 19 20:13:13 goat kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
Sep 19 20:13:13 goat kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
Sep 19 20:13:13 goat kernel: last_pfn = 0x87e300 max_arch_pfn = 0x400000000
Sep 19 20:13:13 goat kernel: MTRR map: 7 entries (3 fixed + 4 variable; max 20), built from 9 variable MTRRs
Sep 19 20:13:13 goat kernel: x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
Sep 19 20:13:13 goat kernel: last_pfn = 0x5b000 max_arch_pfn = 0x400000000
Sep 19 20:13:13 goat kernel: esrt: Reserving ESRT space from 0x000000005491cc18 to 0x000000005491cc50.
Sep 19 20:13:13 goat kernel: e820: update [mem 0x5491c000-0x5491cfff] usable ==> reserved
Sep 19 20:13:13 goat kernel: Using GB pages for direct mapping
Sep 19 20:13:13 goat kernel: Secure boot could not be determined
Sep 19 20:13:13 goat kernel: RAMDISK: [mem 0x4d352000-0x4f5e2fff]
Sep 19 20:13:13 goat kernel: ACPI: Early table checksum verification disabled
Sep 19 20:13:13 goat kernel: ACPI: RSDP 0x000000005AFFE014 000024 (v02 INSYDE)
...skipping...
Sep 19 20:14:01 goat systemd[773]: Closed GNOME Keyring daemon.
Sep 19 20:14:01 goat systemd[773]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Sep 19 20:14:01 goat systemd[773]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Sep 19 20:14:01 goat systemd[773]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Sep 19 20:14:01 goat systemd[773]: Closed GnuPG cryptographic agent and passphrase cache.
Sep 19 20:14:01 goat systemd[773]: Closed GnuPG public key management service.
Sep 19 20:14:01 goat systemd[773]: Closed p11-kit server.
Sep 19 20:14:01 goat systemd[773]: Closed PipeWire PulseAudio.
Sep 19 20:14:01 goat systemd[773]: Closed PipeWire Multimedia System Sockets.
Sep 19 20:14:01 goat dbus-broker[794]: Dispatched 512 messages @ 6(Ā±13)Ī¼s / message.
Sep 19 20:14:01 goat systemd[773]: Stopping D-Bus User Message Bus...
Sep 19 20:14:01 goat systemd[773]: Stopped D-Bus User Message Bus.
Sep 19 20:14:01 goat systemd[773]: Removed slice User Core Session Slice.
Sep 19 20:14:01 goat systemd[773]: Closed D-Bus User Message Bus Socket.
Sep 19 20:14:01 goat systemd[773]: Removed slice User Application Slice.
Sep 19 20:14:01 goat systemd[773]: Reached target Shutdown.
Sep 19 20:14:01 goat systemd[773]: Finished Exit the Session.
Sep 19 20:14:01 goat systemd[773]: Reached target Exit the Session.
Sep 19 20:14:01 goat (sd-pam)[775]: pam_unix(systemd-user:session): session closed for user lightdm
Sep 19 20:14:01 goat systemd[1]: user@970.service: Deactivated successfully.
Sep 19 20:14:01 goat systemd[1]: Stopped User Manager for UID 970.
Sep 19 20:14:01 goat systemd[1]: Stopping User Runtime Directory /run/user/970...
Sep 19 20:14:01 goat systemd[1]: run-user-970.mount: Deactivated successfully.
Sep 19 20:14:01 goat systemd[1]: user-runtime-dir@970.service: Deactivated successfully.
Sep 19 20:14:01 goat systemd[1]: Stopped User Runtime Directory /run/user/970.
Sep 19 20:14:01 goat systemd[1]: Removed slice User Slice of UID 970.
Sep 19 20:14:01 goat systemd[1]: user-970.slice: Consumed 1.700s CPU time, 69.9M memory peak.
Sep 19 20:14:01 goat systemd-logind[676]: Removed session 1.
Sep 19 20:14:04 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:14:07 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-52 noise=9999 txrate=130000
Sep 19 20:14:10 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-53 noise=9999 txrate=130000
Sep 19 20:14:13 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-53 noise=9999 txrate=144400
Sep 19 20:14:16 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-53 noise=9999 txrate=144400
Sep 19 20:14:19 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=144400
Sep 19 20:14:19 goat systemd[1]: fprintd.service: Deactivated successfully.
Sep 19 20:14:22 goat systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Sep 19 20:14:22 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-56 noise=9999 txrate=144400
Sep 19 20:14:31 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=144400
Sep 19 20:14:34 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=144400
Sep 19 20:14:37 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=144400
Sep 19 20:14:40 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=144400
Sep 19 20:14:43 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=144400
Sep 19 20:14:46 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-61 noise=9999 txrate=130000
Sep 19 20:14:49 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:14:52 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:14:55 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:14:58 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:15:01 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:15:04 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-56 noise=9999 txrate=130000
Sep 19 20:15:07 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:15:10 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:15:13 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:15:16 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-57 noise=9999 txrate=130000
Sep 19 20:15:19 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=130000
Sep 19 20:15:22 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:15:25 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=130000
Sep 19 20:15:28 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=130000
Sep 19 20:15:31 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=130000
Sep 19 20:15:34 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=52000
Sep 19 20:15:37 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=130000
Sep 19 20:15:40 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-55 noise=9999 txrate=130000
Sep 19 20:15:43 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=130000
Sep 19 20:15:46 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:15:49 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=130000
Sep 19 20:15:52 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-57 noise=9999 txrate=130000
Sep 19 20:15:55 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-57 noise=9999 txrate=130000
Sep 19 20:15:58 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-58 noise=9999 txrate=130000
Sep 19 20:16:01 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:16:04 goat systemd[874]: Started kitty child process: 1418 launched by: 1399.
Sep 19 20:16:04 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=9999 txrate=130000
Sep 19 20:16:07 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-63 noise=9999 txrate=130000
Sep 19 20:16:10 goat wpa_supplicant[763]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-63 noise=9999 txrate=130000

I am using the latest FW version available with fwupd. So here the out put of ectool console:

0 event set 0x0400000000000000]
[868.209500 event set 0x0400000000000000]
PORT80: 003B
PORT80: 003B
[868.238600 event set 0x0400000000000000]
[868.251300 DC BALANCED]
[868.256300 event set 0x0400000000000000]
PORT80: 003B
[868.281000 event set 0x0400000000000000]
PORT80: 003B
PORT80: 003B
[868.305100 event set 0x0400000000000000]
PORT80: AA8F
[868.333300 event set 0x0400000000000000]
[868.351000 event set 0x0400000000000000]
PORT80: 003B
PORT80: 003B
[868.383900 event set 0x0400000000000000]
PORT80: 003B
[868.414500 event set 0x0400000000000000]
PORT80: 003B
[868.439200 event set 0x0400000000000000]
[868.460900 event set 0x0400000000000000]
PORT80: 003B
PORT80: 003B
[868.485900 event set 0x0400000000000000]
PORT80: AA8F
[868.510400 event set 0x0400000000000000]
PORT80: 003B
[868.532500 event set 0x0400000000000000]
PORT80: 003B
[868.557300 event set 0x0400000000000000]
PORT80: AA8F
[868.582600 event set 0x0400000000000000]
PORT80: 003B
[868.606000 event set 0x0400000000000000]
PORT80: 003B
[868.631200 event set 0x0400000000000000]
PORT80: 003B
[868.655300 event set 0x0400000000000000]
PORT80: 003B
[868.680400 event set 0x0400000000000000]
PORT80: 003B
[868.704300 event set 0x0400000000000000]
[868.722800 event set 0x0400000000000000]
PORT80: 003B
PORT80: 003B
[868.751200 event set 0x0400000000000000]
PORT80: AA8F
[868.782200 event set 0x0400000000000000]
PORT80: 003B
[868.809300 event set 0x0400000000000000]
PORT80: 003B
PORT80: F022
PORT80: F90D
PORT80: F90E
[869.273900 DC BATTERY SAVER]
batt ocp recover, delta: 59493, new PL: 15000
Change SOC Power Limit: SPL 15000mW, sPPT 15000mW, fPPT 15000mW, p3T 89000mW
[869.328200 event set 0x0400000000000000]
[869.349200 event set 0x0400000000000000]
PORT80: 003B
PORT80: 003B
[869.373100 event set 0x0400000000000000]
PORT80: 003B
[869.398100 event set 0x0400000000000000]
[869.421100 event set 0x0400000000000000]
PORT80: 003B
PORT80: 003B
[869.445300 event set 0x0400000000000000]
PORT80: 003B
[869.614200 Battery 97% (Display 99.3 %) / 5h:26 to empty, not accepting current]
[870.057600 cypd_write_reg8_wait_ack C:1 Unexpected response 0x80 to reg 0x1004]
[870.059600 Dev 0x0]
[870.060700 P0 0x0]
[870.061800 P1 0x0]
[870.062600 cypd_write_reg8_wait_ack C:1 0x1004 response 0x0]
[870.064100 SET CCG_SELECT_REG failed]
[870.064800 PD Select PDO 1.5A failed]
[870.072300 event set 0x0400000000000000]
PORT80: 3D08
PORT80: 003B
[870.100900 event set 0x0400000000000000]
[870.119000 CYPD_RESPONSE_PD_CONTRACT_NEGOTIATION_COMPLETE 2]
PORT80: 003B
[870.129300 event set 0x0400000000000000]
PORT80: 003B
[870.157600 event set 0x0400000000000000]
[870.178800 event set 0x0400000000000000]
PORT80: 003B
PORT80: 003B
[870.202700 event set 0x0400000000000000]
[870.228000 event set 0x0400000000000000]
PORT80: AA8E
[870.245900 event set 0x0400000000000000]
PORT80: 003B
PORT80: 003B
[870.274500 event set 0x0400000000000000]
PORT80: 003B
[870.296500 event set 0x0400000000000000]
PORT80: 003B
[870.321500 event set 0x0400000000000000]
PORT80: AA8F
Change SOC Power Limit: SPL 15000mW, sPPT 15000mW, fPPT 30000mW, p3T 89000mW
PORT80: 3C08
PORT80: F022
PORT80: F90E
PORT80: 3D01
PORT80: F90E
PORT80: F022
PORT80: F90E
PORT80: F90D
PORT80: F022
PORT80: F90E
PORT80: 3F54
PORT80: 3F58
PORT80: 3F64
PORT80: 3F68
PORT80: 0DB7
PORT80: F90E
PORT80: F90E
[898.047800 Battery 97% (Display 99.2 %) / 7h:15 to empty, not accepting current]
PORT80: F90D
PORT80: F022
PORT80: F90E
[925.376500 Battery 97% (Display 99.1 %) / 9h:5 to empty, not accepting current]
[931.712100 HC 0x0115 err 1]
PORT80: F022
PORT80: F90D
[943.666900 Battery 97% (Display 99.0 %) / 4h:57 to empty, not accepting current]
[966.516200 Battery 97% (Display 98.9 %) / 6h:17 to empty, not accepting current]
PORT80: F90E
PORT80: F022
PORT80: F90E
[975.292700 Battery 96% (Display 98.9 %) / 7h:14 to empty, not accepting current]
[980.039300 HC 0x0002]
[980.044900 HC 0x000b]
[994.884900 HC 0x0115 err 1]
[999.566800 Battery 96% (Display 98.8 %) / 8h:25 to empty, not accepting current]
PORT80: F90E
PORT80: F022
PORT80: F90E
[1023.585000 HC 0x0002]
[1023.588300 HC 0x000b]

This ist after 40 seconds of closing the lid.

What I have notized, Debian stable is working.

My current kernel version is: `6.10.10-arch1-1

This is also missing the lid events.

Very surprising. Could you check the differences in the logs and event dumps for both kernels?
Also which exact kernel are you using on Debian?

Unfortunately I donā€™t have Debian installed anymore, but the current version in Debian stable is also 6.10. Systemd-logind posted the ā€œLid closed/opened.ā€ messages on Debian immediately after closing/opening the lid. Other distributions did not respond at all.