<div dir="ltr">Hi Adam,<div><br></div><div>First check to make sure you can get GPS location and not just 3gpp location, i.e. location from just the cell tower. Run 'mmcli -m 0 --location-status' and check capabilities. You'll want to see something like:</div><div><div>/org/freedesktop/ModemManager1/Modem/0</div><div> ----------------------------</div><div> Location | capabilities: '3gpp-lac-ci, gps-raw, gps-nmea'</div><div> | enabled: '3gpp-lac-ci, gps-raw, gps-nmea'</div><div> | signals: 'no'</div></div><div><br></div><div>If you see more than the 3gpp option then you should be able to run 'sudo mmcli -m 0 --location-enable-gps-raw'. This will setup the GPS but keep MM from grabbing the GPS stream. Now you should be able to point GPSd to the port the stream is on. See <a href="https://sigquit.wordpress.com/2012/03/29/enabling-gps-location-in-modemmanager/">https://sigquit.wordpress.com/2012/03/29/enabling-gps-location-in-modemmanager/</a> for more info. Hope this helps.</div><div><br></div><div>Cheers,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 5, 2017 at 7:30 PM, Adam Sherman <span dir="ltr"><<a href="mailto:adam@sherman.ca" target="_blank">adam@sherman.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a Sierra Wireless MC7700 in my Thinkpad X230 which I would like<br>
to use to provide location data to the rest of the system.<br>
<br>
mmcli 1.6.4<br>
qmicli 1.17.900<br>
<br>
Seems like ModemManager can successfully get a location, according to<br>
the output of --location-get.<br>
<br>
How, how do I get this data into, say, gpsd[1]?<br>
<br>
-------------------------<br>
System | device: '/sys/devices/pci0000:00/0000:<wbr>00:14.0/usb3/3-4'<br>
| drivers: 'qmi_wwan, qcserial'<br>
| plugin: 'Generic'<br>
| primary port: 'cdc-wdm0'<br>
| ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0<br>
(qmi), wwp0s20u4i8 (net)'<br>
-------------------------<br>
<br>
My device doesn't seem to be showing a ttyUSBn for GPS data.<br>
<br>
Thanks for your help,<br>
<br>
A.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Adam Sherman <<a href="mailto:adam@sherman.ca">adam@sherman.ca</a>><br>
______________________________<wbr>_________________<br>
ModemManager-devel mailing list<br>
<a href="mailto:ModemManager-devel@lists.freedesktop.org">ModemManager-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/modemmanager-<wbr>devel</a><br>
</font></span></blockquote></div><br></div>