Documentation / ABI / testing / sysfs-class-led-trigger-netdev


Based on kernel version 6.11. Page generated on 2024-09-24 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
What:		/sys/class/leds/<led>/device_name
Date:		Dec 2017
KernelVersion:	4.16
Contact:	linux-leds@vger.kernel.org
Description:
		Specifies the network device name to monitor.

What:		/sys/class/leds/<led>/interval
Date:		Dec 2017
KernelVersion:	4.16
Contact:	linux-leds@vger.kernel.org
Description:
		Specifies the duration of the LED blink in milliseconds.
		Defaults to 50 ms.

		When offloaded is true, the interval value MUST be set to the
		default value and cannot be changed.
		Trying to set any value in this specific mode will return
		an EINVAL error.

What:		/sys/class/leds/<led>/link
Date:		Dec 2017
KernelVersion:	4.16
Contact:	linux-leds@vger.kernel.org
Description:
		Signal the link state of the named network device.

		If set to 0 (default), the LED's normal state is off.

		If set to 1, the LED's normal state reflects the link state
		of the named network device.
		Setting this value also immediately changes the LED state.


What:		/sys/class/leds/<led>/tx
Date:		Dec 2017
KernelVersion:	4.16
Contact:	linux-leds@vger.kernel.org
Description:
		Signal transmission of data on the named network device.

		If set to 0 (default), the LED will not blink on transmission.

		If set to 1, the LED will blink for the milliseconds specified
		in interval to signal transmission.

		When offloaded is true, the blink interval is controlled by
		hardware and won't reflect the value set in interval.

What:		/sys/class/leds/<led>/rx
Date:		Dec 2017
KernelVersion:	4.16
Contact:	linux-leds@vger.kernel.org
Description:
		Signal reception of data on the named network device.

		If set to 0 (default), the LED will not blink on reception.

		If set to 1, the LED will blink for the milliseconds specified
		in interval to signal reception.

		When offloaded is true, the blink interval is controlled by
		hardware and won't reflect the value set in interval.

What:		/sys/class/leds/<led>/offloaded
Date:		Jun 2023
KernelVersion:	6.5
Contact:	linux-leds@vger.kernel.org
Description:
		Communicate whether the LED trigger modes are offloaded to
		hardware or whether software fallback is used.

		If 0, the LED is using software fallback to blink.

		If 1, the LED blinking in requested mode is offloaded to
		hardware.

What:		/sys/class/leds/<led>/link_10
Date:		Jun 2023
KernelVersion:	6.5
Contact:	linux-leds@vger.kernel.org
Description:
		Signal the link speed state of 10Mbps of the named network device.

		If set to 0 (default), the LED's normal state is off.

		If set to 1, the LED's normal state reflects the link state
		speed of 10MBps of the named network device.
		Setting this value also immediately changes the LED state.

		Present only if the named network device supports 10Mbps link speed.

What:		/sys/class/leds/<led>/link_100
Date:		Jun 2023
KernelVersion:	6.5
Contact:	linux-leds@vger.kernel.org
Description:
		Signal the link speed state of 100Mbps of the named network device.

		If set to 0 (default), the LED's normal state is off.

		If set to 1, the LED's normal state reflects the link state
		speed of 100Mbps of the named network device.
		Setting this value also immediately changes the LED state.

		Present only if the named network device supports 100Mbps link speed.

What:		/sys/class/leds/<led>/link_1000
Date:		Jun 2023
KernelVersion:	6.5
Contact:	linux-leds@vger.kernel.org
Description:
		Signal the link speed state of 1000Mbps of the named network device.

		If set to 0 (default), the LED's normal state is off.

		If set to 1, the LED's normal state reflects the link state
		speed of 1000Mbps of the named network device.
		Setting this value also immediately changes the LED state.

		Present only if the named network device supports 1000Mbps link speed.

What:		/sys/class/leds/<led>/link_2500
Date:		Nov 2023
KernelVersion:	6.8
Contact:	linux-leds@vger.kernel.org
Description:
		Signal the link speed state of 2500Mbps of the named network device.

		If set to 0 (default), the LED's normal state is off.

		If set to 1, the LED's normal state reflects the link state
		speed of 2500Mbps of the named network device.
		Setting this value also immediately changes the LED state.

		Present only if the named network device supports 2500Mbps link speed.

What:		/sys/class/leds/<led>/link_5000
Date:		Nov 2023
KernelVersion:	6.8
Contact:	linux-leds@vger.kernel.org
Description:
		Signal the link speed state of 5000Mbps of the named network device.

		If set to 0 (default), the LED's normal state is off.

		If set to 1, the LED's normal state reflects the link state
		speed of 5000Mbps of the named network device.
		Setting this value also immediately changes the LED state.

		Present only if the named network device supports 5000Mbps link speed.

What:		/sys/class/leds/<led>/link_10000
Date:		Nov 2023
KernelVersion:	6.8
Contact:	linux-leds@vger.kernel.org
Description:
		Signal the link speed state of 10000Mbps of the named network device.

		If set to 0 (default), the LED's normal state is off.

		If set to 1, the LED's normal state reflects the link state
		speed of 10000Mbps of the named network device.
		Setting this value also immediately changes the LED state.

		Present only if the named network device supports 10000Mbps link speed.

What:		/sys/class/leds/<led>/half_duplex
Date:		Jun 2023
KernelVersion:	6.5
Contact:	linux-leds@vger.kernel.org
Description:
		Signal the link half duplex state of the named network device.

		If set to 0 (default), the LED's normal state is off.

		If set to 1, the LED's normal state reflects the link half
		duplex state of the named network device.
		Setting this value also immediately changes the LED state.

What:		/sys/class/leds/<led>/full_duplex
Date:		Jun 2023
KernelVersion:	6.5
Contact:	linux-leds@vger.kernel.org
Description:
		Signal the link full duplex state of the named network device.

		If set to 0 (default), the LED's normal state is off.

		If set to 1, the LED's normal state reflects the link full
		duplex state of the named network device.
		Setting this value also immediately changes the LED state.