Linux-USB Archive mirror
 help / color / mirror / Atom feed
* [PATCH v4] USB: serial: option: add Fibocom FM135-GL variants
@ 2024-03-06 11:03 bolan wang
  2024-04-15  7:47 ` Johan Hovold
  0 siblings, 1 reply; 3+ messages in thread
From: bolan wang @ 2024-03-06 11:03 UTC (permalink / raw
  To: johan, gregkh, larsm17; +Cc: linux-usb, linux-kernel, bolan wang

Update the USB serial option driver support for the Fibocom
FM135-GL LTE modules.
- VID:PID 2cb7:0115, FM135-GL for laptop debug M.2 cards(with MBIM
interface for /Linux/Chrome OS)

0x0115: mbim, diag, at, pipe

Here are the outputs of usb-devices:
T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 16 Spd=480 MxCh= 0
D:  Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=2cb7 ProdID=0115 Rev=05.15
S:  Manufacturer=Fibocom Wireless Inc.
S:  Product=Fibocom Module
S:  SerialNumber=12345678
C:  #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=32ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=option
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
I:  If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=usbfs
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Signed-off-by: bolan wang <bolan.wang@fibocom.com>
---
 drivers/usb/serial/option.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 2ae124c49d44..c7ea7e5ec875 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -2267,6 +2267,8 @@ static const struct usb_device_id option_ids[] = {
 	{ USB_DEVICE_AND_INTERFACE_INFO(0x2cb7, 0x010b, 0xff, 0xff, 0x30) },	/* Fibocom FG150 Diag */
 	{ USB_DEVICE_AND_INTERFACE_INFO(0x2cb7, 0x010b, 0xff, 0, 0) },		/* Fibocom FG150 AT */
 	{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0111, 0xff) },			/* Fibocom FM160 (MBIM mode) */
+	{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0115, 0xff),			/* Fibocom FM135 (laptop MBIM) */
+	  .driver_info = RSVD(5) },
 	{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a0, 0xff) },			/* Fibocom NL668-AM/NL652-EU (laptop MBIM) */
 	{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a2, 0xff) },			/* Fibocom FM101-GL (laptop MBIM) */
 	{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a3, 0xff) },			/* Fibocom FM101-GL (laptop MBIM) */
-- 
2.34.1


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

* Re: [PATCH v4] USB: serial: option: add Fibocom FM135-GL variants
  2024-03-06 11:03 [PATCH v4] USB: serial: option: add Fibocom FM135-GL variants bolan wang
@ 2024-04-15  7:47 ` Johan Hovold
  2024-04-15  7:51   ` Johan Hovold
  0 siblings, 1 reply; 3+ messages in thread
From: Johan Hovold @ 2024-04-15  7:47 UTC (permalink / raw
  To: bolan wang; +Cc: gregkh, larsm17, linux-usb, linux-kernel

On Wed, Mar 06, 2024 at 07:03:39PM +0800, bolan wang wrote:
> Update the USB serial option driver support for the Fibocom
> FM135-GL LTE modules.
> - VID:PID 2cb7:0115, FM135-GL for laptop debug M.2 cards(with MBIM
> interface for /Linux/Chrome OS)
> 
> 0x0115: mbim, diag, at, pipe

> Signed-off-by: bolan wang <bolan.wang@fibocom.com>

Patch looks good, now applied.

Just one question: Don't you capitalise your name as "Bolan Wang"?

Johan

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

* Re: [PATCH v4] USB: serial: option: add Fibocom FM135-GL variants
  2024-04-15  7:47 ` Johan Hovold
@ 2024-04-15  7:51   ` Johan Hovold
  0 siblings, 0 replies; 3+ messages in thread
From: Johan Hovold @ 2024-04-15  7:51 UTC (permalink / raw
  To: bolan wang, Lars Melin; +Cc: gregkh, linux-usb, linux-kernel

On Mon, Apr 15, 2024 at 09:47:27AM +0200, Johan Hovold wrote:
> On Wed, Mar 06, 2024 at 07:03:39PM +0800, bolan wang wrote:
> > Update the USB serial option driver support for the Fibocom
> > FM135-GL LTE modules.
> > - VID:PID 2cb7:0115, FM135-GL for laptop debug M.2 cards(with MBIM
> > interface for /Linux/Chrome OS)
> > 
> > 0x0115: mbim, diag, at, pipe
> 
> > Signed-off-by: bolan wang <bolan.wang@fibocom.com>
> 
> Patch looks good, now applied.

And thanks for your help reviewing this one too, Lars.

Johan

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

end of thread, other threads:[~2024-04-15  7:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 11:03 [PATCH v4] USB: serial: option: add Fibocom FM135-GL variants bolan wang
2024-04-15  7:47 ` Johan Hovold
2024-04-15  7:51   ` 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 read-only IMAP folder(s) and NNTP newsgroup(s).