On 2022-11-26 17:39:27 +0100, Michael Biebl wrote:
> You can install evtest, then test with  journalctl -b | grep "Lid Switch" 
> which device logind listens for the lid switch event (e.g. in my case 
> /dev/input/event1) and then run it like this:
> 
> # evtest /dev/input/event1
[...]

Thanks. I could reproduce the issue with evtest when the lid is
at some specific half-closed position (as it is usually near such
a position). I left evtest running the night, i.e. while I wasn't
using the machine, and events were sent several dozens of times.
This is probably a hardware issue (a poorly designed sensor?), so
I should try to avoid some lid positions. (FYI, I can't have the
lid fully open, otherwise it hides my external screens on my desk,
and I prefer not to close it completely because of the heat.)

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to