[PATCH] Heartbeat LED for iBook

Brad Boyer flar at allandria.com
Sun Feb 20 06:17:42 EST 2005


On Fri, Feb 18, 2005 at 07:10:42PM +0100, Segher Boessenkool wrote:
> ADB has nothing to do with the PMU (well, the PMU emulates an ADB
> device, sort of).
> 
> The Linux kernel multiplexes the /dev/adb device to also serve as
> a channel to the PMU, though.  This ugliness should be fixed, some
> day...

The original PMU chip (in the Macintosh Portable) was used for
several purposes, including being the ADB transceiver. Most of
the revisions of the PMU that have shipped have still driven a
real ADB chain, although that has changed in more recent models.

The /dev/adb mess is a reflection of the mess that is the current
ADB subsystem in the kernel. You can write code in the kernel
that uses adb_request() to send non-adb PMU commands, and it
works due to the way it all works underneath. I was going to work
on it, but I got sidetracked with other issues that made it hard
to debug the various ADB drivers. If noone else gets to it, I
will eventually. I'm just not sure when I will have time.

	Brad Boyer
	flar at allandria.com




More information about the Linuxppc-dev mailing list