<div dir="ltr"><div>Hi Dan,<br><br>Thanks a lot for the quick response. The lsusb output is as below<br><br>Bus 001 Device 008: ID 1199:9051 Sierra Wireless, Inc. <br><br></div>The verbose dump below<br><br>Rgds,<br>Gopa.<br>
<div><br>root:~# lsusb -v -d 1199:9051<br><br>Bus 001 Device 008: ID 1199:9051 Sierra Wireless, Inc. <br>Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br> bcdUSB 2.00<br> bDeviceClass 0 (Defined at Interface level)<br>
bDeviceSubClass 0 <br> bDeviceProtocol 0 <br> bMaxPacketSize0 64<br> idVendor 0x1199 Sierra Wireless, Inc.<br> idProduct 0x9051 <br> bcdDevice 0.06<br> iManufacturer 1 Sierra Wireless, Incorporated<br>
iProduct 2 AirCard 340U<br> iSerial 3 013323000787466<br> bNumConfigurations 2<br> Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br> wTotalLength 183<br>
bNumInterfaces 5<br> bConfigurationValue 1<br> iConfiguration 0 <br> bmAttributes 0x80<br> (Bus Powered)<br> MaxPower 500mA<br> Interface Descriptor:<br> bLength 9<br>
bDescriptorType 4<br> bInterfaceNumber 2<br> bAlternateSetting 0<br> bNumEndpoints 3<br> bInterfaceClass 255 Vendor Specific Class<br> bInterfaceSubClass 0 <br>
bInterfaceProtocol 0 <br> iInterface 0 <br> ** UNRECOGNIZED: 05 24 00 10 01<br> ** UNRECOGNIZED: 05 24 01 00 00<br> ** UNRECOGNIZED: 04 24 02 02<br> ** UNRECOGNIZED: 05 24 06 00 00<br>
Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x82 EP 2 IN<br> bmAttributes 3<br> Transfer Type Interrupt<br>
Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x000c 1x 12 bytes<br> bInterval 9<br> Endpoint Descriptor:<br> bLength 7<br>
bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br>
wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x01 EP 1 OUT<br>
bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br>
Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 3<br> bAlternateSetting 0<br> bNumEndpoints 3<br> bInterfaceClass 255 Vendor Specific Class<br>
bInterfaceSubClass 0 <br> bInterfaceProtocol 0 <br> iInterface 0 <br> ** UNRECOGNIZED: 05 24 00 10 01<br> ** UNRECOGNIZED: 05 24 01 00 00<br> ** UNRECOGNIZED: 04 24 02 02<br>
** UNRECOGNIZED: 05 24 06 00 00<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x84 EP 4 IN<br> bmAttributes 3<br>
Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x000c 1x 12 bytes<br> bInterval 9<br>
Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x83 EP 3 IN<br> bmAttributes 2<br> Transfer Type Bulk<br>
Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br> Endpoint Descriptor:<br> bLength 7<br>
bDescriptorType 5<br> bEndpointAddress 0x02 EP 2 OUT<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br>
wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 8<br>
bAlternateSetting 0<br> bNumEndpoints 3<br> bInterfaceClass 255 Vendor Specific Class<br> bInterfaceSubClass 255 Vendor Specific Subclass<br> bInterfaceProtocol 255 Vendor Specific Protocol<br>
iInterface 0 <br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x86 EP 6 IN<br> bmAttributes 3<br>
Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x000a 1x 10 bytes<br> bInterval 9<br>
Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x85 EP 5 IN<br> bmAttributes 2<br> Transfer Type Bulk<br>
Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br> Endpoint Descriptor:<br> bLength 7<br>
bDescriptorType 5<br> bEndpointAddress 0x03 EP 3 OUT<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br>
wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 9<br>
bAlternateSetting 0<br> bNumEndpoints 2<br> bInterfaceClass 8 Mass Storage<br> bInterfaceSubClass 6 SCSI<br> bInterfaceProtocol 80 Bulk-Only<br> iInterface 20 Mass Storage<br>
Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x87 EP 7 IN<br> bmAttributes 2<br> Transfer Type Bulk<br>
Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br> Endpoint Descriptor:<br> bLength 7<br>
bDescriptorType 5<br> bEndpointAddress 0x04 EP 4 OUT<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br>
wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 1<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 0<br>
bAlternateSetting 0<br> bNumEndpoints 2<br> bInterfaceClass 255 Vendor Specific Class<br> bInterfaceSubClass 255 Vendor Specific Subclass<br> bInterfaceProtocol 255 Vendor Specific Protocol<br>
iInterface 0 <br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x88 EP 8 IN<br> bmAttributes 2<br>
Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br> Endpoint Descriptor:<br>
bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x05 EP 5 OUT<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br>
Usage Type Data<br> wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br> Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br>
wTotalLength 82<br> bNumInterfaces 2<br> bConfigurationValue 2<br> iConfiguration 0 <br> bmAttributes 0x80<br> (Bus Powered)<br> MaxPower 500mA<br>
Interface Association:<br> bLength 8<br> bDescriptorType 11<br> bFirstInterface 12<br> bInterfaceCount 2<br> bFunctionClass 2 Communications<br> bFunctionSubClass 14 <br>
bFunctionProtocol 0 <br> iFunction 0 <br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 12<br> bAlternateSetting 0<br>
bNumEndpoints 1<br> bInterfaceClass 2 Communications<br> bInterfaceSubClass 14 <br> bInterfaceProtocol 0 <br> iInterface 0 <br> CDC Header:<br> bcdCDC 1.10<br>
CDC MBIM:<br> bcdMBIMVersion 1.00<br> wMaxControlMessage 4096<br> bNumberFilters 16<br> bMaxFilterSize 128<br> wMaxSegmentSize 1430<br> bmNetworkCapabilities 0x20<br>
8-byte ntb input size<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x82 EP 2 IN<br> bmAttributes 3<br>
Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0040 1x 64 bytes<br> bInterval 9<br>
Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 13<br> bAlternateSetting 0<br> bNumEndpoints 0<br> bInterfaceClass 10 CDC Data<br>
bInterfaceSubClass 0 Unused<br> bInterfaceProtocol 2 <br> iInterface 0 <br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 13<br>
bAlternateSetting 1<br> bNumEndpoints 2<br> bInterfaceClass 10 CDC Data<br> bInterfaceSubClass 0 Unused<br> bInterfaceProtocol 2 <br> iInterface 0 <br>
Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br> bmAttributes 2<br> Transfer Type Bulk<br>
Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br> Endpoint Descriptor:<br> bLength 7<br>
bDescriptorType 5<br> bEndpointAddress 0x01 EP 1 OUT<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br>
wMaxPacketSize 0x0200 1x 512 bytes<br> bInterval 0<br>Device Qualifier (for other device speed):<br> bLength 10<br> bDescriptorType 6<br> bcdUSB 2.00<br>
bDeviceClass 0 (Defined at Interface level)<br> bDeviceSubClass 0 <br> bDeviceProtocol 0 <br> bMaxPacketSize0 64<br> bNumConfigurations 2<br>Device Status: 0x0000<br> (Bus Powered)<br>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 13, 2014 at 12:19 PM, Dan Williams <span dir="ltr"><<a href="mailto:dcbw@redhat.com" target="_blank">dcbw@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On Wed, 2014-08-13 at 11:24 -0700, Gopakumar Choorakkot Edakkunni wrote:<br>
> Hi,<br>
><br>
> I have a linux system running libqmi-1.0 which used to work just fine<br>
with<br>
> the previous revision of Netgear. But after I upgraded the firmware to<br>
the<br>
> version mentioned in the subject, the wwan interface gets created just<br>
> fine. If I do a tcpdump I can see DHCP packets going out of wwan, but<br>
there<br>
> is absolutely nothing coming back in on wwan (ifconfig wwan Rx packets<br>
is<br>
> zero).<br>
><br>
> root:/# qmicli -d /dev/cdc-wdm0 --dms-get-revision<br>
> [/dev/cdc-wdm0] Device revision retrieved:<br>
> Revision: 'NTG9X15C_01.13.12.13 r18963 ntgrbc-fwbuild1 2014/05/26<br>
> 12:30:18'<br>
><br>
> In the netgear website (<br>
> <a href="http://support.netgear.com/product/AirCard+340U+$28AT$26T$29" target="_blank">http://support.netgear.com/product/AirCard+340U+$28AT$26T$29</a>), they<br>
have a<br>
> new Gobiserial.c driver for Linux, does anyone know if theres anything<br>
in<br>
> there that needs to be brought into libqmi to get it working ? Or does<br>
the<br>
> latest libqmi have anything that might already take care of this ?<br>
<br>
</div></div>What is the USB VID/PID of your device? There are apparently a few of<br>
them depending on what mode the modem is in.<br>
<br>
Two possible theories:<br>
<br>
a) newer devices, especially Sierra ones, sometimes implement multiple<br>
QMI/Ethernet interfaces, but only some of those actually work for data.<br>
That could be what you're hitting here. We'd need the VID/PID to figure<br>
this out though.<br>
<br>
b) On "9x15" devices, the Netgear GobiNet driver uses the WDA service's<br>
Set Data Format call instead of the CTL service. Not sure if that makes<br>
a difference here or not, but maybe new devices expect the WDA mechanism<br>
instead, and so the data format is not getting switched to Ethernet?<br>
<br>
(Also it's cute that they grabbed Bjorn's header fixup workaround and<br>
added it to the GobiNet driver...)<br>
<br>
Bjorn: I see that the Sierra drivers expect the following layout<br>
<br>
Serial:<br>
1199:68A2 - blacklisted: 8, 10, 11, 19, 20<br>
1199:68C0 - blacklisted: 8, 10, 11<br>
1199:9057 - blacklisted: 0, 1, 5, 8, 10, 11 ("Netgear AC341U IPT2 mode")<br>
<br>
Net:<br>
1199:68A2 - 8, 10, 19 ("MDM9x15 PDNs")<br>
1199:68C0 - 8, 10, 19<br>
1199:9057 - 8, 10, 11<br>
<br>
Which means that qmi_wwan is missing:<br>
<br>
1199:68a2: 10<br>
1199:68c0: 19<br>
1199:9057: 10, 11<br>
<br>
No idea whether adding these to qmi_wwan would be useful or not, you've<br>
done more work than I with these devices, and I'm not sure where we<br>
landed on whether or not to expose the non-functional QMI interfaces<br>
through qmi_wwan.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
<br>
<br>
</font></span></blockquote></div><br></div>