linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* No backlight control on PowerBook G4
@ 2003-11-02 19:23 Dustin Lang
  2003-11-03  0:45 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 17+ messages in thread
From: Dustin Lang @ 2003-11-02 19:23 UTC (permalink / raw)
  To: linux-kernel


Hi,

I just bought a new PowerBook G4 and installed Linux on it.  Now the
tweaking begins!  One of the first orders of business is getting power
management working, and I'm a bit stuck.

I'm running kernel version 2.4.22 with Ben Herrenschmidt's 2.4.23-pre5
patches.

On startup, arch/ppc/platform/pmac_backlight.c doesn't recognize the
backlight controller.  It checks compatibility with a couple of specific
machines, and then checks compatibility with the backlight controller.
This appears to be the same check that is performed in the Darwin/xnu
kernel (at least the version that I found...).

I've got a bit of experience with kernel hacking so I'd be very happy to
help figure out what's going on and how to fix it, but I'm also new to
this platform and I don't know how one goes about finding hardware
documentation and other useful sorts of resources.

Any (non-null) pointers would be appreciated!

Cheers,
dstn.


Here are some details from /proc/device-tree that might be relevant (I've
used "/" as token separator):

in /:
model = PowerBook6,2
compatible = PowerBook6,2/MacRISC3/Power Macintosh

in /pci@f2000000/:
model = AAPL,UniNorth
compatible = uni-north

in /pci@f2000000/mac-io@17/:
model = AAPL,Keylargo
compatible = Keylargo

in /pci@f2000000/mac-io@17/backlight@f300/:
name = backlight
device_type = backlight
backlight-control = mnca               <---- ack!

in /pci@f2000000/mac-io@17/via-pmu@16000/:
name = via-pmu
compatible = pmu

in /pci@f2000000/mac-io@17/via-pmu@16000/power-mgt/:
compatible = via-pmu-99


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2003-11-09 11:03 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-02 19:23 No backlight control on PowerBook G4 Dustin Lang
2003-11-03  0:45 ` Benjamin Herrenschmidt
2003-11-03  8:51   ` Dustin Lang
2003-11-03  9:04     ` Benjamin Herrenschmidt
2003-11-03 16:57   ` Daniel Egger
2003-11-03 21:54     ` Benjamin Herrenschmidt
2003-11-04 10:43       ` Daniel Egger
2003-11-04 20:05       ` Daniel Egger
2003-11-06  0:28         ` Benjamin Herrenschmidt
2003-11-06  8:01           ` Daniel Egger
2003-11-06  8:16             ` Dustin Lang
2003-11-06  8:26             ` Benjamin Herrenschmidt
2003-11-06  9:36               ` Daniel Egger
2003-11-07  9:50           ` Daniel Egger
2003-11-09  2:59             ` Benjamin Herrenschmidt
2003-11-09  9:55               ` Daniel Egger
2003-11-09 11:03                 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).