Sets the brightness level. Possible values are from 0 to max_brightness.
Sets the brightness level. Possible values are from 0 to max_brightness.
Sets the LED's brightness to the given percent (0-1) of the max value.
Sets the LED's brightness to the given percent (0-1) of the max value.
The timer trigger will periodically change the LED brightness between
0 and the current brightness setting. The off time can
be specified via delay_off attribute in milliseconds.
The timer trigger will periodically change the LED brightness between
0 and the current brightness setting. The off time can
be specified via delay_off attribute in milliseconds.
The timer trigger will periodically change the LED brightness between
0 and the current brightness setting. The on time can
be specified via delay_on attribute in milliseconds.
The timer trigger will periodically change the LED brightness between
0 and the current brightness setting. The on time can
be specified via delay_on attribute in milliseconds.
Returns the maximum allowable brightness value.
Sets the led trigger. A trigger
is a kernel based source of led events. Triggers can either be simple or
complex. A simple trigger isn't configurable and is designed to slot into
existing subsystems with minimal additional code. Examples are the ide-disk and
nand-disk triggers.
Complex triggers whilst available to all LEDs have LED specific
parameters and work on a per LED basis. The timer trigger is an example.
The timer trigger will periodically change the LED brightness between
0 and the current brightness setting. The on and off time can
be specified via delay_{on,off} attributes in milliseconds.
You can change the brightness value of a LED independently of the timer
trigger. However, if you set the brightness value to 0 it will
also disable the timer trigger.
Sets the led trigger. A trigger
is a kernel based source of led events. Triggers can either be simple or
complex. A simple trigger isn't configurable and is designed to slot into
existing subsystems with minimal additional code. Examples are the ide-disk and
nand-disk triggers.
Complex triggers whilst available to all LEDs have LED specific
parameters and work on a per LED basis. The timer trigger is an example.
The timer trigger will periodically change the LED brightness between
0 and the current brightness setting. The on and off time can
be specified via delay_{on,off} attributes in milliseconds.
You can change the brightness value of a LED independently of the timer
trigger. However, if you set the brightness value to 0 it will
also disable the timer trigger.
Returns a list of available triggers.
Flashes the LED on a timer using the given intervals.
Sets brightness to 0, turning the LED off
Sets brightness to maximum value, turning the LED on
Generated using TypeDoc
Any device controlled by the generic LED driver. See https://www.kernel.org/doc/Documentation/leds/leds-class.txt for more details.