1 What: /sys/class/udc/<udc>/a_alt_hnp_support
6 Indicates if an OTG A-Host supports HNP at an alternate port.
9 What: /sys/class/udc/<udc>/a_hnp_support
14 Indicates if an OTG A-Host supports HNP at this port.
17 What: /sys/class/udc/<udc>/b_hnp_enable
22 Indicates if an OTG A-Host enabled HNP support.
25 What: /sys/class/udc/<udc>/current_speed
30 Indicates the current negotiated speed at this port.
33 What: /sys/class/udc/<udc>/is_a_peripheral
38 Indicates that this port is the default Host on an OTG session
39 but HNP was used to switch roles.
42 What: /sys/class/udc/<udc>/is_otg
47 Indicates that this port support OTG.
50 What: /sys/class/udc/<udc>/maximum_speed
55 Indicates the maximum USB speed supported by this port.
58 What: /sys/class/udc/<udc>/soft_connect
63 Allows users to disconnect data pullup resistors thus causing a
64 logical disconnection from the USB Host.
67 What: /sys/class/udc/<udc>/srp
72 Allows users to manually start Session Request Protocol.
75 What: /sys/class/udc/<udc>/state
80 Indicates current state of the USB Device Controller. Valid
81 states are: 'not-attached', 'attached', 'powered',
82 'reconnecting', 'unauthenticated', 'default', 'addressed',
83 'configured', and 'suspended'; however not all USB Device
84 Controllers support reporting all states.
87 What: /sys/class/udc/<udc>/function
92 Prints out name of currently running USB Gadget Driver.