Re: [systemd-devel] systemd-backlight and backlight level 0

2014-03-10 Thread Lennart Poettering
On Wed, 05.03.14 11:31, Josh Triplett (j...@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

Re: [systemd-devel] systemd-backlight and backlight level 0

2014-03-05 Thread Josh Triplett
On Wed, Mar 05, 2014 at 10:21:17PM +0100, David Herrmann wrote: > On Wed, Mar 5, 2014 at 8:31 PM, Josh Triplett wrote: > > On Wed, Mar 05, 2014 at 07:10:51PM +0100, Lennart Poettering wrote: > >> On Wed, 05.03.14 09:46, Josh Triplett (j...@joshtriplett.org) wrote: > >> > systemd-backlight saves ba

Re: [systemd-devel] systemd-backlight and backlight level 0

2014-03-05 Thread David Herrmann
Hi On Wed, Mar 5, 2014 at 8:31 PM, Josh Triplett wrote: > On Wed, Mar 05, 2014 at 07:10:51PM +0100, Lennart Poettering wrote: >> On Wed, 05.03.14 09:46, Josh Triplett (j...@joshtriplett.org) wrote: >> > systemd-backlight saves backlight levels on shutdown, and restores them >> > on startup. Howe

Re: [systemd-devel] systemd-backlight and backlight level 0

2014-03-05 Thread Josh Triplett
On Wed, Mar 05, 2014 at 07:10:51PM +0100, Lennart Poettering wrote: > On Wed, 05.03.14 09:46, Josh Triplett (j...@joshtriplett.org) wrote: > > systemd-backlight saves backlight levels on shutdown, and restores them > > on startup. However, on some systems, backlight level 0 actually turns > > the

Re: [systemd-devel] systemd-backlight and backlight level 0

2014-03-05 Thread Josh Triplett
On Wed, Mar 05, 2014 at 06:59:27PM +0100, David Herrmann wrote: > On Wed, Mar 5, 2014 at 6:46 PM, Josh Triplett wrote: > > systemd-backlight saves backlight levels on shutdown, and restores them > > on startup. However, on some systems, backlight level 0 actually turns > > the backlight *off*; th

Re: [systemd-devel] systemd-backlight and backlight level 0

2014-03-05 Thread Lennart Poettering
On Wed, 05.03.14 09:46, Josh Triplett (j...@joshtriplett.org) wrote: > systemd-backlight saves backlight levels on shutdown, and restores them > on startup. However, on some systems, backlight level 0 actually turns > the backlight *off*; this can potentially make the system unusable. > Complicat

Re: [systemd-devel] systemd-backlight and backlight level 0

2014-03-05 Thread David Herrmann
Hi On Wed, Mar 5, 2014 at 6:46 PM, Josh Triplett wrote: > systemd-backlight saves backlight levels on shutdown, and restores them > on startup. However, on some systems, backlight level 0 actually turns > the backlight *off*; this can potentially make the system unusable. > Complicating matters,

[systemd-devel] systemd-backlight and backlight level 0

2014-03-05 Thread Josh Triplett
systemd-backlight saves backlight levels on shutdown, and restores them on startup. However, on some systems, backlight level 0 actually turns the backlight *off*; this can potentially make the system unusable. Complicating matters, on most systems, nothing pays attention to the brightness adjustm