Hello!
I just re-flashed my Librem 14 with Debian 12.
There’s one major issue though:
The first time the lid is closed, it suspends. 
Subsequent times the lid is closed, it doesn’t suspend. 
After a reboot, it will do the same thing, e.g. it only suspends the first time.
Using journalctl, I can see that the system detects the lid closing and opening only the first time. However, cat /proc/acpi/button/lid/LID0/state updates correctly every time.
Please let me know if there’s more info I should provide!
Thanks in advance, ethical_haquer
1 Like
Does this issue also occur using PureOS 10.3 ‘Byzantium’?
No. On PureOS 10.3 it suspended fine.
1 Like
I ran into the same problem on Debian 13 and wanted to share how I solved it: As far as I understand it the problem was that I tried out a more recent kernel from Debian Backports some time ago. By adding the trixie-backports suite to my package sources (see the Debian Backports instructions) and using
~$ sudo apt install -t trixie-backports linux-image-amd64
not only this package was updated but also (among others) linux-headers-amd64. After a while I decided to use the stable kernel again. I booted with the stable kernel and then purged the backported kernel package – but I forgot to do the same with the headers package…
So every time a kernel was installed / updated, the dynamic kernel module for EC ACPI in Purism Librem devices (Debian package librem-ec-acpi-dkms) was built for the deinstalled backported kernel.
Today I added trixie-backports to my package sources again, did a sudo apt update and then a sudo apt list –upgradeable and I was quite surprised about these upgradeable packages:
…
linux-base-amd64/stable-backports 7.0.10-1~bpo13+1 amd64 [aktualisierbar von: 6.18.12-1~bpo13+1]
linux-headers-amd64/stable-backports 7.0.10-1~bpo13+1 amd64 [aktualisierbar von: 6.18.12-1~bpo13+1]
linux-libc-dev/stable-backports 7.0.10-1~bpo13+1 all [aktualisierbar von: 6.18.12-1~bpo13+1]
…
I realized that I had forgotten to get rid of these packages from Debian Backports. So I purged them and then reinstalled the package linux-headers-amd64 (now from Debian stable). After that I reinstalled package librem-ec-acpi-dkms and now the dynamic kernel module was built for the kernel in use again.
TL;DR
If your Librem 14 suspends only the first time the lid is closed make sure 1. package librem-ec-acpi-dkms is installed and 2. the dynamic kernel module for for EC ACPI in Purism Librem devices is built for the kernel in use, for example:
~$ sudo dkms status
librem_ec_acpi/0.9.2, 6.12.90+deb13.1-amd64, x86_64: installed
~$ uname -r
6.12.90+deb13.1-amd64
1 Like