Front LED on Mac mini G4

Florian Fainelli florian.fainelli at int-evry.fr
Wed Feb 21 04:35:06 EST 2007


Hi Johannes,

Le mardi 20 février 2007, Johannes Berg a écrit :
> On Tue, 2007-02-20 at 14:33 +0100, Florian Fainelli wrote:
> > I would like to know whether it is possible or not to modify the
> > via-pmu-led driver to make it work with the Mac mini G4 front LED, is
> > there anything particular with this model ?
>
> Not sure. If it's a PowerMac10,1 I think it should work.

It is a PowerMac10,1. After bypassing some device checks in via_pmu_led_init, 
I tried : echo 0 > /sys/class/leds/pmu-front-led/brightness

which resulted in : PMU: bad reply len 85 and the brightness not changed of 
course.

the check is in via-pmu.c line 1500

Do you know what could cause this reply ?
>
> > By the way, why is this driver only available as in-kernel and not module
> > ?
>
> Because it's just an option of the via-pmu driver.
>
> johannes



-- 
Cordialement, Florian Fainelli
---------------------------------------------
5, rue Charles Fourier
Chambre 1202
91011 Evry
http://www.alphacore.net
(+33) 01 60 76 64 21
(+33) 06 09 02 64 95
---------------------------------------------
Association MiNET
http://www.minet.net
---------------------------------------------
Institut National des Télécommunication
http://www.int-evry.fr/telecomint
---------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070220/f9a83fe2/attachment.pgp>


More information about the Linuxppc-dev mailing list