linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
@ 2023-09-05  7:37 Fabio Porcedda
  2023-09-06  9:02 ` Daniele Palmas
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Porcedda @ 2023-09-05  7:37 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Greg Kroah-Hartman, linux-usb, Daniele Palmas, Fabio Porcedda,
	stable

Add support for the following Telit LE910C4-WWX composition:

0x1035: TTY, TTY, ECM

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: stable@vger.kernel.org
---

Output of usb-devices:

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1bc7 ProdID=1035 Rev=00.00
S:  Manufacturer=Telit
S:  Product=LE910C4-WWX
S:  SerialNumber=e1b117c7
C:  #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=fe Prot=ff Driver=option
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 2 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=85(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:  If#= 3 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

---
 drivers/usb/serial/option.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 8ac98e60fff5..50c5fbe1c69c 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -1287,6 +1287,7 @@ static const struct usb_device_id option_ids[] = {
 	 .driver_info = NCTRL(0) | RSVD(3) },
 	{ USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1033, 0xff),	/* Telit LE910C1-EUX (ECM) */
 	 .driver_info = NCTRL(0) },
+	{ USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1035, 0xff) }, /* Telit LE910C4-WWX (ECM) */
 	{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE922_USBCFG0),
 	  .driver_info = RSVD(0) | RSVD(1) | NCTRL(2) | RSVD(3) },
 	{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE922_USBCFG1),
-- 
2.42.0


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

* Re: [PATCH] USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
  2023-09-05  7:37 [PATCH] USB: serial: option: add Telit LE910C4-WWX 0x1035 composition Fabio Porcedda
@ 2023-09-06  9:02 ` Daniele Palmas
  2023-10-13  9:27   ` Johan Hovold
  0 siblings, 1 reply; 3+ messages in thread
From: Daniele Palmas @ 2023-09-06  9:02 UTC (permalink / raw)
  To: Fabio Porcedda; +Cc: Johan Hovold, Greg Kroah-Hartman, linux-usb, stable

Il giorno mar 5 set 2023 alle ore 09:37 Fabio Porcedda
<fabio.porcedda@gmail.com> ha scritto:
>
> Add support for the following Telit LE910C4-WWX composition:
>
> 0x1035: TTY, TTY, ECM
>
> Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
> Cc: stable@vger.kernel.org

Reviewed-by: Daniele Palmas <dnlplm@gmail.com>

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

* Re: [PATCH] USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
  2023-09-06  9:02 ` Daniele Palmas
@ 2023-10-13  9:27   ` Johan Hovold
  0 siblings, 0 replies; 3+ messages in thread
From: Johan Hovold @ 2023-10-13  9:27 UTC (permalink / raw)
  To: Daniele Palmas; +Cc: Fabio Porcedda, Greg Kroah-Hartman, linux-usb, stable

On Wed, Sep 06, 2023 at 11:02:22AM +0200, Daniele Palmas wrote:
> Il giorno mar 5 set 2023 alle ore 09:37 Fabio Porcedda
> <fabio.porcedda@gmail.com> ha scritto:
> >
> > Add support for the following Telit LE910C4-WWX composition:
> >
> > 0x1035: TTY, TTY, ECM
> >
> > Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
> > Cc: stable@vger.kernel.org
> 
> Reviewed-by: Daniele Palmas <dnlplm@gmail.com>

Thanks for the patch and for the review.

I included the usb-devices output directly in the commit message when
applying.

Johan

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

end of thread, other threads:[~2023-10-13  9:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05  7:37 [PATCH] USB: serial: option: add Telit LE910C4-WWX 0x1035 composition Fabio Porcedda
2023-09-06  9:02 ` Daniele Palmas
2023-10-13  9:27   ` 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).