How to access GPS data in Mobian
#3
(05-08-2021, 08:52 PM)8bit Wrote: You could install gpsd and run one of the clients. xgps works but is not optimized for the screen. The text based clients gpsmon and cgps will give you all the typical GPS statistical information. The NMEA output that gpsd needs is on /dev/ttyUSB1. The config file is in /etc/default/gpsd

The antenna is very weak and it will take a long time outdoors even with a clear view of the sky to get a lock. You will want to run the AGPS proof of concept script to speed up the initial lock. https://gist.github.com/alastair-dm/2632...e555fa6628

You can also talk directly to the modem via AT commands to get a location manually, It is what the AGPS script uses. https://sixfab.com/wp-content/uploads/20...l_V1.1.pdf
Thank you for the information! Quick question, as I don't have my PP on me right now to test, with the AGPS it says to run `AT+QGPS=1` to start the GPS, is that just ran in the command line? I don't have any real experience with working with modems in general though I do have experience with a handful of programming languages.
  Reply


Messages In This Thread
How to access GPS data in Mobian - by ragreenburg - 05-08-2021, 06:56 PM
RE: How to access GPS data in Mobian - by 8bit - 05-08-2021, 08:52 PM
RE: How to access GPS data in Mobian - by ragreenburg - 05-09-2021, 06:11 PM
RE: How to access GPS data in Mobian - by 8bit - 05-09-2021, 08:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrade to Mobian (Trixie) Staging biketool 13 805 Yesterday, 10:35 AM
Last Post: biketool
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 6 1,025 Yesterday, 10:17 AM
Last Post: puffchumpy
  Mobian Bulleyes aberrio 0 123 12-16-2024, 08:27 AM
Last Post: aberrio
  Mobian, Suspend, and Audio Playback biketool 0 155 12-11-2024, 12:56 AM
Last Post: biketool
  how to update mobian over tor vusra 14 9,582 12-04-2024, 07:01 PM
Last Post: vusra
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 41 9,702 11-27-2024, 10:39 AM
Last Post: fernando_c_m
  atinout binaries for mobian/debian? NeutralGrey 4 1,566 10-31-2024, 04:16 AM
Last Post: astylethargic
  Mobian-Kicksecure? 3460p 0 945 05-26-2024, 02:09 PM
Last Post: 3460p
  Mobian repository status henrythemouse 16 12,635 04-10-2024, 10:02 AM
Last Post: diederik
  cant verify mobian image at website gnugpg penguins_rule 0 994 03-18-2024, 08:54 PM
Last Post: penguins_rule

Forum Jump:


Users browsing this thread: 2 Guest(s)