Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
94 lines
2.4 KiB
Plaintext
94 lines
2.4 KiB
Plaintext
What: /sys/class/udc/<udc>/a_alt_hnp_support
|
|
Date: June 2011
|
|
KernelVersion: 3.1
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Indicates if an OTG A-Host supports HNP at an alternate port.
|
|
Users:
|
|
|
|
What: /sys/class/udc/<udc>/a_hnp_support
|
|
Date: June 2011
|
|
KernelVersion: 3.1
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Indicates if an OTG A-Host supports HNP at this port.
|
|
Users:
|
|
|
|
What: /sys/class/udc/<udc>/b_hnp_enable
|
|
Date: June 2011
|
|
KernelVersion: 3.1
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Indicates if an OTG A-Host enabled HNP support.
|
|
Users:
|
|
|
|
What: /sys/class/udc/<udc>/current_speed
|
|
Date: June 2011
|
|
KernelVersion: 3.1
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Indicates the current negotiated speed at this port.
|
|
Users:
|
|
|
|
What: /sys/class/udc/<udc>/is_a_peripheral
|
|
Date: June 2011
|
|
KernelVersion: 3.1
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Indicates that this port is the default Host on an OTG session
|
|
but HNP was used to switch roles.
|
|
Users:
|
|
|
|
What: /sys/class/udc/<udc>/is_otg
|
|
Date: June 2011
|
|
KernelVersion: 3.1
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Indicates that this port support OTG.
|
|
Users:
|
|
|
|
What: /sys/class/udc/<udc>/maximum_speed
|
|
Date: June 2011
|
|
KernelVersion: 3.1
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Indicates the maximum USB speed supported by this port.
|
|
Users:
|
|
|
|
What: /sys/class/udc/<udc>/soft_connect
|
|
Date: June 2011
|
|
KernelVersion: 3.1
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Allows users to disconnect data pullup resistors thus causing a
|
|
logical disconnection from the USB Host.
|
|
Users:
|
|
|
|
What: /sys/class/udc/<udc>/srp
|
|
Date: June 2011
|
|
KernelVersion: 3.1
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Allows users to manually start Session Request Protocol.
|
|
Users:
|
|
|
|
What: /sys/class/udc/<udc>/state
|
|
Date: June 2011
|
|
KernelVersion: 3.1
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Indicates current state of the USB Device Controller. Valid
|
|
states are: 'not-attached', 'attached', 'powered',
|
|
'reconnecting', 'unauthenticated', 'default', 'addressed',
|
|
'configured', and 'suspended'; however not all USB Device
|
|
Controllers support reporting all states.
|
|
Users:
|
|
|
|
What: /sys/class/udc/<udc>/function
|
|
Date: June 2017
|
|
KernelVersion: 4.13
|
|
Contact: Felipe Balbi <balbi@kernel.org>
|
|
Description:
|
|
Prints out name of currently running USB Gadget Driver.
|
|
Users:
|