1 | $ lsmod | grep usbnet
|
---|
2 | usbnet 57344 1 cdc_ether
|
---|
3 | mii 16384 1 usbnet
|
---|
4 | $
|
---|
5 | $ sudo lsusb -v -d 1004:61fe
|
---|
6 |
|
---|
7 | Bus 002 Device 004: ID 1004:61fe LG Electronics, Inc. Optimus Android Phone [USB tethering mode]
|
---|
8 | Device Descriptor:
|
---|
9 | bLength 18
|
---|
10 | bDescriptorType 1
|
---|
11 | bcdUSB 2.00
|
---|
12 | bDeviceClass 239 Miscellaneous Device
|
---|
13 | bDeviceSubClass 2
|
---|
14 | bDeviceProtocol 1 Interface Association
|
---|
15 | bMaxPacketSize0 64
|
---|
16 | idVendor 0x1004 LG Electronics, Inc.
|
---|
17 | idProduct 0x61fe Optimus Android Phone [USB tethering mode]
|
---|
18 | bcdDevice 2.33
|
---|
19 | iManufacturer 2 LGE
|
---|
20 | iProduct 3 LG-E411g
|
---|
21 | iSerial 4 LGOTMS1a27ccc
|
---|
22 | bNumConfigurations 1
|
---|
23 | Configuration Descriptor:
|
---|
24 | bLength 9
|
---|
25 | bDescriptorType 2
|
---|
26 | wTotalLength 0x00c8
|
---|
27 | bNumInterfaces 6
|
---|
28 | bConfigurationValue 1
|
---|
29 | iConfiguration 0
|
---|
30 | bmAttributes 0xc0
|
---|
31 | Self Powered
|
---|
32 | MaxPower 500mA
|
---|
33 | Interface Association:
|
---|
34 | bLength 8
|
---|
35 | bDescriptorType 11
|
---|
36 | bFirstInterface 0
|
---|
37 | bInterfaceCount 2
|
---|
38 | bFunctionClass 2 Communications
|
---|
39 | bFunctionSubClass 2 Abstract (modem)
|
---|
40 | bFunctionProtocol 1 AT-commands (v.25ter)
|
---|
41 | iFunction 0
|
---|
42 | Interface Descriptor:
|
---|
43 | bLength 9
|
---|
44 | bDescriptorType 4
|
---|
45 | bInterfaceNumber 0
|
---|
46 | bAlternateSetting 0
|
---|
47 | bNumEndpoints 1
|
---|
48 | bInterfaceClass 2 Communications
|
---|
49 | bInterfaceSubClass 2 Abstract (modem)
|
---|
50 | bInterfaceProtocol 1 AT-commands (v.25ter)
|
---|
51 | iInterface 0
|
---|
52 | CDC Header:
|
---|
53 | bcdCDC 1.10
|
---|
54 | CDC Call Management:
|
---|
55 | bmCapabilities 0x00
|
---|
56 | bDataInterface 1
|
---|
57 | CDC ACM:
|
---|
58 | bmCapabilities 0x03
|
---|
59 | line coding and serial state
|
---|
60 | get/set/clear comm features
|
---|
61 | CDC Union:
|
---|
62 | bMasterInterface 0
|
---|
63 | bSlaveInterface 1
|
---|
64 | Endpoint Descriptor:
|
---|
65 | bLength 7
|
---|
66 | bDescriptorType 5
|
---|
67 | bEndpointAddress 0x82 EP 2 IN
|
---|
68 | bmAttributes 3
|
---|
69 | Transfer Type Interrupt
|
---|
70 | Synch Type None
|
---|
71 | Usage Type Data
|
---|
72 | wMaxPacketSize 0x0010 1x 16 bytes
|
---|
73 | bInterval 9
|
---|
74 | Interface Descriptor:
|
---|
75 | bLength 9
|
---|
76 | bDescriptorType 4
|
---|
77 | bInterfaceNumber 1
|
---|
78 | bAlternateSetting 0
|
---|
79 | bNumEndpoints 2
|
---|
80 | bInterfaceClass 10 CDC Data
|
---|
81 | bInterfaceSubClass 0
|
---|
82 | bInterfaceProtocol 0
|
---|
83 | iInterface 0
|
---|
84 | Endpoint Descriptor:
|
---|
85 | bLength 7
|
---|
86 | bDescriptorType 5
|
---|
87 | bEndpointAddress 0x81 EP 1 IN
|
---|
88 | bmAttributes 2
|
---|
89 | Transfer Type Bulk
|
---|
90 | Synch Type None
|
---|
91 | Usage Type Data
|
---|
92 | wMaxPacketSize 0x0200 1x 512 bytes
|
---|
93 | bInterval 0
|
---|
94 | Endpoint Descriptor:
|
---|
95 | bLength 7
|
---|
96 | bDescriptorType 5
|
---|
97 | bEndpointAddress 0x01 EP 1 OUT
|
---|
98 | bmAttributes 2
|
---|
99 | Transfer Type Bulk
|
---|
100 | Synch Type None
|
---|
101 | Usage Type Data
|
---|
102 | wMaxPacketSize 0x0200 1x 512 bytes
|
---|
103 | bInterval 0
|
---|
104 | Interface Descriptor:
|
---|
105 | bLength 9
|
---|
106 | bDescriptorType 4
|
---|
107 | bInterfaceNumber 2
|
---|
108 | bAlternateSetting 0
|
---|
109 | bNumEndpoints 2
|
---|
110 | bInterfaceClass 255 Vendor Specific Class
|
---|
111 | bInterfaceSubClass 255 Vendor Specific Subclass
|
---|
112 | bInterfaceProtocol 255 Vendor Specific Protocol
|
---|
113 | iInterface 0
|
---|
114 | Endpoint Descriptor:
|
---|
115 | bLength 7
|
---|
116 | bDescriptorType 5
|
---|
117 | bEndpointAddress 0x83 EP 3 IN
|
---|
118 | bmAttributes 2
|
---|
119 | Transfer Type Bulk
|
---|
120 | Synch Type None
|
---|
121 | Usage Type Data
|
---|
122 | wMaxPacketSize 0x0200 1x 512 bytes
|
---|
123 | bInterval 0
|
---|
124 | Endpoint Descriptor:
|
---|
125 | bLength 7
|
---|
126 | bDescriptorType 5
|
---|
127 | bEndpointAddress 0x02 EP 2 OUT
|
---|
128 | bmAttributes 2
|
---|
129 | Transfer Type Bulk
|
---|
130 | Synch Type None
|
---|
131 | Usage Type Data
|
---|
132 | wMaxPacketSize 0x0200 1x 512 bytes
|
---|
133 | bInterval 0
|
---|
134 | Interface Association:
|
---|
135 | bLength 8
|
---|
136 | bDescriptorType 11
|
---|
137 | bFirstInterface 3
|
---|
138 | bInterfaceCount 2
|
---|
139 | bFunctionClass 2 Communications
|
---|
140 | bFunctionSubClass 6 Ethernet Networking
|
---|
141 | bFunctionProtocol 0
|
---|
142 | iFunction 9 CDC ECM
|
---|
143 | Interface Descriptor:
|
---|
144 | bLength 9
|
---|
145 | bDescriptorType 4
|
---|
146 | bInterfaceNumber 3
|
---|
147 | bAlternateSetting 0
|
---|
148 | bNumEndpoints 1
|
---|
149 | bInterfaceClass 2 Communications
|
---|
150 | bInterfaceSubClass 6 Ethernet Networking
|
---|
151 | bInterfaceProtocol 0
|
---|
152 | iInterface 7 CDC Ethernet Control Model (ECM)
|
---|
153 | CDC Header:
|
---|
154 | bcdCDC 1.10
|
---|
155 | CDC Union:
|
---|
156 | bMasterInterface 3
|
---|
157 | bSlaveInterface 4
|
---|
158 | CDC Ethernet:
|
---|
159 | iMacAddress 6 025202323763
|
---|
160 | bmEthernetStatistics 0x00000000
|
---|
161 | wMaxSegmentSize 1514
|
---|
162 | wNumberMCFilters 0x0000
|
---|
163 | bNumberPowerFilters 0
|
---|
164 | Endpoint Descriptor:
|
---|
165 | bLength 7
|
---|
166 | bDescriptorType 5
|
---|
167 | bEndpointAddress 0x85 EP 5 IN
|
---|
168 | bmAttributes 3
|
---|
169 | Transfer Type Interrupt
|
---|
170 | Synch Type None
|
---|
171 | Usage Type Data
|
---|
172 | wMaxPacketSize 0x0040 1x 64 bytes
|
---|
173 | bInterval 4
|
---|
174 | Interface Descriptor:
|
---|
175 | bLength 9
|
---|
176 | bDescriptorType 4
|
---|
177 | bInterfaceNumber 4
|
---|
178 | bAlternateSetting 0
|
---|
179 | bNumEndpoints 0
|
---|
180 | bInterfaceClass 10 CDC Data
|
---|
181 | bInterfaceSubClass 0
|
---|
182 | bInterfaceProtocol 0
|
---|
183 | iInterface 0
|
---|
184 | Interface Descriptor:
|
---|
185 | bLength 9
|
---|
186 | bDescriptorType 4
|
---|
187 | bInterfaceNumber 4
|
---|
188 | bAlternateSetting 1
|
---|
189 | bNumEndpoints 2
|
---|
190 | bInterfaceClass 10 CDC Data
|
---|
191 | bInterfaceSubClass 0
|
---|
192 | bInterfaceProtocol 0
|
---|
193 | iInterface 8 CDC Ethernet Data
|
---|
194 | Endpoint Descriptor:
|
---|
195 | bLength 7
|
---|
196 | bDescriptorType 5
|
---|
197 | bEndpointAddress 0x03 EP 3 OUT
|
---|
198 | bmAttributes 2
|
---|
199 | Transfer Type Bulk
|
---|
200 | Synch Type None
|
---|
201 | Usage Type Data
|
---|
202 | wMaxPacketSize 0x0200 1x 512 bytes
|
---|
203 | bInterval 0
|
---|
204 | Endpoint Descriptor:
|
---|
205 | bLength 7
|
---|
206 | bDescriptorType 5
|
---|
207 | bEndpointAddress 0x84 EP 4 IN
|
---|
208 | bmAttributes 2
|
---|
209 | Transfer Type Bulk
|
---|
210 | Synch Type None
|
---|
211 | Usage Type Data
|
---|
212 | wMaxPacketSize 0x0200 1x 512 bytes
|
---|
213 | bInterval 0
|
---|
214 | Interface Descriptor:
|
---|
215 | bLength 9
|
---|
216 | bDescriptorType 4
|
---|
217 | bInterfaceNumber 5
|
---|
218 | bAlternateSetting 0
|
---|
219 | bNumEndpoints 2
|
---|
220 | bInterfaceClass 255 Vendor Specific Class
|
---|
221 | bInterfaceSubClass 66
|
---|
222 | bInterfaceProtocol 1
|
---|
223 | iInterface 0
|
---|
224 | Endpoint Descriptor:
|
---|
225 | bLength 7
|
---|
226 | bDescriptorType 5
|
---|
227 | bEndpointAddress 0x86 EP 6 IN
|
---|
228 | bmAttributes 2
|
---|
229 | Transfer Type Bulk
|
---|
230 | Synch Type None
|
---|
231 | Usage Type Data
|
---|
232 | wMaxPacketSize 0x0200 1x 512 bytes
|
---|
233 | bInterval 0
|
---|
234 | Endpoint Descriptor:
|
---|
235 | bLength 7
|
---|
236 | bDescriptorType 5
|
---|
237 | bEndpointAddress 0x04 EP 4 OUT
|
---|
238 | bmAttributes 2
|
---|
239 | Transfer Type Bulk
|
---|
240 | Synch Type None
|
---|
241 | Usage Type Data
|
---|
242 | wMaxPacketSize 0x0200 1x 512 bytes
|
---|
243 | bInterval 0
|
---|
244 | Device Qualifier (for other device speed):
|
---|
245 | bLength 10
|
---|
246 | bDescriptorType 6
|
---|
247 | bcdUSB 2.00
|
---|
248 | bDeviceClass 239 Miscellaneous Device
|
---|
249 | bDeviceSubClass 2
|
---|
250 | bDeviceProtocol 1 Interface Association
|
---|
251 | bMaxPacketSize0 64
|
---|
252 | bNumConfigurations 1
|
---|
253 | Device Status: 0x0000
|
---|
254 | (Bus Powered)
|
---|
255 |
|
---|