Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2011 21:26:08 -0400
From:      Justin Hibbits <chmeeedalf@gmail.com>
To:        Miod Vallat <miod@online.fr>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: ofw syscons brightness patch
Message-ID:  <60817CE0-A4FE-44A1-A463-99BCD87AF99F@gmail.com>
In-Reply-To: <j5g8lu$hcp$1@dough.gmane.org>
References:  <91CC14C1-14F2-41B3-81F1-D90B42F038CA@alumni.cwru.edu> <4E7AAA9D.9010503@freebsd.org> <F6ABF05F-795A-49A6-A13D-8D2C496F978F@alumni.cwru.edu> <j5g8lu$hcp$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60817CE0-A4FE-44A1-A463-99BCD87AF99F>