[systemd-devel] systemd-backlight and backlight level 0
Lennart Poettering
lennart at poettering.net
Mon Mar 10 20:56:09 PDT 2014
On Wed, 05.03.14 11:31, Josh Triplett (josh at joshtriplett.org) wrote:
> On restore, I'd suggest reading max_brightness, and if the stored value
> falls under a threshold of ceil(max_brightness/SOME_DIVISOR), restore it
> to that value instead. (Ideally there should be some way to ask the
> driver "what level of brightness will produce a non-zero value in
> actual_brightness", but no such mechanism seems to exist.)
>
> Does that sound reasonable?
I'd be willing to merge that on ignore put the brightness to at least
1 or 5% of the full range, for whatever is larger. i.e. MAX(1, max_brightness/20).
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list