]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/3.10.87/usb-sierra-add-1199-68ab-device-id.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.10.87 / usb-sierra-add-1199-68ab-device-id.patch
CommitLineData
40ebb566
GKH
1From 74472233233f577eaa0ca6d6e17d9017b6e53150 Mon Sep 17 00:00:00 2001
2From: Dirk Behme <dirk.behme@de.bosch.com>
3Date: Mon, 27 Jul 2015 08:56:05 +0200
4Subject: USB: sierra: add 1199:68AB device ID
5
6From: Dirk Behme <dirk.behme@de.bosch.com>
7
8commit 74472233233f577eaa0ca6d6e17d9017b6e53150 upstream.
9
10Add support for the Sierra Wireless AR8550 device with
11USB descriptor 0x1199, 0x68AB.
12
13It is common with MC879x modules 1199:683c/683d which
14also are composite devices with 7 interfaces (0..6)
15and also MDM62xx based as the AR8550.
16
17The major difference are only the interface attributes
1802/02/01 on interfaces 3 and 4 on the AR8550. They are
19vendor specific ff/ff/ff on MC879x modules.
20
21lsusb reports:
22
23Bus 001 Device 004: ID 1199:68ab Sierra Wireless, Inc.
24Device Descriptor:
25 bLength 18
26 bDescriptorType 1
27 bcdUSB 2.00
28 bDeviceClass 0 (Defined at Interface level)
29 bDeviceSubClass 0
30 bDeviceProtocol 0
31 bMaxPacketSize0 64
32 idVendor 0x1199 Sierra Wireless, Inc.
33 idProduct 0x68ab
34 bcdDevice 0.06
35 iManufacturer 3 Sierra Wireless, Incorporated
36 iProduct 2 AR8550
37 iSerial 0
38 bNumConfigurations 1
39 Configuration Descriptor:
40 bLength 9
41 bDescriptorType 2
42 wTotalLength 198
43 bNumInterfaces 7
44 bConfigurationValue 1
45 iConfiguration 1 Sierra Configuration
46 bmAttributes 0xe0
47 Self Powered
48 Remote Wakeup
49 MaxPower 0mA
50 Interface Descriptor:
51 bLength 9
52 bDescriptorType 4
53 bInterfaceNumber 0
54 bAlternateSetting 0
55 bNumEndpoints 2
56 bInterfaceClass 255 Vendor Specific Class
57 bInterfaceSubClass 255 Vendor Specific Subclass
58 bInterfaceProtocol 255 Vendor Specific Protocol
59 iInterface 0
60 Endpoint Descriptor:
61 bLength 7
62 bDescriptorType 5
63 bEndpointAddress 0x81 EP 1 IN
64 bmAttributes 2
65 Transfer Type Bulk
66 Synch Type None
67 Usage Type Data
68 wMaxPacketSize 0x0200 1x 512 bytes
69 bInterval 32
70 Endpoint Descriptor:
71 bLength 7
72 bDescriptorType 5
73 bEndpointAddress 0x01 EP 1 OUT
74 bmAttributes 2
75 Transfer Type Bulk
76 Synch Type None
77 Usage Type Data
78 wMaxPacketSize 0x0200 1x 512 bytes
79 bInterval 32
80 Interface Descriptor:
81 bLength 9
82 bDescriptorType 4
83 bInterfaceNumber 1
84 bAlternateSetting 0
85 bNumEndpoints 2
86 bInterfaceClass 255 Vendor Specific Class
87 bInterfaceSubClass 255 Vendor Specific Subclass
88 bInterfaceProtocol 255 Vendor Specific Protocol
89 iInterface 0
90 Endpoint Descriptor:
91 bLength 7
92 bDescriptorType 5
93 bEndpointAddress 0x82 EP 2 IN
94 bmAttributes 2
95 Transfer Type Bulk
96 Synch Type None
97 Usage Type Data
98 wMaxPacketSize 0x0200 1x 512 bytes
99 bInterval 32
100 Endpoint Descriptor:
101 bLength 7
102 bDescriptorType 5
103 bEndpointAddress 0x02 EP 2 OUT
104 bmAttributes 2
105 Transfer Type Bulk
106 Synch Type None
107 Usage Type Data
108 wMaxPacketSize 0x0200 1x 512 bytes
109 bInterval 32
110 Interface Descriptor:
111 bLength 9
112 bDescriptorType 4
113 bInterfaceNumber 2
114 bAlternateSetting 0
115 bNumEndpoints 2
116 bInterfaceClass 255 Vendor Specific Class
117 bInterfaceSubClass 255 Vendor Specific Subclass
118 bInterfaceProtocol 255 Vendor Specific Protocol
119 iInterface 0
120 Endpoint Descriptor:
121 bLength 7
122 bDescriptorType 5
123 bEndpointAddress 0x83 EP 3 IN
124 bmAttributes 2
125 Transfer Type Bulk
126 Synch Type None
127 Usage Type Data
128 wMaxPacketSize 0x0200 1x 512 bytes
129 bInterval 32
130 Endpoint Descriptor:
131 bLength 7
132 bDescriptorType 5
133 bEndpointAddress 0x03 EP 3 OUT
134 bmAttributes 2
135 Transfer Type Bulk
136 Synch Type None
137 Usage Type Data
138 wMaxPacketSize 0x0200 1x 512 bytes
139 bInterval 32
140 Interface Descriptor:
141 bLength 9
142 bDescriptorType 4
143 bInterfaceNumber 3
144 bAlternateSetting 0
145 bNumEndpoints 3
146 bInterfaceClass 2 Communications
147 bInterfaceSubClass 2 Abstract (modem)
148 bInterfaceProtocol 1 AT-commands (v.25ter)
149 iInterface 0
150 Endpoint Descriptor:
151 bLength 7
152 bDescriptorType 5
153 bEndpointAddress 0x84 EP 4 IN
154 bmAttributes 3
155 Transfer Type Interrupt
156 Synch Type None
157 Usage Type Data
158 wMaxPacketSize 0x0040 1x 64 bytes
159 bInterval 5
160 Endpoint Descriptor:
161 bLength 7
162 bDescriptorType 5
163 bEndpointAddress 0x85 EP 5 IN
164 bmAttributes 2
165 Transfer Type Bulk
166 Synch Type None
167 Usage Type Data
168 wMaxPacketSize 0x0200 1x 512 bytes
169 bInterval 32
170 Endpoint Descriptor:
171 bLength 7
172 bDescriptorType 5
173 bEndpointAddress 0x04 EP 4 OUT
174 bmAttributes 2
175 Transfer Type Bulk
176 Synch Type None
177 Usage Type Data
178 wMaxPacketSize 0x0200 1x 512 bytes
179 bInterval 32
180 Interface Descriptor:
181 bLength 9
182 bDescriptorType 4
183 bInterfaceNumber 4
184 bAlternateSetting 0
185 bNumEndpoints 3
186 bInterfaceClass 2 Communications
187 bInterfaceSubClass 2 Abstract (modem)
188 bInterfaceProtocol 1 AT-commands (v.25ter)
189 iInterface 0
190 Endpoint Descriptor:
191 bLength 7
192 bDescriptorType 5
193 bEndpointAddress 0x86 EP 6 IN
194 bmAttributes 3
195 Transfer Type Interrupt
196 Synch Type None
197 Usage Type Data
198 wMaxPacketSize 0x0040 1x 64 bytes
199 bInterval 5
200 Endpoint Descriptor:
201 bLength 7
202 bDescriptorType 5
203 bEndpointAddress 0x87 EP 7 IN
204 bmAttributes 2
205 Transfer Type Bulk
206 Synch Type None
207 Usage Type Data
208 wMaxPacketSize 0x0200 1x 512 bytes
209 bInterval 32
210 Endpoint Descriptor:
211 bLength 7
212 bDescriptorType 5
213 bEndpointAddress 0x05 EP 5 OUT
214 bmAttributes 2
215 Transfer Type Bulk
216 Synch Type None
217 Usage Type Data
218 wMaxPacketSize 0x0200 1x 512 bytes
219 bInterval 32
220 Interface Descriptor:
221 bLength 9
222 bDescriptorType 4
223 bInterfaceNumber 5
224 bAlternateSetting 0
225 bNumEndpoints 3
226 bInterfaceClass 255 Vendor Specific Class
227 bInterfaceSubClass 255 Vendor Specific Subclass
228 bInterfaceProtocol 255 Vendor Specific Protocol
229 iInterface 0
230 Endpoint Descriptor:
231 bLength 7
232 bDescriptorType 5
233 bEndpointAddress 0x88 EP 8 IN
234 bmAttributes 3
235 Transfer Type Interrupt
236 Synch Type None
237 Usage Type Data
238 wMaxPacketSize 0x0040 1x 64 bytes
239 bInterval 5
240 Endpoint Descriptor:
241 bLength 7
242 bDescriptorType 5
243 bEndpointAddress 0x89 EP 9 IN
244 bmAttributes 2
245 Transfer Type Bulk
246 Synch Type None
247 Usage Type Data
248 wMaxPacketSize 0x0200 1x 512 bytes
249 bInterval 32
250 Endpoint Descriptor:
251 bLength 7
252 bDescriptorType 5
253 bEndpointAddress 0x06 EP 6 OUT
254 bmAttributes 2
255 Transfer Type Bulk
256 Synch Type None
257 Usage Type Data
258 wMaxPacketSize 0x0200 1x 512 bytes
259 bInterval 32
260 Interface Descriptor:
261 bLength 9
262 bDescriptorType 4
263 bInterfaceNumber 6
264 bAlternateSetting 0
265 bNumEndpoints 3
266 bInterfaceClass 255 Vendor Specific Class
267 bInterfaceSubClass 255 Vendor Specific Subclass
268 bInterfaceProtocol 255 Vendor Specific Protocol
269 iInterface 0
270 Endpoint Descriptor:
271 bLength 7
272 bDescriptorType 5
273 bEndpointAddress 0x8a EP 10 IN
274 bmAttributes 3
275 Transfer Type Interrupt
276 Synch Type None
277 Usage Type Data
278 wMaxPacketSize 0x0040 1x 64 bytes
279 bInterval 5
280 Endpoint Descriptor:
281 bLength 7
282 bDescriptorType 5
283 bEndpointAddress 0x8b EP 11 IN
284 bmAttributes 2
285 Transfer Type Bulk
286 Synch Type None
287 Usage Type Data
288 wMaxPacketSize 0x0200 1x 512 bytes
289 bInterval 32
290 Endpoint Descriptor:
291 bLength 7
292 bDescriptorType 5
293 bEndpointAddress 0x07 EP 7 OUT
294 bmAttributes 2
295 Transfer Type Bulk
296 Synch Type None
297 Usage Type Data
298 wMaxPacketSize 0x0200 1x 512 bytes
299 bInterval 32
300Device Qualifier (for other device speed):
301 bLength 10
302 bDescriptorType 6
303 bcdUSB 2.00
304 bDeviceClass 0 (Defined at Interface level)
305 bDeviceSubClass 0
306 bDeviceProtocol 0
307 bMaxPacketSize0 64
308 bNumConfigurations 1
309Device Status: 0x0001
310 Self Powered
311
312Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
313Cc: Lars Melin <larsm17@gmail.com>
314Signed-off-by: Johan Hovold <johan@kernel.org>
315Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
316
317---
318 drivers/usb/serial/sierra.c | 1 +
319 1 file changed, 1 insertion(+)
320
321--- a/drivers/usb/serial/sierra.c
322+++ b/drivers/usb/serial/sierra.c
323@@ -289,6 +289,7 @@ static const struct usb_device_id id_tab
324 { USB_DEVICE_AND_INTERFACE_INFO(0x1199, 0x68AA, 0xFF, 0xFF, 0xFF),
325 .driver_info = (kernel_ulong_t)&direct_ip_interface_blacklist
326 },
327+ { USB_DEVICE(0x1199, 0x68AB) }, /* Sierra Wireless AR8550 */
328 /* AT&T Direct IP LTE modems */
329 { USB_DEVICE_AND_INTERFACE_INFO(0x0F3D, 0x68AA, 0xFF, 0xFF, 0xFF),
330 .driver_info = (kernel_ulong_t)&direct_ip_interface_blacklist