after installing linux and using the laptop for a while i noticed the laptop did not suspend when i closed the lid.
the lid switch shows up in evtest, but state is always 0. i tried feeding the command a delay so that it would execute when the lid was closed, but the state remains at 0.
also strange: evtest detects my tablet mode switch and correctly relays if the laptop is in tablet mode or not.
i can live with this, i just dont want to always press the sleep button before i close the laptop every time.
there might be something extremely simple im missing here, but any help is appreciated! thank you in advance
I have the exact same Chromebook and I’m having the exact same problem.
Acer Chromebook CP311 (LAVA rev3) Intel Apollo Lake
Coreboot version: MrChromebox-2408.1
Arch Linux 6.12.10-arch1-1 with SwayWM / Wayland
I also tried the Ubuntu Live 24.04.1 Live USB stick and the lid switch and tablet switch do not work on it either. I’ve been working on this for a few days and have done extensive troubleshooting that I’ve detailed on MrChromebox’s github issue tracker here.
The switch devices show up in the kernel device tree, but are not ever triggered. From the OS, it looks like the ACPI events don’t fire. I installed ectool and can see the lid open and close events and the keyboard disable event when in tablet mode. But Linux never gets the memo. It’s very odd. Read my issue report on github for all the gory details.