1 From 61ab9efddf51cbc0d57356a4d650785cf5721fbe Mon Sep 17 00:00:00 2001
2 From: Ricardo Ribalda <ricardo.ribalda@gmail.com>
3 Date: Mon, 4 Aug 2014 11:11:49 +0200
4 Subject: [PATCH] net/usb/hso: Add support for Option GTM671WFS
8 [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless
9 [ 33.000452] hso 2-1.4:1.7: Not our interface
10 [ 33.001849] usbcore: registered new interface driver hso
12 root@qt5022:~# ls /dev/ttyHS*
13 /dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2 /dev/ttyHS3 /dev/ttyHS4
16 root@qt5022:~# lsusb -d 0af0: -vvv
18 Bus 002 Device 003: ID 0af0:9200 Option
23 bDeviceClass 255 Vendor Specific Class
24 bDeviceSubClass 255 Vendor Specific Subclass
25 bDeviceProtocol 255 Vendor Specific Protocol
27 idVendor 0x0af0 Option
30 iManufacturer 3 Option N.V.
31 iProduct 2 Globetrotter HSUPA Modem
34 Configuration Descriptor:
40 iConfiguration 1 Option Configuration
51 bInterfaceClass 255 Vendor Specific Class
52 bInterfaceSubClass 255 Vendor Specific Subclass
53 bInterfaceProtocol 255 Vendor Specific Protocol
58 bEndpointAddress 0x81 EP 1 IN
63 wMaxPacketSize 0x0200 1x 512 bytes
68 bEndpointAddress 0x01 EP 1 OUT
73 wMaxPacketSize 0x0200 1x 512 bytes
81 bInterfaceClass 255 Vendor Specific Class
82 bInterfaceSubClass 255 Vendor Specific Subclass
83 bInterfaceProtocol 255 Vendor Specific Protocol
88 bEndpointAddress 0x82 EP 2 IN
93 wMaxPacketSize 0x0200 1x 512 bytes
98 bEndpointAddress 0x02 EP 2 OUT
103 wMaxPacketSize 0x0200 1x 512 bytes
105 Interface Descriptor:
111 bInterfaceClass 255 Vendor Specific Class
112 bInterfaceSubClass 255 Vendor Specific Subclass
113 bInterfaceProtocol 255 Vendor Specific Protocol
118 bEndpointAddress 0x83 EP 3 IN
123 wMaxPacketSize 0x0200 1x 512 bytes
128 bEndpointAddress 0x03 EP 3 OUT
133 wMaxPacketSize 0x0200 1x 512 bytes
135 Interface Descriptor:
141 bInterfaceClass 255 Vendor Specific Class
142 bInterfaceSubClass 255 Vendor Specific Subclass
143 bInterfaceProtocol 255 Vendor Specific Protocol
148 bEndpointAddress 0x84 EP 4 IN
153 wMaxPacketSize 0x0200 1x 512 bytes
158 bEndpointAddress 0x04 EP 4 OUT
163 wMaxPacketSize 0x0200 1x 512 bytes
165 Interface Descriptor:
171 bInterfaceClass 255 Vendor Specific Class
172 bInterfaceSubClass 255 Vendor Specific Subclass
173 bInterfaceProtocol 255 Vendor Specific Protocol
178 bEndpointAddress 0x85 EP 5 IN
183 wMaxPacketSize 0x0200 1x 512 bytes
188 bEndpointAddress 0x05 EP 5 OUT
193 wMaxPacketSize 0x0200 1x 512 bytes
195 Interface Descriptor:
201 bInterfaceClass 255 Vendor Specific Class
202 bInterfaceSubClass 255 Vendor Specific Subclass
203 bInterfaceProtocol 255 Vendor Specific Protocol
208 bEndpointAddress 0x06 EP 6 OUT
213 wMaxPacketSize 0x0200 1x 512 bytes
218 bEndpointAddress 0x86 EP 6 IN
223 wMaxPacketSize 0x0200 1x 512 bytes
225 Interface Descriptor:
231 bInterfaceClass 255 Vendor Specific Class
232 bInterfaceSubClass 255 Vendor Specific Subclass
233 bInterfaceProtocol 255 Vendor Specific Protocol
238 bEndpointAddress 0x87 EP 7 IN
240 Transfer Type Interrupt
243 wMaxPacketSize 0x0040 1x 64 bytes
248 bEndpointAddress 0x88 EP 8 IN
253 wMaxPacketSize 0x0200 1x 512 bytes
258 bEndpointAddress 0x07 EP 7 OUT
263 wMaxPacketSize 0x0200 1x 512 bytes
265 Interface Descriptor:
271 bInterfaceClass 8 Mass Storage
272 bInterfaceSubClass 6 SCSI
273 bInterfaceProtocol 80 Bulk-Only
278 bEndpointAddress 0x08 EP 8 OUT
283 wMaxPacketSize 0x0200 1x 512 bytes
288 bEndpointAddress 0x89 EP 9 IN
293 wMaxPacketSize 0x0200 1x 512 bytes
295 Device Qualifier (for other device speed):
299 bDeviceClass 255 Vendor Specific Class
300 bDeviceSubClass 255 Vendor Specific Subclass
301 bDeviceProtocol 255 Vendor Specific Protocol
304 Device Status: 0x0001
307 Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
308 Acked-by: Dan Williams <dcbw@redhat.com>
309 Signed-off-by: David S. Miller <davem@davemloft.net>
311 drivers/net/usb/hso.c | 1 +
312 1 file changed, 1 insertion(+)
314 --- a/drivers/net/usb/hso.c
315 +++ b/drivers/net/usb/hso.c
316 @@ -469,6 +469,7 @@ static const struct usb_device_id hso_id
317 {USB_DEVICE(0x0af0, 0x8800)},
318 {USB_DEVICE(0x0af0, 0x8900)},
319 {USB_DEVICE(0x0af0, 0x9000)},
320 + {USB_DEVICE(0x0af0, 0x9200)}, /* Option GTM671WFS */
321 {USB_DEVICE(0x0af0, 0xd035)},
322 {USB_DEVICE(0x0af0, 0xd055)},
323 {USB_DEVICE(0x0af0, 0xd155)},