Linux Audio

Check our new training course

Loading...
v6.13.7
 1What:		/sys/class/leds/<led>/pattern
 2Date:		September 2018
 3KernelVersion:	4.20
 4Description:
 5		Specify a software pattern for the LED, that supports altering
 6		the brightness for the specified duration with one software
 7		timer. It can do gradual dimming and step change of brightness.
 8
 9		The pattern is given by a series of tuples, of brightness and
10		duration (ms).
11
12		The exact format is described in:
13		Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt
14
15What:		/sys/class/leds/<led>/hr_pattern
16Date:		April 2024
17Description:
18		Specify a software pattern for the LED, that supports altering
19		the brightness for the specified duration with one software
20		timer. It can do gradual dimming and step change of brightness.
21
22		Unlike the /sys/class/leds/<led>/pattern, this attribute runs
23		a pattern on high-resolution timer (hrtimer).
24
25What:		/sys/class/leds/<led>/hw_pattern
26Date:		September 2018
27KernelVersion:	4.20
28Description:
29		Specify a hardware pattern for the LED, for LED hardware that
30		supports autonomously controlling brightness over time, according
31		to some preprogrammed hardware patterns. It deactivates any active
32		software pattern.
33
34		Since different LED hardware can have different semantics of
35		hardware patterns, each driver is expected to provide its own
36		description for the hardware patterns in their documentation
37		file at Documentation/leds/.
38
39What:		/sys/class/leds/<led>/repeat
40Date:		September 2018
41KernelVersion:	4.20
42Description:
43		Specify a pattern repeat number. -1 means repeat indefinitely,
44		other negative numbers and number 0 are invalid.
45
46		This file will always return the originally written repeat
47		number.
48
49		It should be noticed that some leds, like EL15203000 may
50		only support indefinitely patterns, so they always store -1.
v5.9
 1What:		/sys/class/leds/<led>/pattern
 2Date:		September 2018
 3KernelVersion:	4.20
 4Description:
 5		Specify a software pattern for the LED, that supports altering
 6		the brightness for the specified duration with one software
 7		timer. It can do gradual dimming and step change of brightness.
 8
 9		The pattern is given by a series of tuples, of brightness and
10		duration (ms).
11
12		The exact format is described in:
13		Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt
14
 
 
 
 
 
 
 
 
 
 
15What:		/sys/class/leds/<led>/hw_pattern
16Date:		September 2018
17KernelVersion:	4.20
18Description:
19		Specify a hardware pattern for the LED, for LED hardware that
20		supports autonomously controlling brightness over time, according
21		to some preprogrammed hardware patterns. It deactivates any active
22		software pattern.
23
24		Since different LED hardware can have different semantics of
25		hardware patterns, each driver is expected to provide its own
26		description for the hardware patterns in their ABI documentation
27		file.
28
29What:		/sys/class/leds/<led>/repeat
30Date:		September 2018
31KernelVersion:	4.20
32Description:
33		Specify a pattern repeat number. -1 means repeat indefinitely,
34		other negative numbers and number 0 are invalid.
35
36		This file will always return the originally written repeat
37		number.