linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB: serial: option: add Simcom SIM7500/SIM7600 (MBIM mode)
@ 2018-12-12  7:39 Jörgen Storvist
  0 siblings, 0 replies; 2+ messages in thread
From: Jörgen Storvist @ 2018-12-12  7:39 UTC (permalink / raw)
  To: linux-usb; +Cc: johan

Added USB serial option driver support for Simcom SIM7500/SIM7600 series
cellular modules exposing MBIM interface (VID 0x1e0e,PID 0x9003)

Signed-off-by: Jörgen Storvist <jorgen.storvist@gmail.com>
---
usb-devices 
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 14 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1e0e ProdID=9003 Rev=03.18
S:  Manufacturer=SimTech, Incorporated
S:  Product=SimTech, Incorporated
S:  SerialNumber=0123456789ABCDEF
C:  #Ifs= 7 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
I:  If#= 5 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
I:  If#= 6 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim

diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index bf796c3..363a0c5 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -1760,6 +1760,7 @@ static const struct usb_device_id option_ids[] = {
 	{ USB_DEVICE_AND_INTERFACE_INFO(ALINK_VENDOR_ID, ALINK_PRODUCT_3GU, 0xff, 0xff, 0xff) },
 	{ USB_DEVICE(ALINK_VENDOR_ID, SIMCOM_PRODUCT_SIM7100E),
 	  .driver_info = RSVD(5) | RSVD(6) },
+	{ USB_DEVICE_INTERFACE_CLASS(0x1e0e, 0x9003, 0xff) }, /* Simcom SIM7500/SIM7600 series MBIM mode */
 	{ USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X060S_X200),
 	  .driver_info = NCTRL(0) | NCTRL(1) | RSVD(4) },
 	{ USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X220_X500D),

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* USB: serial: option: add Simcom SIM7500/SIM7600 (MBIM mode)
@ 2018-12-12 16:13 Johan Hovold
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2018-12-12 16:13 UTC (permalink / raw)
  To: Jörgen Storvist; +Cc: linux-usb, johan

On Wed, Dec 12, 2018 at 08:39:39AM +0100, Jörgen Storvist wrote:
> 
> Added USB serial option driver support for Simcom SIM7500/SIM7600 series
> cellular modules exposing MBIM interface (VID 0x1e0e,PID 0x9003)
> 
> Signed-off-by: Jörgen Storvist <jorgen.storvist@gmail.com>

Applied, thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-12 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-12  7:39 USB: serial: option: add Simcom SIM7500/SIM7600 (MBIM mode) Jörgen Storvist
  -- strict thread matches above, loose matches on Subject: below --
2018-12-12 16:13 Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).