Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d authored by Linus Torvalds on 09 April 2023, 18:15:57 UTC
Linux 6.3-rc6
Tip revision: 09a9639
sysfs-class-led-trigger-usbport
What:		/sys/class/leds/<led>/ports/<port>
Date:		September 2016
KernelVersion:	4.9
Contact:	linux-leds@vger.kernel.org
		linux-usb@vger.kernel.org
Description:
		Every dir entry represents a single USB port that can be
		selected for the USB port trigger. Selecting ports makes trigger
		observing them for any connected devices and lighting on LED if
		there are any.

		Echoing "1" value selects USB port. Echoing "0" unselects it.
		Current state can be also read.
back to top