Thread (2 messages) 2 messages, 2 authors, 2016-08-11

Possible Sysfs for led class drivers

From: jacek.anaszewski@gmail.com (Jacek Anaszewski)
Date: 2016-08-11 20:39:11
Also in: linux-leds

Hi Raul,

On 08/11/2016 03:27 PM, Raul Piper wrote:
Hi,
I have scanned through some of the led sysfs interfaces of my hardware
boards inside the /sys/class/leds and found these
brightness,
max_brightness
trigger
uevent
invert
sata

I want to know can we add our own custom sysfs interface ?
Does there exists a default list of interfaces provided by the led
class subsystem? like brightness, max_brightness,trigger,uevent ,etc??
You can add custom sysfs attributes by initializing "groups" property
of struct led_classdev.

-- 
Best regards,
Jacek Anaszewski
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help