qmi testing?

Bjørn Mork bjorn at mork.no
Sun Jul 29 12:06:51 PDT 2012


Thomas Schäfer <tschaefer at t-online.de> writes:

> I did some investigations on ZTE 821D, I would like also provide more 
> informations about if qmi, if yes -  versions and so on.
>
> qmiver.pl
>
> does not work for me because of the Device::USB problems.
>
> qmitest.c does not compile because of glib.h problems which I could not solve.
>
>
> Any other hints?

Just a quick update on this for you and anyone else interested: The
qmi_wwan driver in Linux 3.6 will support dynamic device IDs.  This will
hopefully simplify testing of new QMI devices by enabling initial driver
support without patching and rebuilding the driver.

Usage is as always with dynamic IDs:

 modprobe qmi_wwan
 echo "vid pid" >/sys/bus/usb/drivers/qmi_wwan/new_id

Note that the driver after this will attempt to bind to *any* available
interface on the device, using "combined interface" mode.  Successful
binding does not imply QMI support.  That will still have to be tested
using e.g. qmicli.

"CDC ECM like" split data/control interfaces is not supported with
dynamic IDs.  I might add automatic detection of that later if
necessary.




Bjørn


More information about the libqmi-devel mailing list