Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 5816b3e6577eaa676ceb00a848f0fd65fe2adc29 authored by Linus Torvalds on 26 September 2021, 21:08:19 UTC
Linux 5.15-rc3
Tip revision: 5816b3e
sysfs-class-led-trigger-oneshot
What:		/sys/class/leds/<led>/delay_on
Date:		Jun 2012
KernelVersion:	3.6
Contact:	linux-leds@vger.kernel.org
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:	linux-leds@vger.kernel.org
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:	linux-leds@vger.kernel.org
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:	linux-leds@vger.kernel.org
Description:
		Write any non-empty string to signal an events, this starts a
		blink sequence if not already running.
back to top