sysfs-class-udc 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. What: /sys/class/udc/<udc>/a_alt_hnp_support
  2. Date: June 2011
  3. KernelVersion: 3.1
  4. Contact: Felipe Balbi <balbi@kernel.org>
  5. Description:
  6. Indicates if an OTG A-Host supports HNP at an alternate port.
  7. Users:
  8. What: /sys/class/udc/<udc>/a_hnp_support
  9. Date: June 2011
  10. KernelVersion: 3.1
  11. Contact: Felipe Balbi <balbi@kernel.org>
  12. Description:
  13. Indicates if an OTG A-Host supports HNP at this port.
  14. Users:
  15. What: /sys/class/udc/<udc>/b_hnp_enable
  16. Date: June 2011
  17. KernelVersion: 3.1
  18. Contact: Felipe Balbi <balbi@kernel.org>
  19. Description:
  20. Indicates if an OTG A-Host enabled HNP support.
  21. Users:
  22. What: /sys/class/udc/<udc>/current_speed
  23. Date: June 2011
  24. KernelVersion: 3.1
  25. Contact: Felipe Balbi <balbi@kernel.org>
  26. Description:
  27. Indicates the current negotiated speed at this port.
  28. Users:
  29. What: /sys/class/udc/<udc>/is_a_peripheral
  30. Date: June 2011
  31. KernelVersion: 3.1
  32. Contact: Felipe Balbi <balbi@kernel.org>
  33. Description:
  34. Indicates that this port is the default Host on an OTG session
  35. but HNP was used to switch roles.
  36. Users:
  37. What: /sys/class/udc/<udc>/is_otg
  38. Date: June 2011
  39. KernelVersion: 3.1
  40. Contact: Felipe Balbi <balbi@kernel.org>
  41. Description:
  42. Indicates that this port support OTG.
  43. Users:
  44. What: /sys/class/udc/<udc>/maximum_speed
  45. Date: June 2011
  46. KernelVersion: 3.1
  47. Contact: Felipe Balbi <balbi@kernel.org>
  48. Description:
  49. Indicates the maximum USB speed supported by this port.
  50. Users:
  51. What: /sys/class/udc/<udc>/soft_connect
  52. Date: June 2011
  53. KernelVersion: 3.1
  54. Contact: Felipe Balbi <balbi@kernel.org>
  55. Description:
  56. Allows users to disconnect data pullup resistors thus causing a
  57. logical disconnection from the USB Host.
  58. Users:
  59. What: /sys/class/udc/<udc>/srp
  60. Date: June 2011
  61. KernelVersion: 3.1
  62. Contact: Felipe Balbi <balbi@kernel.org>
  63. Description:
  64. Allows users to manually start Session Request Protocol.
  65. Users:
  66. What: /sys/class/udc/<udc>/state
  67. Date: June 2011
  68. KernelVersion: 3.1
  69. Contact: Felipe Balbi <balbi@kernel.org>
  70. Description:
  71. Indicates current state of the USB Device Controller. Valid
  72. states are: 'not-attached', 'attached', 'powered',
  73. 'reconnecting', 'unauthenticated', 'default', 'addressed',
  74. 'configured', and 'suspended'; however not all USB Device
  75. Controllers support reporting all states.
  76. Users:
  77. What: /sys/class/udc/<udc>/function
  78. Date: June 2017
  79. KernelVersion: 4.13
  80. Contact: Felipe Balbi <balbi@kernel.org>
  81. Description:
  82. Prints out name of currently running USB Gadget Driver.
  83. Users: