Re: display autoadjust and blank screen
Brought to you by:
matthiasgrimm
From: Matthias G. <mat...@us...> - 2006-02-22 20:39:11
|
On Wed, 22 Feb 2006 09:38:43 +0100 Yves-Alexis Perez <co...@co...> wrote: > Hi there, > > i'd like to know if it's a bug (or a feature) that I can't blank the > screen with pbbuttonsd when using Display Autoadjust=yes. > > If it's off, I can set the brightness from 15 to 0. If it's on, I can't > go below 1. I've reported this as a bug in debian bts [1] but no news. I'm sorry to hear that but debian bts is for debian only. I don't read the debian bugtracker on a regular basis. Back to your question. It is not a bug. The responsible code is in module_display, function display_keyboard(), first part of the switch(changed){} statement, line 315-316. When automatic mode is active, the brightness keys generate an offset that will be added to the value from the automatic brightness controller. This offset will be clipped if the overall brightness level is out of range. The limits are 1 or BRIGHTNESS_MAX. You might change the lower limit to 0 to be able to switch off your display completely also in automatic mode. But keep in mind that this value still depends on the ambient light level. That means if the environment goes darker, the backlight might be switched on again. I haven't got much feedback on this feature if the behaviour is ok or not. Nobody complained so far but that means nearly nothing. If you have a certain vision on how the behaviour should be, please tell me. Possibly it is a general benefit for the function. Best Regards Matthias |