HaaTa

Royal Kludge - Descriptors (NKRO?/6NKRO)

Jul 12th, 2015
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.60 KB | None | 0 0
  1. [root@x230mas hyatt]# lsusb -vd 0483:
  2. Bus 001 Device 005: ID 0483:5018 STMicroelectronics
  3. Device Descriptor:
  4. bLength 18
  5. bDescriptorType 1
  6. bcdUSB 2.00
  7. bDeviceClass 0
  8. bDeviceSubClass 0
  9. bDeviceProtocol 0
  10. bMaxPacketSize0 64
  11. idVendor 0x0483 STMicroelectronics
  12. idProduct 0x5018
  13. bcdDevice 2.00
  14. iManufacturer 1 CATEX TECH.
  15. iProduct 2 Tiny87
  16. iSerial 3 CA2014050001
  17. bNumConfigurations 1
  18. Configuration Descriptor:
  19. bLength 9
  20. bDescriptorType 2
  21. wTotalLength 98
  22. bNumInterfaces 3
  23. bConfigurationValue 1
  24. iConfiguration 0
  25. bmAttributes 0xa0
  26. (Bus Powered)
  27. Remote Wakeup
  28. MaxPower 200mA
  29. Interface Descriptor:
  30. bLength 9
  31. bDescriptorType 4
  32. bInterfaceNumber 0
  33. bAlternateSetting 0
  34. bNumEndpoints 2
  35. bInterfaceClass 3 Human Interface Device
  36. bInterfaceSubClass 1 Boot Interface Subclass
  37. bInterfaceProtocol 1 Keyboard
  38. iInterface 4 Keyboard
  39. HID Device Descriptor:
  40. bLength 9
  41. bDescriptorType 33
  42. bcdHID 1.10
  43. bCountryCode 0 Not supported
  44. bNumDescriptors 1
  45. bDescriptorType 34 Report
  46. wDescriptorLength 65
  47. Report Descriptor: (length is 65)
  48. Item(Global): Usage Page, data= [ 0x01 ] 1
  49. Generic Desktop Controls
  50. Item(Local ): Usage, data= [ 0x06 ] 6
  51. Keyboard
  52. Item(Main ): Collection, data= [ 0x01 ] 1
  53. Application
  54. Item(Global): Usage Page, data= [ 0x07 ] 7
  55. Keyboard
  56. Item(Local ): Usage Minimum, data= [ 0xe0 ] 224
  57. Control Left
  58. Item(Local ): Usage Maximum, data= [ 0xe7 ] 231
  59. GUI Right
  60. Item(Global): Logical Minimum, data= [ 0x00 ] 0
  61. Item(Global): Logical Maximum, data= [ 0x01 ] 1
  62. Item(Global): Report Size, data= [ 0x01 ] 1
  63. Item(Global): Report Count, data= [ 0x08 ] 8
  64. Item(Main ): Input, data= [ 0x02 ] 2
  65. Data Variable Absolute No_Wrap Linear
  66. Preferred_State No_Null_Position Non_Volatile Bitfield
  67. Item(Global): Report Count, data= [ 0x01 ] 1
  68. Item(Global): Report Size, data= [ 0x08 ] 8
  69. Item(Main ): Input, data= [ 0x01 ] 1
  70. Constant Array Absolute No_Wrap Linear
  71. Preferred_State No_Null_Position Non_Volatile Bitfield
  72. Item(Global): Report Count, data= [ 0x05 ] 5
  73. Item(Global): Report Size, data= [ 0x01 ] 1
  74. Item(Global): Usage Page, data= [ 0x08 ] 8
  75. LEDs
  76. Item(Local ): Usage Minimum, data= [ 0x01 ] 1
  77. NumLock
  78. Item(Local ): Usage Maximum, data= [ 0x05 ] 5
  79. Kana
  80. Item(Main ): Output, data= [ 0x02 ] 2
  81. Data Variable Absolute No_Wrap Linear
  82. Preferred_State No_Null_Position Non_Volatile Bitfield
  83. Item(Global): Report Count, data= [ 0x01 ] 1
  84. Item(Global): Report Size, data= [ 0x03 ] 3
  85. Item(Main ): Output, data= [ 0x01 ] 1
  86. Constant Array Absolute No_Wrap Linear
  87. Preferred_State No_Null_Position Non_Volatile Bitfield
  88. Item(Global): Report Count, data= [ 0x06 ] 6
  89. Item(Global): Report Size, data= [ 0x08 ] 8
  90. Item(Global): Logical Minimum, data= [ 0x00 ] 0
  91. Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
  92. Item(Global): Usage Page, data= [ 0x07 ] 7
  93. Keyboard
  94. Item(Local ): Usage Minimum, data= [ 0x00 ] 0
  95. No Event
  96. Item(Local ): Usage Maximum, data= [ 0xff 0x00 ] 255
  97. (null)
  98. Item(Main ): Input, data= [ 0x00 ] 0
  99. Data Array Absolute No_Wrap Linear
  100. Preferred_State No_Null_Position Non_Volatile Bitfield
  101. Item(Main ): End Collection, data=none
  102. Endpoint Descriptor:
  103. bLength 7
  104. bDescriptorType 5
  105. bEndpointAddress 0x82 EP 2 IN
  106. bmAttributes 3
  107. Transfer Type Interrupt
  108. Synch Type None
  109. Usage Type Data
  110. wMaxPacketSize 0x0008 1x 8 bytes
  111. bInterval 2
  112. Endpoint Descriptor:
  113. bLength 7
  114. bDescriptorType 5
  115. bEndpointAddress 0x05 EP 5 OUT
  116. bmAttributes 3
  117. Transfer Type Interrupt
  118. Synch Type None
  119. Usage Type Data
  120. wMaxPacketSize 0x0008 1x 8 bytes
  121. bInterval 1
  122. Interface Descriptor:
  123. bLength 9
  124. bDescriptorType 4
  125. bInterfaceNumber 1
  126. bAlternateSetting 0
  127. bNumEndpoints 2
  128. bInterfaceClass 3 Human Interface Device
  129. bInterfaceSubClass 0
  130. bInterfaceProtocol 0
  131. iInterface 5 Program
  132. HID Device Descriptor:
  133. bLength 9
  134. bDescriptorType 33
  135. bcdHID 1.00
  136. bCountryCode 0 Not supported
  137. bNumDescriptors 1
  138. bDescriptorType 34 Report
  139. wDescriptorLength 39
  140. Report Descriptor: (length is 39)
  141. Item(Global): Usage Page, data= [ 0x8c ] 140
  142. Bar Code Scanner Page (POS)
  143. Item(Local ): Usage, data= [ 0x01 ] 1
  144. (null)
  145. Item(Main ): Collection, data= [ 0x01 ] 1
  146. Application
  147. Item(Local ): Usage, data= [ 0x03 ] 3
  148. (null)
  149. Item(Global): Logical Minimum, data= [ 0x00 ] 0
  150. Item(Global): Logical Maximum, data= [ 0xff ] 255
  151. Item(Local ): Usage Minimum, data= [ 0x01 ] 1
  152. (null)
  153. Item(Local ): Usage Maximum, data= [ 0x08 ] 8
  154. (null)
  155. Item(Global): Report Size, data= [ 0x40 ] 64
  156. Item(Global): Report Count, data= [ 0x08 ] 8
  157. Item(Main ): Input, data= [ 0x02 ] 2
  158. Data Variable Absolute No_Wrap Linear
  159. Preferred_State No_Null_Position Non_Volatile Bitfield
  160. Item(Local ): Usage, data= [ 0x04 ] 4
  161. (null)
  162. Item(Global): Logical Minimum, data= [ 0x00 ] 0
  163. Item(Global): Logical Maximum, data= [ 0xff ] 255
  164. Item(Local ): Usage Minimum, data= [ 0x01 ] 1
  165. (null)
  166. Item(Local ): Usage Maximum, data= [ 0x08 ] 8
  167. (null)
  168. Item(Global): Report Size, data= [ 0x40 ] 64
  169. Item(Global): Report Count, data= [ 0x08 ] 8
  170. Item(Main ): Output, data= [ 0x02 ] 2
  171. Data Variable Absolute No_Wrap Linear
  172. Preferred_State No_Null_Position Non_Volatile Bitfield
  173. Item(Main ): End Collection, data=none
  174. Endpoint Descriptor:
  175. bLength 7
  176. bDescriptorType 5
  177. bEndpointAddress 0x84 EP 4 IN
  178. bmAttributes 3
  179. Transfer Type Interrupt
  180. Synch Type None
  181. Usage Type Data
  182. wMaxPacketSize 0x0040 1x 64 bytes
  183. bInterval 15
  184. Endpoint Descriptor:
  185. bLength 7
  186. bDescriptorType 5
  187. bEndpointAddress 0x01 EP 1 OUT
  188. bmAttributes 3
  189. Transfer Type Interrupt
  190. Synch Type None
  191. Usage Type Data
  192. wMaxPacketSize 0x0040 1x 64 bytes
  193. bInterval 3
  194. Interface Descriptor:
  195. bLength 9
  196. bDescriptorType 4
  197. bInterfaceNumber 2
  198. bAlternateSetting 0
  199. bNumEndpoints 1
  200. bInterfaceClass 3 Human Interface Device
  201. bInterfaceSubClass 1 Boot Interface Subclass
  202. bInterfaceProtocol 0
  203. iInterface 6 System Control
  204. HID Device Descriptor:
  205. bLength 9
  206. bDescriptorType 33
  207. bcdHID 1.10
  208. bCountryCode 0 Not supported
  209. bNumDescriptors 1
  210. bDescriptorType 34 Report
  211. wDescriptorLength 106
  212. Report Descriptor: (length is 106)
  213. Item(Global): Usage Page, data= [ 0x0c ] 12
  214. Consumer
  215. Item(Local ): Usage, data= [ 0x01 ] 1
  216. Consumer Control
  217. Item(Main ): Collection, data= [ 0x01 ] 1
  218. Application
  219. Item(Global): Report ID, data= [ 0x01 ] 1
  220. Item(Local ): Usage Minimum, data= [ 0x00 ] 0
  221. Unassigned
  222. Item(Local ): Usage Maximum, data= [ 0x3c 0x02 ] 572
  223. AC Format
  224. Item(Global): Logical Minimum, data= [ 0x00 ] 0
  225. Item(Global): Logical Maximum, data= [ 0x3c 0x02 ] 572
  226. Item(Global): Report Count, data= [ 0x01 ] 1
  227. Item(Global): Report Size, data= [ 0x10 ] 16
  228. Item(Main ): Input, data= [ 0x00 ] 0
  229. Data Array Absolute No_Wrap Linear
  230. Preferred_State No_Null_Position Non_Volatile Bitfield
  231. Item(Main ): End Collection, data=none
  232. Item(Global): Usage Page, data= [ 0x01 ] 1
  233. Generic Desktop Controls
  234. Item(Local ): Usage, data= [ 0x80 ] 128
  235. System Control
  236. Item(Main ): Collection, data= [ 0x01 ] 1
  237. Application
  238. Item(Global): Report ID, data= [ 0x02 ] 2
  239. Item(Local ): Usage Minimum, data= [ 0x81 ] 129
  240. System Power Down
  241. Item(Local ): Usage Maximum, data= [ 0x83 ] 131
  242. System Wake Up
  243. Item(Global): Logical Minimum, data= [ 0x00 ] 0
  244. Item(Global): Logical Maximum, data= [ 0x01 ] 1
  245. Item(Global): Report Size, data= [ 0x01 ] 1
  246. Item(Global): Report Count, data= [ 0x03 ] 3
  247. Item(Main ): Input, data= [ 0x02 ] 2
  248. Data Variable Absolute No_Wrap Linear
  249. Preferred_State No_Null_Position Non_Volatile Bitfield
  250. Item(Global): Report Count, data= [ 0x05 ] 5
  251. Item(Main ): Input, data= [ 0x01 ] 1
  252. Constant Array Absolute No_Wrap Linear
  253. Preferred_State No_Null_Position Non_Volatile Bitfield
  254. Item(Main ): End Collection, data=none
  255. Item(Global): Usage Page, data= [ 0x01 ] 1
  256. Generic Desktop Controls
  257. Item(Local ): Usage, data= [ 0x02 ] 2
  258. Mouse
  259. Item(Main ): Collection, data= [ 0x01 ] 1
  260. Application
  261. Item(Global): Report ID, data= [ 0x04 ] 4
  262. Item(Local ): Usage, data= [ 0x01 ] 1
  263. Pointer
  264. Item(Main ): Collection, data= [ 0x00 ] 0
  265. Physical
  266. Item(Global): Usage Page, data= [ 0x09 ] 9
  267. Buttons
  268. Item(Local ): Usage Minimum, data= [ 0x01 ] 1
  269. Button 1 (Primary)
  270. Item(Local ): Usage Maximum, data= [ 0x03 ] 3
  271. Button 3 (Tertiary)
  272. Item(Global): Logical Minimum, data= [ 0x00 ] 0
  273. Item(Global): Logical Maximum, data= [ 0x01 ] 1
  274. Item(Global): Report Size, data= [ 0x01 ] 1
  275. Item(Global): Report Count, data= [ 0x03 ] 3
  276. Item(Main ): Input, data= [ 0x02 ] 2
  277. Data Variable Absolute No_Wrap Linear
  278. Preferred_State No_Null_Position Non_Volatile Bitfield
  279. Item(Global): Report Size, data= [ 0x05 ] 5
  280. Item(Global): Report Count, data= [ 0x01 ] 1
  281. Item(Main ): Input, data= [ 0x01 ] 1
  282. Constant Array Absolute No_Wrap Linear
  283. Preferred_State No_Null_Position Non_Volatile Bitfield
  284. Item(Global): Usage Page, data= [ 0x01 ] 1
  285. Generic Desktop Controls
  286. Item(Local ): Usage, data= [ 0x30 ] 48
  287. Direction-X
  288. Item(Local ): Usage, data= [ 0x31 ] 49
  289. Direction-Y
  290. Item(Local ): Usage, data= [ 0x38 ] 56
  291. Wheel
  292. Item(Global): Logical Minimum, data= [ 0x81 ] 129
  293. Item(Global): Logical Maximum, data= [ 0x7f ] 127
  294. Item(Global): Report Size, data= [ 0x08 ] 8
  295. Item(Global): Report Count, data= [ 0x03 ] 3
  296. Item(Main ): Input, data= [ 0x06 ] 6
  297. Data Variable Relative No_Wrap Linear
  298. Preferred_State No_Null_Position Non_Volatile Bitfield
  299. Item(Main ): End Collection, data=none
  300. Item(Main ): End Collection, data=none
  301. Endpoint Descriptor:
  302. bLength 7
  303. bDescriptorType 5
  304. bEndpointAddress 0x83 EP 3 IN
  305. bmAttributes 3
  306. Transfer Type Interrupt
  307. Synch Type None
  308. Usage Type Data
  309. wMaxPacketSize 0x0020 1x 32 bytes
  310. bInterval 2
  311. can't get device qualifier: Resource temporarily unavailable
  312. can't get debug descriptor: Resource temporarily unavailable
  313. Device Status: 0x0000
  314. (Bus Powered)
Advertisement
Add Comment
Please, Sign In to add comment