]>
Commit | Line | Data |
---|---|---|
531aeb2a GKH |
1 | From 5417a7e482962952e622eabd60cd3600dd65dedf Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?J=C3=B6rgen=20Storvist?= <jorgen.storvist@gmail.com> | |
3 | Date: Mon, 13 May 2019 18:37:52 +0200 | |
4 | Subject: USB: serial: option: add support for Simcom SIM7500/SIM7600 RNDIS mode | |
5 | MIME-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ||
9 | From: Jörgen Storvist <jorgen.storvist@gmail.com> | |
10 | ||
11 | commit 5417a7e482962952e622eabd60cd3600dd65dedf upstream. | |
12 | ||
13 | Added IDs for Simcom SIM7500/SIM7600 series cellular module in RNDIS | |
14 | mode. Reserved the interface for ADB. | |
15 | ||
16 | T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 7 Spd=480 MxCh= 0 | |
17 | D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 | |
18 | P: Vendor=1e0e ProdID=9011 Rev=03.18 | |
19 | S: Manufacturer=SimTech, Incorporated | |
20 | S: Product=SimTech, Incorporated | |
21 | S: SerialNumber=0123456789ABCDEF | |
22 | C: #Ifs= 8 Cfg#= 1 Atr=a0 MxPwr=500mA | |
23 | I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=ff Driver=rndis_host | |
24 | I: If#=0x1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host | |
25 | I: If#=0x2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option | |
26 | I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option | |
27 | I: If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option | |
28 | I: If#=0x5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option | |
29 | I: If#=0x6 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option | |
30 | I: If#=0x7 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none) | |
31 | ||
32 | Signed-off-by: Jörgen Storvist <jorgen.storvist@gmail.com> | |
33 | Cc: stable <stable@vger.kernel.org> | |
34 | Signed-off-by: Johan Hovold <johan@kernel.org> | |
35 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
36 | ||
37 | --- | |
38 | drivers/usb/serial/option.c | 2 ++ | |
39 | 1 file changed, 2 insertions(+) | |
40 | ||
41 | --- a/drivers/usb/serial/option.c | |
42 | +++ b/drivers/usb/serial/option.c | |
43 | @@ -1767,6 +1767,8 @@ static const struct usb_device_id option | |
44 | { USB_DEVICE(ALINK_VENDOR_ID, SIMCOM_PRODUCT_SIM7100E), | |
45 | .driver_info = RSVD(5) | RSVD(6) }, | |
46 | { USB_DEVICE_INTERFACE_CLASS(0x1e0e, 0x9003, 0xff) }, /* Simcom SIM7500/SIM7600 MBIM mode */ | |
47 | + { USB_DEVICE_INTERFACE_CLASS(0x1e0e, 0x9011, 0xff), /* Simcom SIM7500/SIM7600 RNDIS mode */ | |
48 | + .driver_info = RSVD(7) }, | |
49 | { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X060S_X200), | |
50 | .driver_info = NCTRL(0) | NCTRL(1) | RSVD(4) }, | |
51 | { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X220_X500D), |