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 an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux