You are not logged in.

#1 2024-05-06 17:38:16

vecino
Member
Registered: 2022-12-10
Posts: 139

systemd-logind - Watching system buttons on /dev/input/event0

Hi, I may not have noticed this before, but now whenever I log in via SSH I see this message in the journal:


May 06 19:12:54 router systemd-logind[384]: Watching system buttons on /dev/input/event0 (Power Button)
May 06 19:12:54 router systemd-logind[384]: Watching system buttons on /dev/input/event2 (HID 0557:2419)

Is there any way I can turn it off? It's not a laptop etc - I never want to use sleep and hibernation there.

full:

❯ systemctl status systemd-logind
● systemd-logind.service - User Login Management
     Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
     Active: active (running) since Sun 2024-05-05 18:20:56 CEST; 1 day 1h ago
       Docs: man:sd-login(3)
             man:systemd-logind.service(8)
             man:logind.conf(5)
             man:org.freedesktop.login1(5)
   Main PID: 384 (systemd-logind)
     Status: "Processing requests..."
      Tasks: 1 (limit: 9458)
   FD Store: 0 (limit: 512)
     Memory: 1.7M (peak: 2.6M)
        CPU: 444ms
     CGroup: /system.slice/systemd-logind.service
             └─384 /usr/lib/systemd/systemd-logind

May 05 21:37:46 router systemd-logind[384]: Removed session 3.
May 05 23:37:26 router systemd-logind[384]: New session 5 of user root.
May 05 23:38:27 router systemd-logind[384]: Session 5 logged out. Waiting for processes to exit.
May 05 23:38:27 router systemd-logind[384]: Removed session 5.
May 06 13:58:44 router systemd-logind[384]: New session 7 of user root.
May 06 14:00:54 router systemd-logind[384]: Session 7 logged out. Waiting for processes to exit.
May 06 14:00:54 router systemd-logind[384]: Removed session 7.
May 06 19:12:24 router systemd-logind[384]: New session 9 of user root.
May 06 19:12:54 router systemd-logind[384]: Watching system buttons on /dev/input/event0 (Power Button)
May 06 19:12:54 router systemd-logind[384]: Watching system buttons on /dev/input/event2 (HID 0557:2419)

I looked at what all systemd-logind does:
https://www.freedesktop.org/software/sy … rvice.html

Offline

Board footer

Powered by FluxBB