xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/sysfs-class-led-trigger-netdev (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/class/leds/<led>/device_name
2*4882a593SmuzhiyunDate:		Dec 2017
3*4882a593SmuzhiyunKernelVersion:	4.16
4*4882a593SmuzhiyunContact:	linux-leds@vger.kernel.org
5*4882a593SmuzhiyunDescription:
6*4882a593Smuzhiyun		Specifies the network device name to monitor.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunWhat:		/sys/class/leds/<led>/interval
9*4882a593SmuzhiyunDate:		Dec 2017
10*4882a593SmuzhiyunKernelVersion:	4.16
11*4882a593SmuzhiyunContact:	linux-leds@vger.kernel.org
12*4882a593SmuzhiyunDescription:
13*4882a593Smuzhiyun		Specifies the duration of the LED blink in milliseconds.
14*4882a593Smuzhiyun		Defaults to 50 ms.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunWhat:		/sys/class/leds/<led>/link
17*4882a593SmuzhiyunDate:		Dec 2017
18*4882a593SmuzhiyunKernelVersion:	4.16
19*4882a593SmuzhiyunContact:	linux-leds@vger.kernel.org
20*4882a593SmuzhiyunDescription:
21*4882a593Smuzhiyun		Signal the link state of the named network device.
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun		If set to 0 (default), the LED's normal state is off.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun		If set to 1, the LED's normal state reflects the link state
26*4882a593Smuzhiyun		of the named network device.
27*4882a593Smuzhiyun		Setting this value also immediately changes the LED state.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunWhat:		/sys/class/leds/<led>/tx
31*4882a593SmuzhiyunDate:		Dec 2017
32*4882a593SmuzhiyunKernelVersion:	4.16
33*4882a593SmuzhiyunContact:	linux-leds@vger.kernel.org
34*4882a593SmuzhiyunDescription:
35*4882a593Smuzhiyun		Signal transmission of data on the named network device.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun		If set to 0 (default), the LED will not blink on transmission.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun		If set to 1, the LED will blink for the milliseconds specified
40*4882a593Smuzhiyun		in interval to signal transmission.
41*4882a593Smuzhiyun
42*4882a593SmuzhiyunWhat:		/sys/class/leds/<led>/rx
43*4882a593SmuzhiyunDate:		Dec 2017
44*4882a593SmuzhiyunKernelVersion:	4.16
45*4882a593SmuzhiyunContact:	linux-leds@vger.kernel.org
46*4882a593SmuzhiyunDescription:
47*4882a593Smuzhiyun		Signal reception of data on the named network device.
48*4882a593Smuzhiyun
49*4882a593Smuzhiyun		If set to 0 (default), the LED will not blink on reception.
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun		If set to 1, the LED will blink for the milliseconds specified
52*4882a593Smuzhiyun		in interval to signal reception.
53