Subject: Re: Backlight support for radeonfb
To: =?ISO-8859-1?Q?Johan_Wall=E9n?= <johan.wallen+lists@tkk.fi>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 01/03/2007 14:48:29
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 17, 2006, at 10:49, Johan Wall=E9n wrote:

> the following patch adds rudimentary backlight support to radeonfb(4).
> Some of the Radeon chips found on PowerBooks have, according to the
> Linux radeon_backlight driver, the backlight levels negated (higher
> levels give less backlight).  You should be able to work around this
> using `options RADEONFB_BACKLIGHT_NEGATED', but I have not tested it.
> On Radeon Mobility 9700 `wsconsctl -d -w backlight=3Dxxx' seems to
> work as expected.

I finally got around to play with it - works fine on my iBook G4=20
although the brightness levels are negated here. Need to find a way to=20=

do that automagically.
Could you please mail me the ofctl -p output of your powerbook? Maybe=20
there's a hint in the radeon's device properties.
I committed it so others can easily play with it as well.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRZwIjcpnzkX8Yg2nAQI2ewgAm23oYJEW48BTWawb8iVwVsLR3WpnGQf+
DabgLcEvKQM20CyPuCuXCDIjM7/iDOiDGFhiYthi3Lla5W8iLhieUCJZkr5yei3U
SOPtsSkZNyEPuCDtC3KefXwJFADYF5c1KchDI9ryWUHEVkwvTr5fLFMs2DTwg6iu
u5zzf73a0i3X2C4O4G1fN8Xe95pfLuOA9G0z1OZhTuB/ygoI359Jpg24qN2wKC5X
nx0+HdyOwQwuvnvAf1ExRA0ltLpgJNcGbCTX/aw0IyNTDvpx8pZLi5sAvXrsCHTE
4NcipsAzXRiAjnRtM0oQjC7FyOcP/DpcWk3vsH7QeP3+MTAwAYsyAQ=3D=3D
=3DSCZC
-----END PGP SIGNATURE-----