linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <florian.fainelli@int-evry.fr>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Front LED on Mac mini G4
Date: Tue, 20 Feb 2007 18:35:06 +0100	[thread overview]
Message-ID: <200702201835.14882.florian.fainelli@int-evry.fr> (raw)
In-Reply-To: <1171987020.15489.177.camel@johannes.berg>

[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]

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
---------------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-02-20 17:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 13:33 Front LED on Mac mini G4 Florian Fainelli
2007-02-20 15:57 ` Johannes Berg
2007-02-20 17:35   ` Florian Fainelli [this message]
2007-02-20 17:41     ` Johannes Berg
2007-02-20 19:40 ` 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=200702201835.14882.florian.fainelli@int-evry.fr \
    --to=florian.fainelli@int-evry.fr \
    --cc=johannes@sipsolutions.net \
    --cc=linuxppc-dev@ozlabs.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).