Documentation / ABI / stable / sysfs-class-udc


Based on kernel version 6.12.4. Page generated on 2024-12-12 21:01 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
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: