Re: drm i915 weirdness with /sys/class/drm/card0*/status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 16.06.15 23:25, Lennart Poettering (lennart@xxxxxxxxxxxxxx) wrote:

> > In the same sysyfs directory there's "enabled" (indicating that an output
> > is logically in use) and "dpms" (which shows the dpms state, but that is
> > not clamped to Off when the output isn't in use because of ABI history and
> > other hilarious reasons). enabled == "enabled" && dpms == "On" is probably
> > what you want.
> 
> OK, I will change logind to check these two as well. Thanks for the hint!

This is implemented now, btw:

https://github.com/systemd/systemd/commit/602a41c22ac2df33b4b5e5083719c1cfaf58acf9

This patch will also now consider eDP and LVDS internal plugs, and
won't consider them when detecting whether the system is docked.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux