forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also fix Documentation/led-class.txt, the acceptable range of values for brightness is 0-max_brightness, not 0-255. Cc: Richard Purdie <[email protected]> Signed-off-by: Corentin Chary <[email protected]> Signed-off-by: Len Brown <[email protected]>
- Loading branch information
Showing
2 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
What: /sys/class/leds/<led>/brightness | ||
Date: March 2006 | ||
KernelVersion: 2.6.17 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Set the brightness of the LED. Most LEDs don't | ||
have hardware brightness support so will just be turned on for | ||
non-zero brightness settings. The value is between 0 and | ||
/sys/class/leds/<led>/max_brightness. | ||
|
||
What: /sys/class/leds/<led>/max_brightness | ||
Date: March 2006 | ||
KernelVersion: 2.6.17 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Maximum brightness level for this led, default is 255 (LED_FULL). | ||
|
||
What: /sys/class/leds/<led>/trigger | ||
Date: March 2006 | ||
KernelVersion: 2.6.17 | ||
Contact: Richard Purdie <[email protected]> | ||
Description: | ||
Set the trigger for this LED. A trigger is a kernel based source | ||
of led events. | ||
You can change triggers in a similar manner to the way an IO | ||
scheduler is chosen. Trigger specific parameters can appear in | ||
/sys/class/leds/<led> once a given trigger is selected. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters