Re[ltp] placing the Ericsson 3G modem in an X301 with a Sierra Wireless LTE modem

Bjørn Mork linux-thinkpad@linux-thinkpad.org
Wed, 23 May 2012 19:26:24 +0200


Elvair <elvair@gmail.com> writes:

> What kind of software do you use to make it all work ? is that possible to
> integrate it with access connections ?

I don't know what access connections is...

My usage is probably somewhat coloured by my primary interest in this:
Hacking on the thing ;-)

I use minicom for the AT speaking serial port, gpsd for the NMEA port [1], 
and libqmi-glib [2] for the QMI interface(s) (wwanY + /dev/cdc-wdmX).
And a couple of self made perl scripts as well when I want to send some
QMI command not yet supported by libqmi-glib.

I've also tested libqcdm against the Qualcomm DM port. And I have tried
Sierra Wireless' SDK, using a Gobi-driver emulating module on top of
/dev/cdc-wdmX.  But that is not anything I'm going to release.  It's
just too hacky.  Allowed me to do a firmware upgrade using the Linux 3.4
drivers instead of the Gobi drivers, but I don't recommend repeating
that excercise.  I am thinking more of reimplementing the QDL firmware
download tool instead.  It's pretty much the same protocol used for
enabling the old firmware-less Gobi cards [3], but a newer version.
Rather simple async-ppp-like thing.

Well, that's how *I* use it.  Back to more normal usage patterns...  The
device should already work just fine with ModemManager in PPP mode for
ordinary desktop usage.  And in the not-too-distant future also in
QMI/wwan mode.  Aleksander Morgado is working hard on libqmi-glib and I
am pretty sure the plan is to integrate it in ModemManager when it's
finished.

I did mention that there is a qmi_wwan driver [4] supporting this device
and a number of other Gobi and Gobi-like devices in Linux 3.4?  :-)



Bjørn

[1] stty raw -F /dev/ttyUSB1; echo \$GPS_START >/dev/ttyUSB1; gpsdctl add /dev/ttyUSB1
[2] https://gitorious.org/+lanedo/lanedo/libqmi-glib
[3] http://www.codon.org.uk/~mjg59/gobi_loader/
[4] http://cateee.net/lkddb/web-lkddb/USB_NET_QMI_WWAN.html