On 3/31/25 10:05 PM, Ian Laurie via test wrote:
I'm seeing: kernel-6.15.0-0.rc0.20250327git1a9239bb4253.5.fc43.x86_64 randomly shutting down the system, anywhere from about 15 minutes to an hour after boot. Looking at the log file, I see that the log file claims the power switch was hit. I can state categorically the power switch was not hit. Here are two instances from today: Apr 01 12:01:00 zorac CROND[1494]: (root) CMD (run-parts /etc/cron.hourly) Apr 01 12:01:00 zorac run-parts[1497]: (/etc/cron.hourly) starting 0anacron Apr 01 12:01:00 zorac run-parts[1503]: (/etc/cron.hourly) finished 0anacron Apr 01 12:01:00 zorac CROND[1493]: (root) CMDEND (run-parts /etc/cron.hourly) Apr 01 12:22:28 zorac systemd-logind[821]: Power key pressed short. Apr 01 12:22:28 zorac systemd-logind[821]: Powering off... Apr 01 12:22:28 zorac systemd-logind[821]: System is powering down.
Install "evtest". If you run it with no parameters, it will give you a list of available devices. I have two power switch input devices for some reason, but the physical power button seems to trigger the second one. As root, run "evtest --grab /dev/input/event0" or whichever device is your power button. Use more terminals if necessary. This will take it away from systemd and also show you if it gets triggered. You can try clicking the power button to see. Watch the output to see if it's getting triggered when it shouldn't.
-- _______________________________________________ test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue