[systemd-devel] [PATCH v2] logind: allow suspending if there are no displays

Lennart Poettering lennart at poettering.net
Fri May 16 10:51:40 PDT 2014


On Mon, 28.04.14 00:58, Mantas Mikulėnas (grawity at gmail.com) wrote:

> With proprietary graphics drivers, there won't be any 'drm' devices in
> sysfs, so logind will never suspend the system upon closing the lid,
> even if only one (internal) display is connected. This has been reported
> by multiple users so far.
> 
> IMHO, it's better to suspend the system in this case for safety reasons,
> to avoid having nvidia blob users' laptops overheat, for the same reason
> that sleep inhibitors are overridden (LidSwitchIgnoreInhibited=yes).

Hmm, I really don't like supporting nvidia's crap like this, they should
just follow the normal APIs.

But anyway, I merged this now. Thanks!

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list