Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/class/leds/<led>/device_name
0002 Date:           Dec 2017
0003 KernelVersion:  4.16
0004 Contact:        linux-leds@vger.kernel.org
0005 Description:
0006                 Specifies the network device name to monitor.
0007 
0008 What:           /sys/class/leds/<led>/interval
0009 Date:           Dec 2017
0010 KernelVersion:  4.16
0011 Contact:        linux-leds@vger.kernel.org
0012 Description:
0013                 Specifies the duration of the LED blink in milliseconds.
0014                 Defaults to 50 ms.
0015 
0016 What:           /sys/class/leds/<led>/link
0017 Date:           Dec 2017
0018 KernelVersion:  4.16
0019 Contact:        linux-leds@vger.kernel.org
0020 Description:
0021                 Signal the link state of the named network device.
0022 
0023                 If set to 0 (default), the LED's normal state is off.
0024 
0025                 If set to 1, the LED's normal state reflects the link state
0026                 of the named network device.
0027                 Setting this value also immediately changes the LED state.
0028 
0029 
0030 What:           /sys/class/leds/<led>/tx
0031 Date:           Dec 2017
0032 KernelVersion:  4.16
0033 Contact:        linux-leds@vger.kernel.org
0034 Description:
0035                 Signal transmission of data on the named network device.
0036 
0037                 If set to 0 (default), the LED will not blink on transmission.
0038 
0039                 If set to 1, the LED will blink for the milliseconds specified
0040                 in interval to signal transmission.
0041 
0042 What:           /sys/class/leds/<led>/rx
0043 Date:           Dec 2017
0044 KernelVersion:  4.16
0045 Contact:        linux-leds@vger.kernel.org
0046 Description:
0047                 Signal reception of data on the named network device.
0048 
0049                 If set to 0 (default), the LED will not blink on reception.
0050 
0051                 If set to 1, the LED will blink for the milliseconds specified
0052                 in interval to signal reception.