Re: Leveraging GPS in MC7700

2017-02-08 Thread Adam Sherman
but not always present. When it is not, the character device doesn't exist. What is initializing that? MM or the kernel itself? A. -- Adam Sherman ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Re: Leveraging GPS in MC7700

2017-02-07 Thread Adam Sherman
On 2017-02-06 11:06 AM, Bjørn Mork wrote: > I'm using a hackish hook like this to let gpsd autmatically do the > $GPS_START and $GPS_STOP as required. I.e. only start the GPS when there > are gpsd clients connected: Thanks for the script, I think it is working quite well. A. --

qmi-proxy Hangs When GPS Port Used (Was Re: Leveraging GPS in MC7700)

2017-02-07 Thread Adam Sherman
Moving this to a separate thread. Maybe it should be moved to the libqmi-devel list? On 6 February 2017 at 11:54, Adam Sherman wrote: > On 2017-02-06 11:28 AM, Aleksander Morgado wrote: > >> At some point after adding the rule change, qmi-proxy seems to peg one > >>

Re: Leveraging GPS in MC7700

2017-02-06 Thread Adam Sherman
On 2017-02-06 11:06 AM, Bjørn Mork wrote: > I'm using a hackish hook like this to let gpsd autmatically do the > $GPS_START and $GPS_STOP as required. Thank you for proving that, it seems to work great! A. -- Adam Sherman signature.asc Description: OpenPGP digita

Re: Leveraging GPS in MC7700

2017-02-06 Thread Adam Sherman
On 2017-02-06 02:08 PM, Adam Sherman wrote: > In this test, qmi-proxy did not deadlock. I rill try again right now. I think I can reproduce it by sending the AT command to start GPS to the TTY. Log of that, attached. A. -- Adam Sherman qmi-proxy.log.bz2 Description: application/b

Re: Leveraging GPS in MC7700

2017-02-06 Thread Adam Sherman
ng until I performed a -9 on qmi-proxy. So, after manually starting the proxy and ModemManager, I see the same "Failed to find primary AT port" message in syslog. Then I did a suspend/resume cycle and it eventually found the QMI port, then brought the network up. In this test, qmi-proxy

Re: Leveraging GPS in MC7700

2017-02-06 Thread Adam Sherman
Sorry for the flood of emails! I'm trying to convey information as it comes along. On 2017-02-06 10:54 AM, Adam Sherman wrote: >> Output of mmcli shows ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0 >> (qmi), wwp0s20u4i8 (net)'. > After adding the udev rules, mmcli

Re: Leveraging GPS in MC7700

2017-02-06 Thread Adam Sherman
On 2017-02-06 09:40 AM, Adam Sherman wrote: >> Output of mmcli shows ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0 >> (qmi), wwp0s20u4i8 (net)'. > After adding the udev rules, mmcli shows ports: 'ttyUSB0 (unknown), > ttyUSB1 (unknown), ttyUSB2 (unknown), c

Re: Leveraging GPS in MC7700

2017-02-06 Thread Adam Sherman
On 2017-02-06 09:20 AM, Adam Sherman wrote: > Output of mmcli shows ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0 > (qmi), wwp0s20u4i8 (net)'. After adding the udev rules, mmcli shows ports: 'ttyUSB0 (unknown), ttyUSB1 (unknown), ttyUSB2 (unknown), cdc-wdm0 (qmi), wwp0s20u4

Re: Leveraging GPS in MC7700

2017-02-06 Thread Adam Sherman
t /etc/udev/rules.d/77-mm-MC7700-ignore-TTYs.rules ATTRS{idVendor}=="0f3d", ATTRS{idProduct}=="68a2", SUBSYSTEM=="tty", ENV{ID_MM_PORT_IGNORE}="1" Then I should issue the AT commands to ttyUSB2. Going to test this right away. Thanks, A. [1]: https://sigquit.wo

Re: Leveraging GPS in MC7700

2017-02-06 Thread Adam Sherman
Manager and you would be able to use > the ttys as you wish at the same time. And none of those ttys are required for the network data? A. -- Adam Sherman ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Re: Leveraging GPS in MC7700

2017-02-06 Thread Adam Sherman
es received from another TTY; it > just isn't implemented in ModemManager. We could implement the > "unmanaged gps" location support in the Sierra plugin to handle that > usecase. If I need to use the GPS in this card right now, what does

Re: Leveraging GPS in MC7700

2017-02-06 Thread Adam Sherman
m I understanding correctly that there is no way to get GPS data via a serial device, with this card? A. -- Adam Sherman ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Re: Leveraging GPS in MC7700

2017-02-05 Thread Adam Sherman
PGSV,4,4,16,09210132,,,*74 | $GPVTG,,T,,M,,N,,K,N*2C | $PQXFI,,,,,,*56 - Raw GPS | Not available - CDMA BS | Not available So I'm quite confused. Kernel: 4.4.0-53-generic #74-Ubuntu Thanks for your time, A. -- Adam Sherman ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Re: Leveraging GPS in MC7700

2017-02-05 Thread Adam Sherman
ng NMEA from --location-get: $ mmcli -m 8 --location-get /org/freedesktop/ModemManager1/Modem/8 - 3GPP location | Not available - GPS NMEA traces | $GPGGA,0346***REDACTED,,*61 - Raw GPS | Not available --

Leveraging GPS in MC7700

2017-02-05 Thread Adam Sherman
ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0 (qmi), wwp0s20u4i8 (net)' - My device doesn't seem to be showing a ttyUSBn for GPS data. Thanks for your help, A. -- Adam Sherman ___ ModemManager-deve