You are not logged in.
Pages: 1
Hello, i have a thinkpad laptop
all of my /etc/systemd/logind.conf lines are commented out.
the ACPI events my laptop generates are still handled by something, i.e when i close the lid, the screen goes off, power button does what it should, etc
I read that the logind.conf file is responsible for the actions that will be run by systemd when certain acpi events occur. so:
1. what triggers these actions even though my logind.conf is empty? does systemd have some defaults?
2. how can i debug all the acpi events that occur?
TY!
Offline
(Before i'm being asked that, ive tried to install acpid. no acpid.log file was created... i don't know why)
Offline
Having these lines commented out in logind.conf indeed means defaults are used, you need to set them to "ignore" if you want to get rid of that functionality.
There's acpi_listen in the acpid package, you can use it to see what events your laptop produces.
Offline
Thanks... it's weird that if i press the power button no event is generated, only if i hold it for a few seconds
Offline
Wait, if you hold the power button for a few seconds, it is normal that your computer shuts off. Standard behaviour...
Sure it is... but i'd expect it to generate some event just for clicking on it
Offline
Tested with xev.
Test with something that listens to *ACPI* events
You'll need to check what systemd is doing with ACPI these days - it used to be simply /etc/acpi/handler.sh
Offline
Pages: 1