[Nouveau] [PATCH] backlight support powerpc

danny moondrake at gmail.com
Mon Mar 23 06:40:57 PDT 2009


Attached patch allows the backlight to be manipulated under gnome on apple
powerpc based <NV30 machines. It works fine on my powerbook, and should also
work for older NV17/NV18 machines. Questions/Comments/critisism welcome (plz
cc me).

Note that older powerpc specific tools (pbbuttonsd) have some problems with
this implementation (because the device is not yet there at the start time
of the daemon, and the code makes incorrect assumptions about the max
brightness values). However, IMHO these things can and should be addressed
in the daemon.

The patch also addresses the swab32 problem in master that nobody cared
about.

Danny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/nouveau/attachments/20090323/e76ea20e/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc-backlight.patch
Type: text/x-diff
Size: 4723 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/nouveau/attachments/20090323/e76ea20e/attachment.patch 


More information about the Nouveau mailing list