test failed using Huawei E3276

Bjørn Mork bjorn at mork.no
Wed Aug 29 00:19:55 PDT 2012


Tommy Cheng <tommy7765 at yahoo.com> writes:

> Hi 
>
> I was trying to test Huawei E3276 with the latest libqmi.  But unfortunately, it is not
> working.
>
>
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=12d1 ProdID=1506 Rev= 1.02
> S:  Manufacturer=HUAWEI Technology
> S:  Product=HUAWEI Mobile
> C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
> I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=usbserial_generic
> E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms

This interface should be supported by the option driver by default after
a very recent update from Huawei, adding among other things:

+       { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x12) },


> I:  If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=qmi_wwan
> E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
> I:* If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=qmi_wwan
> E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
> E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms

Are you sure this is a QMI interface? Do you have a Windows driver .inf
file indicating that it is?  I've not yet deciphered what Huawei use the
subclass for, but we should assume that there is an important difference
between subclass 1 and 2.

It may very well be some sort of NDIS interface, but we have no
indications that it supports QMI.

> I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usbserial_generic
> E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usbserial_generic
> E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

And these are usb-storage.  I assume they are bound to usbserial_generic
because you used the vendor and product options for usbserial?

So 4 interfaces, where only 2 of them are non-storage.  That does not
really look like any other QMI device I've seen. I believe they all have
at least 2 serial ports (AT + QCDM) in addition to QMI.

But anything is possible, of course.  The vendors are free to hide
whatever they want.



Bjørn


More information about the libqmi-devel mailing list