ofw syscons brightness patch

Justin Hibbits chmeeedalf at gmail.com
Fri Sep 23 01:26:12 UTC 2011


On Sep 22, 2011, at 5:17 PM, Miod Vallat wrote:

>> +		/* Scale by 17, so it's a range of 0-12.  Also, from OpenBSD's  
>> source,
>> +		 * 0x34 is the minimum brightness allowed before the backlight  
>> shuts off.
>
> I wrote that code long ago. It was tested on an early iBook G3, and
> found out to not work (i.e. the OFW method does nothing or does not
> exist) on most of the TiBook and recent iBook of the 2002-2005 years.
>
> I have no idea if more recent models behave any better, but in any  
> case
> do not expect this to work on all systems.
>
> Miod

It works quite well on my 1GHz TiBook, which was the purpose of  
writing this in the first place.  I would like others to test it on  
other hardware.

- Justin


More information about the freebsd-ppc mailing list