From: Dustin Lang <dalang@cs.ubc.ca>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re:No backlight control on PowerBook G4
Date: Mon, 3 Nov 2003 00:51:49 -0800 (PST) [thread overview]
Message-ID: <Pine.GSO.4.53.0311021647410.17357@columbia.cs.ubc.ca> (raw)
In-Reply-To: <1067820334.692.38.camel@gaston>
Hi Ben,
> You can't expect a machine just released a couple of weeks ago by
> Apple to be fully supported by linux, do you ? :)
I'm very impressed at how well things are supported. I had to buy a USB
wireless dongle, the Linksys WUSB12 (which works great), thanks to
Broadcom's proprietariness about the Airport Extreme, but other than that,
almost everything is automagic.
> If it's a new Mobility 9600 machine, then I expect my 2.6 tree
> (bk://ppc.bkbits.net/linuxppc-2.5-benh or rsync from source.mvista.com)
> to work, though the actual backlight "scale" may not be fully correct
> yet.
Actually, it's got a GeForce FX Go 5200.
I just grabbed your 2.6 tree and see the same things happening.
> Unfortunately, there's isn't much HW documentation available for these
> babies, other than reading Apple darwin source, Open Firmware forth
> code, etc...
Oh joy. I've heard great things about Forth :)
> Regarding overall power management (that is machine sleep), it is not
> supported on these machines yet. The blocking factor is the new ATI chip,
> which need to be rebooted from scratch. ATI told me they might be able to
> send me tables to do that though, so there is hope.
Cool. I think backlight control, drive spindown, and CPU frequency
scaling should go a fairly long way on the battery life front. Speaking
of CPU scaling, do you know if it should work on this machine? I selected
it in the kernel config, but /sys/devices/system/cpu/cpu0 is empty.
Just for reference, /proc/cpuinfo is:
cpu : 7457, altivec supported
clock : 999MHz
revision : 1.1 (pvr 8002 0101)
bogomips : 761.85
machine : PowerBook6,2
motherboard : PowerBook6,2 MacRISC3 Power Macintosh
board revision : 00000002
detected as : 287 (Unknown Intrepid-based)
pmac flags : 00000008
L2 cache : 512K unified
memory : 256MB
pmac-generation : NewWorld
Oh, I just noticed something else in dmesg:
PMU driver 2 initialized for Core99, firmware: 0c
*shrug*
I grabbed the newest Darwin/xnu source I could find from Apple, and I can
no longer find where they do the backlight control - it used to be in
iokit/Drivers/platform/drvApplePMU . I'll have to look more closely
tomorrow...
Again, many thanks for your work on this platform.
Cheers,
dstn.
next prev parent reply other threads:[~2003-11-03 8:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.53.0311021647410.17357@columbia.cs.ubc.ca \
--to=dalang@cs.ubc.ca \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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).