On Tue 2018-04-10 06:50:29, Tony Lindgren wrote:
- Pavel Machek pavel@ucw.cz [180410 11:00]:
On Mon 2018-04-09 07:08:47, Tony Lindgren wrote:
- Dan Williams dcbw@redhat.com [180408 02:46]:
On Sat, 2018-04-07 at 14:22 +0200, Pavel Machek wrote:
I tried --location-enable-gps-unmanaged , but that did not work for me.
That requires a TTY that would spit out the GPS data; in this mode MM only sends the start/stop commands, and what comes out the GPS TTY is undefined (at least by MM).
So unless you know that one of the 6600's TTYs does GPS and in what format it does GPS, then no.
There should be a NMEA port within the unknown port range ttyUSB[123].
Is there some easy way to enable --location-enable-gps-unmanaged for testing so I can check if GPS gets enabled for one of the ports?
This should be userful for testing:
Just pass --pds-start-gps and you should get NMEA on stdout.
Hmm maybe also try to check if enabling the GPS this way starts printing something out of /dev/ttyUSB[123]?
No, I did not find anything there :-(.
This combination seems to give me working gps:
sudo src/qmicli/qmicli -d /dev/cdc-wdm0 --pds-start-gps | nc -u 127.0.0.1 5000
/usr/sbin/gpsd -ND 4 udp://127.0.0.1:5000
Best regards, Pavel