GPS compatible modems.

Marc Murphy marcmltd at marcm.co.uk
Tue Dec 2 13:10:50 PST 2014


Looks like I needed to go to the latest firmware for it to work ;)

Updated and put into QMI mode;
AT!ENTERCND="OEM password"
AT!UDPID=68A2
AT!RESET

Then I could enable the modem and start a GPS session;

# mmcli -L

Found 1 modems:
        /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Incorporated] MC7710

# mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id '45281d6b390b101c81d6e1d51fc3d41507fd9974')
  -------------------------
  Hardware |   manufacturer: 'Sierra Wireless, Incorporated'
           |          model: 'MC7710'
           |       revision: 'SWI9200X_03.05.24.00ap r5792 carmd-en-10527 2013/05/02 13:35:47'
           |      supported: 'gsm-umts
           |                  lte
           |                  gsm-umts, lte'
           |        current: 'gsm-umts, lte'
           |   equipment id: '358178040000111'
  -------------------------
  System   |         device: '/sys/devices/ocp.2/47400000.usb/47401400.usb/musb-hdrc.0.auto/usb1/1-1/1-1.2'
           |        drivers: 'qcserial, qmi_wwan'
           |         plugin: 'Gobi'
           |   primary port: 'cdc-wdm0'
           |          ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0 (qmi), wwan0 (net)'
  -------------------------
  Numbers  |           own : '44753XXXXXXX'
  -------------------------
  Status   |           lock: 'sim-pin2'
           | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'
           |          state: 'disabled'
           |    power state: 'on'
           |    access tech: 'unknown'
           | signal quality: '0' (cached)
  -------------------------
  Modes    |      supported: 'allowed: 2g, 3g, 4g; preferred: none'
           |        current: 'allowed: 2g, 3g, 4g; preferred: none'
  -------------------------
  Bands    |      supported: 'cdma-bc15-aws, dcs, egsm, pcs, g850, u2100, u1800, u900, eutran-i, eutran-iii, eutran-vii, eutran-viii, eutran-xx'
           |        current: 'cdma-bc15-aws, dcs, egsm, pcs, g850, u2100, u1800, u900, eutran-i, eutran-iii, eutran-vii, eutran-viii, eutran-xx'
  -------------------------
  IP       |      supported: 'ipv4, ipv6, ipv4v6'
  -------------------------
  3GPP     |           imei: '3581XXXXXXXXXXX'
           |  enabled locks: 'none'
           |    operator id: 'unknown'
           |  operator name: 'unknown'
           |   subscription: 'unknown'
           |   registration: 'unknown'
  -------------------------
  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'

  -------------------------
  Bearers  |          paths: 'none'

# mmcli -m 0 -e
successfully enabled the modem

# mmcli -m 0 --location-status

/org/freedesktop/ModemManager1/Modem/0
  ----------------------------
  Location | capabilities: '3gpp-lac-ci, gps-raw, gps-nmea'
           |      enabled: '3gpp-lac-ci'
           |      signals: 'no'
# mmcli -m 0 --location-enable-gps-nmea --location-enable-gps-raw
successfully setup location gathering
# mmcli -m 0 --location-get

/org/freedesktop/ModemManager1/Modem/0
  -------------------------
  3GPP location   | Not available
  -------------------------
  GPS NMEA traces | $GPGGA,,,,,,0,,,,,,,,*66
                  | $GNGSA,A,1,,,,,,,,,,,,,,,*00
                  | $GPGSA,A,1,,,,,,,,,,,,,,,*1E
                  | $GPVTG,,T,,M,,N,,K,N*2C
                  | $GPRMC,,V,,,,,,,,,,N*53
                  | $GNGNS,,,,,,NN,,,,,,*53
  -------------------------
  Raw GPS         | Not available
  -------------------------
  CDMA BS         | Not available

I'll attach a GPS antenna now and see if I can get a  lock.

Also I'll try the MU609 when it arrives.

Thanks for the feedback, now to write the app to get the NMEA from the MM dbus instead of the ttyUSB.

Regards
Marc

-----Original Message-----
From: Dan Williams [mailto:dcbw at redhat.com] 
Sent: 01 December 2014 17:07
To: Yegor Yefremov
Cc: Aleksander Morgado; David McCullough; Marc Murphy; modemmanager-devel at lists.freedesktop.org
Subject: Re: GPS compatible modems.

On Fri, 2014-11-28 at 08:47 +0100, Yegor Yefremov wrote:
> On Fri, Nov 28, 2014 at 12:22 AM, Aleksander Morgado 
> <aleksander at aleksander.es> wrote:
> > On Fri, Nov 28, 2014 at 12:15 AM, David McCullough 
> > <david.mccullough at accelecon.com> wrote:
> >> Aleksander Morgado wrote the following:
> >>> On Thu, Nov 27, 2014 at 11:05 PM, Marc Murphy <marcmltd at marcm.co.uk> wrote:
> >>> > I am on the ti release
> >>> > Linux version 3.12.10-ti2013.12.01
> >>> >
> >>> > And my buildroot is 2014.05 and I have brought mm, libqmi and libmbim up to the latest.
> >>> > MODEM_MANAGER_VERSION = 1.4.0
> >>> > LIBQMI_VERSION = 1.10.2
> >>> > LIBMBIM_VERSION = 1.10.0
> >>> >
> >>> > It would be good to know what you are on.  I will also grab the latest kernel and build to see if that makes a diference.
> >>>
> >>>
> >>> At least for the MC7710 running in QMI mode, you should be able to 
> >>> enable the GPS.
> >>
> >> Sierra Wireless MC7354 seems to be working (no GPS antenna at the 
> >> moment so can't be 100% sure but plenty og NMEA info).
> >
> >
> > Yes, for QMI modems is pretty straightforward: if they support the 
> > PDS service, then GPS support will work. And if they don't have the 
> > PDS service, we may still get it working via standard NMEA ttys (as 
> > with the cinterion PHS8).
> 
> What firmware version do you have on your MC7710? We got some cards 
> with old firmware, that wasn't working well with Linux, i.e. ttys were 
> not responding to AT commands. First with firmware updates I could get 
> the card working. Then I switched it to QMI mode and after that it was 
> working like a charm, comparable with it's successor MC73xx series.

I would strongly recommend QMI mode on the MC77xx (7700, 7710, 7750).
DirectIP mode is a bit sketchy on these.

Dan



More information about the ModemManager-devel mailing list