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

Source file repositories/reference/linux-study-clean/Documentation/ABI/testing/sysfs-class-led-trigger-usbport

File Facts

System
Linux kernel
Corpus path
Documentation/ABI/testing/sysfs-class-led-trigger-usbport
Extension
[no extension]
Size
468 bytes
Lines
14
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: Documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

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.

Annotation

Implementation Notes