@@ -13,6 +13,11 @@ Description:
1313 Specifies the duration of the LED blink in milliseconds.
1414 Defaults to 50 ms.
1515
16+ With hw_control ON, 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+
1621What: /sys/class/leds/<led>/link
1722Date: Dec 2017
1823KernelVersion: 4.16
@@ -39,6 +44,9 @@ Description:
3944 If set to 1, the LED will blink for the milliseconds specified
4045 in interval to signal transmission.
4146
47+ With hw_control ON, the blink interval is controlled by hardware
48+ and won't reflect the value set in interval.
49+
4250What: /sys/class/leds/<led>/rx
4351Date: Dec 2017
4452KernelVersion: 4.16
@@ -50,3 +58,84 @@ Description:
5058
5159 If set to 1, the LED will blink for the milliseconds specified
5260 in interval to signal reception.
61+
62+ With hw_control ON, the blink interval is controlled by hardware
63+ and won't reflect the value set in interval.
64+
65+ What: /sys/class/leds/<led>/hw_control
66+ Date: Jun 2023
67+ KernelVersion: 6.5
68+ Contact: linux-leds@vger.kernel.org
69+ Description:
70+ Communicate whether the LED trigger modes are driven by hardware
71+ or software fallback is used.
72+
73+ If 0, the LED is using software fallback to blink.
74+
75+ If 1, the LED is using hardware control to blink and signal the
76+ requested modes.
77+
78+ What: /sys/class/leds/<led>/link_10
79+ Date: Jun 2023
80+ KernelVersion: 6.5
81+ Contact: linux-leds@vger.kernel.org
82+ Description:
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+
91+ What: /sys/class/leds/<led>/link_100
92+ Date: Jun 2023
93+ KernelVersion: 6.5
94+ Contact: linux-leds@vger.kernel.org
95+ Description:
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+
104+ What: /sys/class/leds/<led>/link_1000
105+ Date: Jun 2023
106+ KernelVersion: 6.5
107+ Contact: linux-leds@vger.kernel.org
108+ Description:
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+
117+ What: /sys/class/leds/<led>/half_duplex
118+ Date: Jun 2023
119+ KernelVersion: 6.5
120+ Contact: linux-leds@vger.kernel.org
121+ Description:
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+
130+ What: /sys/class/leds/<led>/full_duplex
131+ Date: Jun 2023
132+ KernelVersion: 6.5
133+ Contact: linux-leds@vger.kernel.org
134+ Description:
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.
0 commit comments