ModemManager kills gpsd socket
David McCullough
david.mccullough at accelerated.com
Sun Sep 6 18:21:17 PDT 2015
Brent Sink wrote the following:
> Hello,
>
> I have a Huawei mu609 mPCIe module that has GSM + GPS, and I'm using
> ModemManager (and NetworkManager) to setup the connection to the network,
> and gpsd to retrieve the GPS coordinates from the module. This module
> creates 5 serial ports (ttyUSB0 - ttyUSB4). ttyUSB2 is used to send AT
> commands, and ttyUSB3 is the output of the GPS data. If I disable
> ModemManager, I can get the GPS data from gpspipe and from a gpsd socket
> that I have created.
>
> However, when ModemManager is enabled, I no longer get any data from the
> GPS. It seems like it just resets the device and gets rid of any
> configurations I made. I realize that I can also get the GPS data inside
> of ModemManager using --location-get-gps-nmea, but this has no connection
> to my gpsd socket.
>
> Am I doing something wrong? Is there a way to still get data via a gpsd
> socket while using ModemManager? Let me know if you need the debug logs.
> Thanks!
Pretty sure you want to look at '--location-enable-gps-unmanaged' to allow
other processes to manage the GPS data on the GPS data port without MM
getting in the way,
MM will still setup the GPS parameters though, but you should be able to
run gpsd on ttyUSB3,
Cheers,
Davidm
--
David McCullough, david.mccullough at accelerated.com, Ph: 0410 560 763
More information about the ModemManager-devel
mailing list