[systemd-devel] How does systemd-logind know if it is docked?

Andrei Borzenkov arvidjaar at gmail.com
Mon Jan 1 08:27:22 UTC 2018


01.01.2018 02:39, Ian Pilcher пишет:
> I ran into an issue where systemd-logind is suspending my system when it
> boots with the lid closed, even though it is docked.  The root cause
> seems to be a kernel regression, but it begs the question, how does
> systemd-logind determine whether it is docked?
> 

If one of input devices returns event type EV_SW with code SW_DOCK set.


More information about the systemd-devel mailing list