1 What: /sys/class/usb_role/ 1 What: /sys/class/usb_role/ 2 Date: Jan 2018 2 Date: Jan 2018 3 Contact: Heikki Krogerus <heikki.krogeru 3 Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com> 4 Description: 4 Description: 5 Place in sysfs for USB Role Sw 5 Place in sysfs for USB Role Switches. USB Role Switch is a 6 device that can select the dat 6 device that can select the data role (host or device) for USB 7 port. 7 port. 8 8 9 What: /sys/class/usb_role/<switch>/r 9 What: /sys/class/usb_role/<switch>/role 10 Date: Jan 2018 10 Date: Jan 2018 11 Contact: Heikki Krogerus <heikki.krogeru 11 Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com> 12 Description: 12 Description: 13 The current role of the switch 13 The current role of the switch. This attribute can be used for 14 requesting role swapping with 14 requesting role swapping with non-USB Type-C ports. With USB 15 Type-C ports, the ABI defined 15 Type-C ports, the ABI defined for USB Type-C connector class 16 must be used. 16 must be used. 17 17 18 Valid values: 18 Valid values: 19 - none 19 - none 20 - host 20 - host 21 - device 21 - device 22 22 23 What: /sys/class/usb_role/<switch>/c 23 What: /sys/class/usb_role/<switch>/connector 24 Date: Feb 2024 24 Date: Feb 2024 25 Contact: Heikki Krogerus <heikki.krogeru 25 Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com> 26 Description: 26 Description: 27 Optional symlink to the USB Ty 27 Optional symlink to the USB Type-C connector.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.