gmane.linux.debian.ports.powerpc
  Home FAQ Contact Sign in
gmane.linux.debian.ports.powerpc only
 
Advanced search
January 2008
motuwethfrsasuw
 123456 1
78910111213 2
14151617181920 3
21222324252627 4
28293031    5
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008      
total
gmane.linux ... ports.powerpc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  backlight module for nvidia cards -- control backlight even with offb         


Author: Andy Wingo
Date: Jan 12, 2008 14:37

Hi all,

I have a 12" powerbook, one of the last G4's, and have long been
irritated that I couldn't use offb because it has no backlight control.
This is more irritating now that the nouveau project's X drivers are
starting to work for me on PPC, but are incompatible with the nvidiafb
frame buffer.

I decided to rip out the backlight code from the nvidia frame buffer
into a separate module that can be loaded even when using offb as the
frame buffer. I am attaching the source, but you may find a tarball with
a makefile here:

http://wingolog.org/pub/nvbacklight-0.1.tar.bz2

I do not know what the correct solution is. Ideally offb would export a
backlight device. I tried getting open firmware to give me the needed
information, but the "reg" entry for the backlight seems short, given
that the mac-io@17 #address-cells == 1 and #size-cells == 1:

$ hd /proc/device-tree/pci@f2000000/mac-io@17/backlight@f300/reg
00000000 00 00 f3 00 |....|
00000004
Show full article (7.53Kb)
no comments