Coverage for linuxpy/usb/ids/klass.py: 0%

1 statements  

« prev     ^ index     » next       coverage.py v7.6.8, created at 2025-05-27 13:54 +0200

1# This file is part of the linuxpy project 

2# 

3# Copyright (c) 2023 Tiago Coutinho 

4# Distributed under the GPLv3 license. See LICENSE for more info. 

5 

6# This file has been generated by linuxpy.codegen.usbids 

7# Date: 2024-07-30 06:58:39.964788 

8# System: Linux 

9# Release: 6.8.0-39-generic 

10# Version: #39-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 21:49:14 UTC 2024 

11 

12klass = { 

13 0: {"name": "(Defined at Interface level)"}, 

14 1: { 

15 "children": {1: {"name": "Control Device"}, 2: {"name": "Streaming"}, 3: {"name": "MIDI Streaming"}}, 

16 "name": "Audio", 

17 }, 

18 2: { 

19 "children": { 

20 1: {"name": "Direct Line"}, 

21 2: { 

22 "children": { 

23 0: {"name": "None"}, 

24 1: {"name": "AT-commands (v.25ter)"}, 

25 2: {"name": "AT-commands (PCCA101)"}, 

26 3: {"name": "AT-commands (PCCA101 + wakeup)"}, 

27 4: {"name": "AT-commands (GSM)"}, 

28 5: {"name": "AT-commands (3G)"}, 

29 6: {"name": "AT-commands (CDMA)"}, 

30 254: {"name": "Defined by command set descriptor"}, 

31 255: {"name": "Vendor Specific (MSFT RNDIS?)"}, 

32 }, 

33 "name": "Abstract (modem)", 

34 }, 

35 3: {"name": "Telephone"}, 

36 4: {"name": "Multi-Channel"}, 

37 5: {"name": "CAPI Control"}, 

38 6: {"name": "Ethernet Networking"}, 

39 7: {"name": "ATM Networking"}, 

40 8: {"name": "Wireless Handset Control"}, 

41 9: {"name": "Device Management"}, 

42 10: {"name": "Mobile Direct Line"}, 

43 11: {"name": "OBEX"}, 

44 12: {"children": {7: {"name": "Ethernet Emulation (EEM)"}}, "name": "Ethernet Emulation"}, 

45 }, 

46 "name": "Communications", 

47 }, 

48 3: { 

49 "children": { 

50 0: { 

51 "children": {0: {"name": "None"}, 1: {"name": "Keyboard"}, 2: {"name": "Mouse"}}, 

52 "name": "No Subclass", 

53 }, 

54 1: { 

55 "children": {0: {"name": "None"}, 1: {"name": "Keyboard"}, 2: {"name": "Mouse"}}, 

56 "name": "Boot Interface Subclass", 

57 }, 

58 }, 

59 "name": "Human Interface Device", 

60 }, 

61 5: {"name": "Physical Interface Device"}, 

62 6: { 

63 "children": { 

64 1: {"children": {1: {"name": "Picture Transfer Protocol (PIMA 15470)"}}, "name": "Still Image Capture"} 

65 }, 

66 "name": "Imaging", 

67 }, 

68 7: { 

69 "children": { 

70 1: { 

71 "children": { 

72 0: {"name": "Reserved/Undefined"}, 

73 1: {"name": "Unidirectional"}, 

74 2: {"name": "Bidirectional"}, 

75 3: {"name": "IEEE 1284.4 compatible bidirectional"}, 

76 255: {"name": "Vendor Specific"}, 

77 }, 

78 "name": "Printer", 

79 } 

80 }, 

81 "name": "Printer", 

82 }, 

83 8: { 

84 "children": { 

85 1: { 

86 "children": { 

87 0: {"name": "Control/Bulk/Interrupt"}, 

88 1: {"name": "Control/Bulk"}, 

89 80: {"name": "Bulk-Only"}, 

90 }, 

91 "name": "RBC (typically Flash)", 

92 }, 

93 2: {"name": "SFF-8020i, MMC-2 (ATAPI)"}, 

94 3: {"name": "QIC-157"}, 

95 4: { 

96 "children": { 

97 0: {"name": "Control/Bulk/Interrupt"}, 

98 1: {"name": "Control/Bulk"}, 

99 80: {"name": "Bulk-Only"}, 

100 }, 

101 "name": "Floppy (UFI)", 

102 }, 

103 5: {"name": "SFF-8070i"}, 

104 6: { 

105 "children": { 

106 0: {"name": "Control/Bulk/Interrupt"}, 

107 1: {"name": "Control/Bulk"}, 

108 80: {"name": "Bulk-Only"}, 

109 }, 

110 "name": "SCSI", 

111 }, 

112 }, 

113 "name": "Mass Storage", 

114 }, 

115 9: { 

116 "children": { 

117 0: { 

118 "children": { 

119 0: {"name": "Full speed (or root) hub"}, 

120 1: {"name": "Single TT"}, 

121 2: {"name": "TT per port"}, 

122 }, 

123 "name": "Unused", 

124 } 

125 }, 

126 "name": "Hub", 

127 }, 

128 10: { 

129 "children": { 

130 0: { 

131 "children": { 

132 48: {"name": "I.430 ISDN BRI"}, 

133 49: {"name": "HDLC"}, 

134 50: {"name": "Transparent"}, 

135 80: {"name": "Q.921M"}, 

136 81: {"name": "Q.921"}, 

137 82: {"name": "Q.921TM"}, 

138 144: {"name": "V.42bis"}, 

139 145: {"name": "Q.932 EuroISDN"}, 

140 146: {"name": "V.120 V.24 rate ISDN"}, 

141 147: {"name": "CAPI 2.0"}, 

142 253: {"name": "Host Based Driver"}, 

143 254: {"name": "CDC PUF"}, 

144 255: {"name": "Vendor specific"}, 

145 }, 

146 "name": "Unused", 

147 } 

148 }, 

149 "name": "CDC Data", 

150 }, 

151 11: {"name": "Chip/SmartCard"}, 

152 13: {"name": "Content Security"}, 

153 14: { 

154 "children": { 

155 0: {"name": "Undefined"}, 

156 1: {"name": "Video Control"}, 

157 2: {"name": "Video Streaming"}, 

158 3: {"name": "Video Interface Collection"}, 

159 }, 

160 "name": "Video", 

161 }, 

162 15: {"name": "Personal Healthcare"}, 

163 16: { 

164 "children": { 

165 1: {"name": "AVData Control"}, 

166 2: {"name": "AVData Video Stream"}, 

167 3: {"name": "AVData Audio Stream"}, 

168 }, 

169 "name": "Audio/Video", 

170 }, 

171 17: {"name": "Billboard"}, 

172 18: {"name": "Type-C Bridge"}, 

173 19: {"name": "Bulk Display"}, 

174 20: { 

175 "children": { 

176 0: {"children": {1: {"name": "MCTCP 1.x"}, 2: {"name": "MCTCP 2.x"}}, "name": "MCTCP Management"}, 

177 1: {"children": {1: {"name": "MCTCP 1.x"}, 2: {"name": "MCTCP 2.x"}}, "name": "MCTCP Host"}, 

178 }, 

179 "name": "MCTCP over USB", 

180 }, 

181 60: {"name": "I3C"}, 

182 88: {"children": {66: {"name": "Controller"}}, "name": "Xbox"}, 

183 220: { 

184 "children": {1: {"children": {1: {"name": "USB2 Compliance"}}, "name": "Reprogrammable Diagnostics"}}, 

185 "name": "Diagnostic", 

186 }, 

187 224: { 

188 "children": { 

189 1: { 

190 "children": { 

191 1: {"name": "Bluetooth"}, 

192 2: {"name": "Ultra WideBand Radio Control"}, 

193 3: {"name": "RNDIS"}, 

194 }, 

195 "name": "Radio Frequency", 

196 }, 

197 2: { 

198 "children": { 

199 1: {"name": "Host Wire Adapter Control/Data Streaming"}, 

200 2: {"name": "Device Wire Adapter Control/Data Streaming"}, 

201 3: {"name": "Device Wire Adapter Isochronous Streaming"}, 

202 }, 

203 "name": "Wireless USB Wire Adapter", 

204 }, 

205 }, 

206 "name": "Wireless", 

207 }, 

208 239: { 

209 "children": { 

210 1: {"children": {1: {"name": "Microsoft ActiveSync"}, 2: {"name": "Palm Sync"}}, "name": "?"}, 

211 2: { 

212 "children": { 

213 1: {"name": "Interface Association"}, 

214 2: {"name": "Wire Adapter Multifunction Peripheral"}, 

215 }, 

216 "name": "?", 

217 }, 

218 3: {"children": {1: {"name": "Cable Based Association"}}, "name": "?"}, 

219 5: {"name": "USB3 Vision"}, 

220 }, 

221 "name": "Miscellaneous Device", 

222 }, 

223 254: { 

224 "children": { 

225 1: {"name": "Device Firmware Update"}, 

226 2: {"name": "IRDA Bridge"}, 

227 3: {"children": {1: {"name": "TMC"}, 2: {"name": "USB488"}}, "name": "Test and Measurement"}, 

228 }, 

229 "name": "Application Specific Interface", 

230 }, 

231 255: { 

232 "children": { 

233 255: {"children": {255: {"name": "Vendor Specific Protocol"}}, "name": "Vendor Specific Subclass"} 

234 }, 

235 "name": "Vendor Specific Class", 

236 }, 

237}