sysfs-class-usb_role 632 B

123456789101112131415161718192021
  1. What: /sys/class/usb_role/
  2. Date: Jan 2018
  3. Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>
  4. Description:
  5. Place in sysfs for USB Role Switches. USB Role Switch is a
  6. device that can select the data role (host or device) for USB
  7. port.
  8. What: /sys/class/usb_role/<switch>/role
  9. Date: Jan 2018
  10. Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>
  11. Description:
  12. The current role of the switch. This attribute can be used for
  13. requesting role swapping with non-USB Type-C ports. With USB
  14. Type-C ports, the ABI defined for USB Type-C connector class
  15. must be used.
  16. Valid values:
  17. - none
  18. - host
  19. - device