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.
Documentation: move oneshot trigger attributes documentation to ABI
Documentation of sysfs interface should be in ABI in the first place. This moves relevant part of documentation and mentions where to look for it. Fix trivial typos whilst we are at it. Signed-off-by: Rafał Miłecki <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
- Loading branch information
1 parent
1d1a77d
commit 1f70cb4
Showing
3 changed files
with
40 additions
and
19 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
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,36 @@ | ||
What: /sys/class/leds/<led>/delay_on | ||
Date: Jun 2012 | ||
KernelVersion: 3.6 | ||
Contact: [email protected] | ||
Description: | ||
Specifies for how many milliseconds the LED has to stay at | ||
LED_FULL brightness after it has been armed. | ||
Defaults to 100 ms. | ||
|
||
What: /sys/class/leds/<led>/delay_off | ||
Date: Jun 2012 | ||
KernelVersion: 3.6 | ||
Contact: [email protected] | ||
Description: | ||
Specifies for how many milliseconds the LED has to stay at | ||
LED_OFF brightness after it has been armed. | ||
Defaults to 100 ms. | ||
|
||
What: /sys/class/leds/<led>/invert | ||
Date: Jun 2012 | ||
KernelVersion: 3.6 | ||
Contact: [email protected] | ||
Description: | ||
Reverse the blink logic. If set to 0 (default) blink on for | ||
delay_on ms, then blink off for delay_off ms, leaving the LED | ||
normally off. If set to 1, blink off for delay_off ms, then | ||
blink on for delay_on ms, leaving the LED normally on. | ||
Setting this value also immediately changes the LED state. | ||
|
||
What: /sys/class/leds/<led>/shot | ||
Date: Jun 2012 | ||
KernelVersion: 3.6 | ||
Contact: [email protected] | ||
Description: | ||
Write any non-empty string to signal an events, this starts a | ||
blink sequence if not already running. |
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