Advertisement
Guest User

Untitled

a guest
Sep 18th, 2023
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.14 KB | None | 0 0
  1. usbconfig -d ugen2.2 dump_curr_config_desc
  2. ugen2.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus2, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)
  3.  
  4.  
  5. Configuration index 1
  6.  
  7. bLength = 0x0009
  8. bDescriptorType = 0x0002
  9. wTotalLength = 0x0076
  10. bNumInterfaces = 0x0003
  11. bConfigurationValue = 0x0002
  12. iConfiguration = 0x0000 <no string>
  13. bmAttributes = 0x00a0
  14. bMaxPower = 0x0001
  15.  
  16. Additional Descriptor
  17.  
  18. bLength = 0x08
  19. bDescriptorType = 0x0b
  20. bDescriptorSubType = 0x00
  21. RAW dump:
  22. 0x00 | 0x08, 0x0b, 0x00, 0x02, 0x02, 0x0e, 0x00, 0x08
  23.  
  24.  
  25. Interface 0
  26. bLength = 0x0009
  27. bDescriptorType = 0x0004
  28. bInterfaceNumber = 0x0000
  29. bAlternateSetting = 0x0000
  30. bNumEndpoints = 0x0001
  31. bInterfaceClass = 0x0002 <Communication device>
  32. bInterfaceSubClass = 0x000e
  33. bInterfaceProtocol = 0x0000
  34. iInterface = 0x0005 <NCM Network Control Model>
  35.  
  36. Additional Descriptor
  37.  
  38. bLength = 0x05
  39. bDescriptorType = 0x24
  40. bDescriptorSubType = 0x00
  41. RAW dump:
  42. 0x00 | 0x05, 0x24, 0x00, 0x10, 0x01
  43.  
  44.  
  45. Additional Descriptor
  46.  
  47. bLength = 0x0c
  48. bDescriptorType = 0x24
  49. bDescriptorSubType = 0x1b
  50. RAW dump:
  51. 0x00 | 0x0c, 0x24, 0x1b, 0x00, 0x01, 0x00, 0x04, 0x20,
  52. 0x08 | 0x80, 0xdc, 0x05, 0x20
  53.  
  54.  
  55. Additional Descriptor
  56.  
  57. bLength = 0x08
  58. bDescriptorType = 0x24
  59. bDescriptorSubType = 0x1c
  60. RAW dump:
  61. 0x00 | 0x08, 0x24, 0x1c, 0x00, 0x01, 0x10, 0xdc, 0x05
  62.  
  63.  
  64. Additional Descriptor
  65.  
  66. bLength = 0x05
  67. bDescriptorType = 0x24
  68. bDescriptorSubType = 0x06
  69. RAW dump:
  70. 0x00 | 0x05, 0x24, 0x06, 0x00, 0x01
  71.  
  72.  
  73. Endpoint 0
  74. bLength = 0x0007
  75. bDescriptorType = 0x0005
  76. bEndpointAddress = 0x0082 <IN>
  77. bmAttributes = 0x0003 <INTERRUPT>
  78. wMaxPacketSize = 0x0010
  79. bInterval = 0x0005
  80. bRefresh = 0x0000
  81. bSynchAddress = 0x0000
  82.  
  83.  
  84. Interface 1
  85. bLength = 0x0009
  86. bDescriptorType = 0x0004
  87. bInterfaceNumber = 0x0001
  88. bAlternateSetting = 0x0000
  89. bNumEndpoints = 0x0000
  90. bInterfaceClass = 0x000a <CDC-data>
  91. bInterfaceSubClass = 0x0000
  92. bInterfaceProtocol = 0x0002
  93. iInterface = 0x0006 <CDC Network Data>
  94.  
  95.  
  96. Interface 1 Alt 1
  97. bLength = 0x0009
  98. bDescriptorType = 0x0004
  99. bInterfaceNumber = 0x0001
  100. bAlternateSetting = 0x0001
  101. bNumEndpoints = 0x0002
  102. bInterfaceClass = 0x000a <CDC-data>
  103. bInterfaceSubClass = 0x0000
  104. bInterfaceProtocol = 0x0002
  105. iInterface = 0x0006 <CDC Network Data>
  106.  
  107. Endpoint 0
  108. bLength = 0x0007
  109. bDescriptorType = 0x0005
  110. bEndpointAddress = 0x0081 <IN>
  111. bmAttributes = 0x0002 <BULK>
  112. wMaxPacketSize = 0x0200
  113. bInterval = 0x0000
  114. bRefresh = 0x0000
  115. bSynchAddress = 0x0000
  116.  
  117. Endpoint 1
  118. bLength = 0x0007
  119. bDescriptorType = 0x0005
  120. bEndpointAddress = 0x0001 <OUT>
  121. bmAttributes = 0x0002 <BULK>
  122. wMaxPacketSize = 0x0200
  123. bInterval = 0x0000
  124. bRefresh = 0x0000
  125. bSynchAddress = 0x0000
  126.  
  127.  
  128. Interface 2
  129. bLength = 0x0009
  130. bDescriptorType = 0x0004
  131. bInterfaceNumber = 0x0002
  132. bAlternateSetting = 0x0000
  133. bNumEndpoints = 0x0002
  134. bInterfaceClass = 0x0008 <Mass storage>
  135. bInterfaceSubClass = 0x0006
  136. bInterfaceProtocol = 0x0050
  137. iInterface = 0x0004 <Mass Storage>
  138.  
  139. Endpoint 0
  140. bLength = 0x0007
  141. bDescriptorType = 0x0005
  142. bEndpointAddress = 0x0083 <IN>
  143. bmAttributes = 0x0002 <BULK>
  144. wMaxPacketSize = 0x0200
  145. bInterval = 0x0000
  146. bRefresh = 0x0000
  147. bSynchAddress = 0x0000
  148.  
  149. Endpoint 1
  150. bLength = 0x0007
  151. bDescriptorType = 0x0005
  152. bEndpointAddress = 0x0002 <OUT>
  153. bmAttributes = 0x0002 <BULK>
  154. wMaxPacketSize = 0x0200
  155. bInterval = 0x0001
  156. bRefresh = 0x0000
  157. bSynchAddress = 0x0000
  158.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement