archive mirror
 help / color / mirror / Atom feed
From: Dustin Lang <>
Subject: No backlight control on PowerBook G4
Date: Sun, 2 Nov 2003 11:23:40 -0800 (PST)	[thread overview]
Message-ID: <> (raw)


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

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!


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

             reply	other threads:[~2003-11-02 19:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-02 19:23 Dustin Lang [this message]
2003-11-03  0:45 ` Re:No backlight control on PowerBook G4 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).