Re: How to get control over Power LED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tekale Sharad-FHJN78 (FHJN78@xxxxxxxxxxxx) 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux