xref: /linux/Documentation/ABI/testing/sysfs-class-led-trigger-netdev (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
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
16What:		/sys/class/leds/<led>/link
17Date:		Dec 2017
18KernelVersion:	4.16
19Contact:	linux-leds@vger.kernel.org
20Description:
21		Signal the link state of the named network device.
22
23		If set to 0 (default), the LED's normal state is off.
24
25		If set to 1, the LED's normal state reflects the link state
26		of the named network device.
27		Setting this value also immediately changes the LED state.
28
29
30What:		/sys/class/leds/<led>/tx
31Date:		Dec 2017
32KernelVersion:	4.16
33Contact:	linux-leds@vger.kernel.org
34Description:
35		Signal transmission of data on the named network device.
36
37		If set to 0 (default), the LED will not blink on transmission.
38
39		If set to 1, the LED will blink for the milliseconds specified
40		in interval to signal transmission.
41
42What:		/sys/class/leds/<led>/rx
43Date:		Dec 2017
44KernelVersion:	4.16
45Contact:	linux-leds@vger.kernel.org
46Description:
47		Signal reception of data on the named network device.
48
49		If set to 0 (default), the LED will not blink on reception.
50
51		If set to 1, the LED will blink for the milliseconds specified
52		in interval to signal reception.
53