* Re: How to get control over Power LED
[not found] <E9E3926FA9CDBF489EA1684042C8A02601531D7C@zmy16exm72.ds.mot.com>
@ 2009-06-23 9:03 ` Christophe Lucas
2009-06-28 20:46 ` Drew
0 siblings, 1 reply; 2+ messages in thread
From: Christophe Lucas @ 2009-06-23 9:03 UTC (permalink / raw)
To: Tekale Sharad-FHJN78; +Cc: kernelnewbies, linux-newbie
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to get control over Power LED
2009-06-23 9:03 ` How to get control over Power LED Christophe Lucas
@ 2009-06-28 20:46 ` Drew
0 siblings, 0 replies; 2+ messages in thread
From: Drew @ 2009-06-28 20:46 UTC (permalink / raw)
To: Tekale Sharad-FHJN78; +Cc: Christophe Lucas, kernelnewbies, linux-newbie
> How can I get control over Power LED?
>
> My requirement is I can be able to control Power LED by using /proc file
> system.
Hi,
What hardware are you wanting to control the lights on? As far as I
know only embedded systems support LED control. General Purpose
computers like the x86 don't have any sort support for this.
A good source of code I've seen for LED control is on Linksys' NSLU2
"Slug". The Debian distro for it has userland tools for controlling
the various output modes of the LEDs built in.
--
Drew
"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-28 20:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E9E3926FA9CDBF489EA1684042C8A02601531D7C@zmy16exm72.ds.mot.com>
2009-06-23 9:03 ` How to get control over Power LED Christophe Lucas
2009-06-28 20:46 ` Drew
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.