Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 136057256686de39cc3a07c2e39ef6bc43003ff6 authored by Linus Torvalds on 21 November 2021, 21:47:39 UTC
Linux 5.16-rc2
Tip revision: 1360572
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