From: Christophe Lucas <clucas@altern.org>
To: Tekale Sharad-FHJN78 <FHJN78@motorola.com>
Cc: kernelnewbies@nl.linux.org, linux-newbie@vger.kernel.org
Subject: Re: How to get control over Power LED
Date: Tue, 23 Jun 2009 11:03:57 +0200 [thread overview]
Message-ID: <20090623090357.GE25947@mcom.fr> (raw)
In-Reply-To: <E9E3926FA9CDBF489EA1684042C8A02601531D7C@zmy16exm72.ds.mot.com>
Tekale Sharad-FHJN78 (FHJN78@motorola.com) wrote:
> Hi ,
>
> How can I get control over Power LED?
>
> My requirement is I can be able to control Power LED by using /proc file
> system.
>
> If I set value in /proc/sys/led /power to 1, then PowerLED should glow,
> where as if I set it to 0, PowerLED should turn off.
>
> Can some one provide me either some link which talks about how to
> implement
>
> or , point to some piece of code for implementing the behavior, or some
> brief idea towards achieving the behavior.
Hi,
I think drivers/leds is a good starting point.
I have seen some implementation of this kind of stuff in OpenWRT
project (about adm5120).
Regards,
Christophe
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next parent reply other threads:[~2009-06-23 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E9E3926FA9CDBF489EA1684042C8A02601531D7C@zmy16exm72.ds.mot.com>
2009-06-23 9:03 ` Christophe Lucas [this message]
2009-06-28 20:46 ` How to get control over Power LED Drew
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=20090623090357.GE25947@mcom.fr \
--to=clucas@altern.org \
--cc=FHJN78@motorola.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-newbie@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.