94 lines · plain
1What: /sys/class/udc/<udc>/a_alt_hnp_support2Date: June 20113KernelVersion: 3.14Contact: Felipe Balbi <balbi@kernel.org>5Description:6 Indicates if an OTG A-Host supports HNP at an alternate port.7Users:8 9What: /sys/class/udc/<udc>/a_hnp_support10Date: June 201111KernelVersion: 3.112Contact: Felipe Balbi <balbi@kernel.org>13Description:14 Indicates if an OTG A-Host supports HNP at this port.15Users:16 17What: /sys/class/udc/<udc>/b_hnp_enable18Date: June 201119KernelVersion: 3.120Contact: Felipe Balbi <balbi@kernel.org>21Description:22 Indicates if an OTG A-Host enabled HNP support.23Users:24 25What: /sys/class/udc/<udc>/current_speed26Date: June 201127KernelVersion: 3.128Contact: Felipe Balbi <balbi@kernel.org>29Description:30 Indicates the current negotiated speed at this port.31Users:32 33What: /sys/class/udc/<udc>/is_a_peripheral34Date: June 201135KernelVersion: 3.136Contact: Felipe Balbi <balbi@kernel.org>37Description:38 Indicates that this port is the default Host on an OTG session39 but HNP was used to switch roles.40Users:41 42What: /sys/class/udc/<udc>/is_otg43Date: June 201144KernelVersion: 3.145Contact: Felipe Balbi <balbi@kernel.org>46Description:47 Indicates that this port support OTG.48Users:49 50What: /sys/class/udc/<udc>/maximum_speed51Date: June 201152KernelVersion: 3.153Contact: Felipe Balbi <balbi@kernel.org>54Description:55 Indicates the maximum USB speed supported by this port.56Users:57 58What: /sys/class/udc/<udc>/soft_connect59Date: June 201160KernelVersion: 3.161Contact: Felipe Balbi <balbi@kernel.org>62Description:63 Allows users to disconnect data pullup resistors thus causing a64 logical disconnection from the USB Host.65Users:66 67What: /sys/class/udc/<udc>/srp68Date: June 201169KernelVersion: 3.170Contact: Felipe Balbi <balbi@kernel.org>71Description:72 Allows users to manually start Session Request Protocol.73Users:74 75What: /sys/class/udc/<udc>/state76Date: June 201177KernelVersion: 3.178Contact: Felipe Balbi <balbi@kernel.org>79Description:80 Indicates current state of the USB Device Controller. Valid81 states are: 'not-attached', 'attached', 'powered',82 'reconnecting', 'unauthenticated', 'default', 'addressed',83 'configured', and 'suspended'; however not all USB Device84 Controllers support reporting all states.85Users:86 87What: /sys/class/udc/<udc>/function88Date: June 201789KernelVersion: 4.1390Contact: Felipe Balbi <balbi@kernel.org>91Description:92 Prints out name of currently running USB Gadget Driver.93Users:94