28 lines · plain
1What: /sys/class/usb_role/2Date: Jan 20183Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>4Description:5 Place in sysfs for USB Role Switches. USB Role Switch is a6 device that can select the data role (host or device) for USB7 port.8 9What: /sys/class/usb_role/<switch>/role10Date: Jan 201811Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>12Description:13 The current role of the switch. This attribute can be used for14 requesting role swapping with non-USB Type-C ports. With USB15 Type-C ports, the ABI defined for USB Type-C connector class16 must be used.17 18 Valid values:19 - none20 - host21 - device22 23What: /sys/class/usb_role/<switch>/connector24Date: Feb 202425Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>26Description:27 Optional symlink to the USB Type-C connector.28