Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1What: /sys/class/leds/<led>/device_name
2Date: Dec 2017
3KernelVersion: 4.16
4Contact: linux-leds@vger.kernel.org
5Description:
6 Specifies the network device name to monitor.
7
8What: /sys/class/leds/<led>/interval
9Date: Dec 2017
10KernelVersion: 4.16
11Contact: linux-leds@vger.kernel.org
12Description:
13 Specifies the duration of the LED blink in milliseconds.
14 Defaults to 50 ms.
15
16 When offloaded is true, the interval value MUST be set to the
17 default value and cannot be changed.
18 Trying to set any value in this specific mode will return
19 an EINVAL error.
20
21What: /sys/class/leds/<led>/link
22Date: Dec 2017
23KernelVersion: 4.16
24Contact: linux-leds@vger.kernel.org
25Description:
26 Signal the link state of the named network device.
27
28 If set to 0 (default), the LED's normal state is off.
29
30 If set to 1, the LED's normal state reflects the link state
31 of the named network device.
32 Setting this value also immediately changes the LED state.
33
34
35What: /sys/class/leds/<led>/tx
36Date: Dec 2017
37KernelVersion: 4.16
38Contact: linux-leds@vger.kernel.org
39Description:
40 Signal transmission of data on the named network device.
41
42 If set to 0 (default), the LED will not blink on transmission.
43
44 If set to 1, the LED will blink for the milliseconds specified
45 in interval to signal transmission.
46
47 When offloaded is true, the blink interval is controlled by
48 hardware and won't reflect the value set in interval.
49
50What: /sys/class/leds/<led>/rx
51Date: Dec 2017
52KernelVersion: 4.16
53Contact: linux-leds@vger.kernel.org
54Description:
55 Signal reception of data on the named network device.
56
57 If set to 0 (default), the LED will not blink on reception.
58
59 If set to 1, the LED will blink for the milliseconds specified
60 in interval to signal reception.
61
62 When offloaded is true, the blink interval is controlled by
63 hardware and won't reflect the value set in interval.
64
65What: /sys/class/leds/<led>/offloaded
66Date: Jun 2023
67KernelVersion: 6.5
68Contact: linux-leds@vger.kernel.org
69Description:
70 Communicate whether the LED trigger modes are offloaded to
71 hardware or whether software fallback is used.
72
73 If 0, the LED is using software fallback to blink.
74
75 If 1, the LED blinking in requested mode is offloaded to
76 hardware.
77
78What: /sys/class/leds/<led>/link_10
79Date: Jun 2023
80KernelVersion: 6.5
81Contact: linux-leds@vger.kernel.org
82Description:
83 Signal the link speed state of 10Mbps of the named network device.
84
85 If set to 0 (default), the LED's normal state is off.
86
87 If set to 1, the LED's normal state reflects the link state
88 speed of 10MBps of the named network device.
89 Setting this value also immediately changes the LED state.
90
91What: /sys/class/leds/<led>/link_100
92Date: Jun 2023
93KernelVersion: 6.5
94Contact: linux-leds@vger.kernel.org
95Description:
96 Signal the link speed state of 100Mbps of the named network device.
97
98 If set to 0 (default), the LED's normal state is off.
99
100 If set to 1, the LED's normal state reflects the link state
101 speed of 100Mbps of the named network device.
102 Setting this value also immediately changes the LED state.
103
104What: /sys/class/leds/<led>/link_1000
105Date: Jun 2023
106KernelVersion: 6.5
107Contact: linux-leds@vger.kernel.org
108Description:
109 Signal the link speed state of 1000Mbps of the named network device.
110
111 If set to 0 (default), the LED's normal state is off.
112
113 If set to 1, the LED's normal state reflects the link state
114 speed of 1000Mbps of the named network device.
115 Setting this value also immediately changes the LED state.
116
117What: /sys/class/leds/<led>/half_duplex
118Date: Jun 2023
119KernelVersion: 6.5
120Contact: linux-leds@vger.kernel.org
121Description:
122 Signal the link half duplex state of the named network device.
123
124 If set to 0 (default), the LED's normal state is off.
125
126 If set to 1, the LED's normal state reflects the link half
127 duplex state of the named network device.
128 Setting this value also immediately changes the LED state.
129
130What: /sys/class/leds/<led>/full_duplex
131Date: Jun 2023
132KernelVersion: 6.5
133Contact: linux-leds@vger.kernel.org
134Description:
135 Signal the link full duplex state of the named network device.
136
137 If set to 0 (default), the LED's normal state is off.
138
139 If set to 1, the LED's normal state reflects the link full
140 duplex state of the named network device.
141 Setting this value also immediately changes the LED state.