(05-03-2022, 04:30 AM)wibble Wrote: That used to be pretty easy, but I've not tried on the PinePhone. From previous messing with GPS on the PinePhone working out how to get the NMEA serial stream out can be done, but takes a bit more doing as mobian doesn't integrate gpsd and ModemManager's location docs aren't as informative as might be hoped. I _think_ you could set up gpsd to run a script to enable raw nmea access via mmcli when a client connects, allowing gpsd to connect to the NMEA serial port, but I never got round to trying it. The other location modes have ModemManager / Geoclue using the serial port which blocks gpsd from using it. I think... Why they couldn't use gpsd to multiplex access to the nmea data and have Geoclue be another gpsd client I'm not sure - that would seem to be the best of both worlds.
http://wiki.openmoko.org/wiki/Neo_FreeRu..._GPS_relay
There is so much we can use from OpenMoko, Zaurus, and N900(& Nokia Linux tablets) though much of it is out of date since we are on to systemd. The Maemo Leste team is building off of Deuvian(no systemd Debian) to have maximum backwards compatibility and also not have systemd.
Like the bluetooth network access point we seem to have to keep reinventing wheels.
I still have a GTA02 somewhere here. (we need mokomaze in the default install to honor our heritage) https://mokomaze.sourceforge.io/ (the deb on the sourceforge page is incompatible)