Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: b2d229d4ddb17db541098b83524d901257e93845 authored by Linus Torvalds on 17 April 2022, 20:57:31 UTC
Linux 5.18-rc3
Tip revision: b2d229d
sysfs-class-led-trigger-netdev
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.

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.

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.
back to top