* [PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support
@ 2017-12-14 15:56 Daniele Palmas
2017-12-14 17:55 ` Bjørn Mork
2017-12-15 18:47 ` David Miller
0 siblings, 2 replies; 5+ messages in thread
From: Daniele Palmas @ 2017-12-14 15:56 UTC (permalink / raw)
To: Bjørn Mork; +Cc: netdev, Daniele Palmas
This patch adds support for Telit ME910 PID 0x1101.
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
---
Following lsusb output for 0x1101 composition
tty, tty, tty, rmnet
Bus 003 Device 015: ID 1bc7:1101 Telit Wireless Solutions
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1bc7 Telit Wireless Solutions
idProduct 0x1101
bcdDevice 0.00
iManufacturer 3 Telit
iProduct 2 Telit ME910
iSerial 4 5f97073d
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 122
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 1 Telit Configuration
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 254
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
---
drivers/net/usb/qmi_wwan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
index d2ca5a2..3000ddd 100644
--- a/drivers/net/usb/qmi_wwan.c
+++ b/drivers/net/usb/qmi_wwan.c
@@ -1211,6 +1211,7 @@ static const struct usb_device_id products[] = {
{QMI_FIXED_INTF(0x2357, 0x9000, 4)}, /* TP-LINK MA260 */
{QMI_QUIRK_SET_DTR(0x1bc7, 0x1040, 2)}, /* Telit LE922A */
{QMI_FIXED_INTF(0x1bc7, 0x1100, 3)}, /* Telit ME910 */
+ {QMI_FIXED_INTF(0x1bc7, 0x1101, 3)}, /* Telit ME910 dual modem */
{QMI_FIXED_INTF(0x1bc7, 0x1200, 5)}, /* Telit LE920 */
{QMI_QUIRK_SET_DTR(0x1bc7, 0x1201, 2)}, /* Telit LE920, LE920A4 */
{QMI_FIXED_INTF(0x1c9e, 0x9801, 3)}, /* Telewell TW-3G HSPA+ */
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support
2017-12-14 15:56 [PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support Daniele Palmas
@ 2017-12-14 17:55 ` Bjørn Mork
2017-12-14 21:28 ` Daniele Palmas
2017-12-15 18:47 ` David Miller
1 sibling, 1 reply; 5+ messages in thread
From: Bjørn Mork @ 2017-12-14 17:55 UTC (permalink / raw)
To: Daniele Palmas; +Cc: netdev
Daniele Palmas <dnlplm@gmail.com> writes:
> This patch adds support for Telit ME910 PID 0x1101.
>
> Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
> bInterfaceSubClass 254
Just curious: Is there some meaning hidden here?
Bjørn
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support
2017-12-14 17:55 ` Bjørn Mork
@ 2017-12-14 21:28 ` Daniele Palmas
2017-12-19 12:01 ` Daniele Palmas
0 siblings, 1 reply; 5+ messages in thread
From: Daniele Palmas @ 2017-12-14 21:28 UTC (permalink / raw)
To: Bjørn Mork; +Cc: netdev
2017-12-14 18:55 GMT+01:00 Bjørn Mork <bjorn@mork.no>:
> Daniele Palmas <dnlplm@gmail.com> writes:
>
>> This patch adds support for Telit ME910 PID 0x1101.
>>
>> Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
>
> Acked-by: Bjørn Mork <bjorn@mork.no>
>
>> bInterfaceSubClass 254
>
> Just curious: Is there some meaning hidden here?
>
That was puzzling also for me, so I checked the original QC
composition and had the same value. None of the documents I have has a
reference to this.
As far as I know, from the functional point of view, it is a normal AT
command port like the other one. But I'll try to investigate a bit
more..
Thanks,
Daniele
>
> Bjørn
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support
2017-12-14 15:56 [PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support Daniele Palmas
2017-12-14 17:55 ` Bjørn Mork
@ 2017-12-15 18:47 ` David Miller
1 sibling, 0 replies; 5+ messages in thread
From: David Miller @ 2017-12-15 18:47 UTC (permalink / raw)
To: dnlplm; +Cc: bjorn, netdev
From: Daniele Palmas <dnlplm@gmail.com>
Date: Thu, 14 Dec 2017 16:56:14 +0100
> This patch adds support for Telit ME910 PID 0x1101.
>
> Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support
2017-12-14 21:28 ` Daniele Palmas
@ 2017-12-19 12:01 ` Daniele Palmas
0 siblings, 0 replies; 5+ messages in thread
From: Daniele Palmas @ 2017-12-19 12:01 UTC (permalink / raw)
To: Bjørn Mork; +Cc: netdev
2017-12-14 22:28 GMT+01:00 Daniele Palmas <dnlplm@gmail.com>:
> 2017-12-14 18:55 GMT+01:00 Bjørn Mork <bjorn@mork.no>:
>> Daniele Palmas <dnlplm@gmail.com> writes:
>>
>>> This patch adds support for Telit ME910 PID 0x1101.
>>>
>>> Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
>>
>> Acked-by: Bjørn Mork <bjorn@mork.no>
>>
>>> bInterfaceSubClass 254
>>
>> Just curious: Is there some meaning hidden here?
>>
>
> That was puzzling also for me, so I checked the original QC
> composition and had the same value. None of the documents I have has a
> reference to this.
>
> As far as I know, from the functional point of view, it is a normal AT
> command port like the other one. But I'll try to investigate a bit
> more..
>
Confirmed, there is no difference between those two interfaces other
than the bInterfaceSubClass code.
Regards,
Daniele
> Thanks,
> Daniele
>
>>
>> Bjørn
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-12-19 12:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-14 15:56 [PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support Daniele Palmas
2017-12-14 17:55 ` Bjørn Mork
2017-12-14 21:28 ` Daniele Palmas
2017-12-19 12:01 ` Daniele Palmas
2017-12-15 18:47 ` David Miller
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).