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

Re: SOLVED: Re: entering sleep mode quietly/non-verbose

On Tue, 2004-12-07 at 10:08 +0100, Michael Schmitz wrote:
> fact, even the earlier Powerbooks work with 16 levels only these days -
> the 32 level stuff must have been way back when the G3 Powerbooks were new
> :-)
> The backlight level 'register' would permit 255 levels (which ones are
> safe to use is a matter of some confusion, though). The 16 levels are just
> a matter of convenience to keep the backlight_conv[] tables short. I'm
> sure these tables could be replaced by 32 level tables, or we could do
> without any tables (they look like simple linear relations to me). The
> only benefit I can see is to allow a more fine-grained control to
> applications - for the good old backlight buttons, 15 levels seems enough.
> I'll change the manpage accordingly.

Ideally, somebody would dive into Darwin AppleDisplay extension and
extract the various values used to do the linear conversion for every
panel model :)

> Re: backlight control: could you please read back the current backlight
> from the kernel before setting a new level upon brightness button events?
> The sudden jump in intensity (after some script modified the backlight
> level) is somewhat surprising otherwise.
> 	Michael
Benjamin Herrenschmidt <benh@kernel.crashing.org>

Reply to: