[PATCH] Heartbeat LED for iBook
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Jan 27 00:42:26 EST 2005
On Wed, 2005-01-26 at 12:35 +0100, Nico Schottelius wrote:
> Hello!
>
>
> Joerg Dorchain [Tue, Jan 18, 2005 at 10:42:16AM +0100]:
> > [heartbeat blink patch]
>
> Well, wouldn't it make much more sense to write a
> /dev/frontled to access it via userspace?
>
> Then one could enable much more features like
> - xmms plugins
> - num-lock led
> - network-traffic
> - morse-codes
> - glowing when typing
> - ...
One can always control the led by sending PMU command directly
via /dev/adb :) Ok, that sort-of sucks, especially since the command is
only supported by some versions of the PMU. On the other hand, I dislike
cluttering /dev ... maybe I can find some better mecanism via sysfs...
Ben.
More information about the Linuxppc-dev
mailing list