Crimson Experience

Hmmm… I had it on for about 30 minutes on my dash on a couple of different occasions – no joy. It works great with Byzantium, but I guess it is selective memory to think it always did so. I’ll try again. If that doesn’t work, I’ll boot back to my Byzantium image and see if GPS still works there.

Did you try this: Assisted GNSS ($1207) · Snippets · GitLab

The GNSS-share worked for me.

1 Like

Hmm… that seems to ring a bell from when I did Byzantium, but my memory has had bits flipped by cosmic rays. :roll_eyes:

Cloned and executed agps.py and it downloaded lots. Running PureMaps and it now defaults to downtown L.A. instead of San Diego… but still doesn’t get a fix. When I open PureMaps, it asks permission for location services (which is turned on), but when I look at location services in settings, it says that no apps have asked permission.

Too cold to stand around in the open tonight. Will try it on the way to work tomorrow.

Oddly, when I booted to Byzantium, I didn’t get the locations services symbol in the status bar and PureMaps would not start at all. I wonder if my GNSS chip has fried. :thinking:

Just want to add, that with Crimson, my Position never worked. It may be because i did not use it, since the Pure Maps are not fast enough. So for Routing i still use some old Android.

However, i tried on two Days with my fast rebooted L5 and still i have activate the Position, it seems like to be fully broken. Was working in Byzantium. But not now on my L5 with Crimson. In this Gnome Version its not known if the Position is enabled or disabled. So i am not sure my L5 have updates - and the Last time i check it was not working. Like unsolved, somewhere in 5 km range.

But i like my privacy, known the Routes and have computers for Mapping and create driving Maps. So i still need no working Navigation.

1 Like

If you are having problems with an application that should be able to get your location but doesn’t then you need to fault isolate i.e. is there a problem with your underlying GNSS chip or is it a software issue? The way to tackle that is to talk directly to the GNSS chip (you can sudo cat its output) and see whether you are getting any output at all and, if so, whether it is getting a fix or not (eventually) - as covered in more focused topics than this one.

1 Like

Hmm… good to know it’s not just me.

Last night I used that 1207 .py script to download the almanac. This morning, the L5 thought I was in my home town (about a mile from my actual location) instead of downtown LA. Still, PureMaps got no fix.

Just now, “sudo cat /dev/gnss0” gives a whole bunch of data. Reminiscent of the raw data I used to collect from a commercial GPS receiver using a DOS data-logger program over 20 years ago to do TSPI on moving ground targets. I find messages which indicate a position in the general vicinity of my house, but GPGGA Field 6 is “0” – “no fix”. This may not be surprising, as I am indoors at this time.

I will have to redirect the cat output to a file while i drive tomorrow and analyze that file to learn more.

I sure don’t remember having to do this with Byzantium!

Refer over here: New Post: November Librem 5 update: Byzantium Released - #36 by irvinewade

I think you want $GPGSV (sat view) so that you know that satellites are even in view and $GPGLL with field 7 equal to ‘A’ (valid).

1 Like

Welp, learned the hard way that “Mute” on a call isn’t working when using BT audio input.

5 Likes

You thought software was as god as a hardware kill switch :wink:

But yes… some drivers are no hardware. You Should add a Patch for this, that the Phone with Microphone Kill-Switch, should kill it on software for know Devices too, by constrain.

3 Likes

Ah… I got some data the other day, but the default GUI text editor only saw Chinese. The default console editor, VIM, decoded/displayed the file correctly… but you know, VIM. :roll_eyes: (I wish I was VIM-proficient).

I’ll capture a better data set then grep. I was going to transfer the file to my desktop and let LibreOffice parse it, but grep will be way easier. Thanks!

Grep… fix in 15 seconds using eight satellites and PDOP of 1.8m. Seems to me that the GNSS module is OK, but PureMaps is Tango Uniform.

2 Likes

Tried Gnome Maps today. It thinks I am in downtown LA… but I am over 2 hours drive away from there. Location services says that Gnome Maps, like PureMaps, didn’t ask for location access.

So you verified that the given latitude and longitude are correct (to whatever level of accuracy is sufficient for you)? (It’s unlikely that you would get location information that is marked valid but find it to be wildly incorrect, unless the Russians are in your vicinity. Just being systematic.)

From the sounds of it, the application software simply isn’t configured or working properly yet. As frustrating as that might be, at least it means that it one day it can work properly.

I’m not aware of any issue like that. It may be a misconfiguration on a particular device or some hardware issue with it, but overall GNSS is supposed to work. Of course there’s no automatic assistance data upload to the module, so you can expect typical offline performance if you don’t upload it by yourself, but it should work nevertheless.

If directly accessing /dev/gnss0 quickly gets a valid location fix with correct latitude and longitude but maps applications (2 of them) that he is trying don’t locate him correctly, what would be your diagnosis? suggested troubleshooting?

1 Like

When I first checked the lat/long, I thought it was about 20 miles off. Then I realized that the NMEA message was formatted for degrees, minutes, and decimals of minute, whereas I had assumed degrees and decimals of degrees. Once I did the correction, it was about a mile from my house at the end of the data run… and I’m pretty sure that I stopped the cat command when I got to the supermarket that day. The position was dead on the supermarket. I’ll probably check it again, but I’m pretty sure that the GNSS module is good.

1 Like

Stock Crimson image on SD with flatpak PureMaps from Flathub. Neither PureMaps nor Gnome Maps (already on the Crimson image) trigger the locations services request flag. I didn’t configure anything but units and pirate voice in the PureMaps settings. Didn’t touch Gnome Maps configuration at all.

Since we know the GNSS module works, now it’s time to move up a layer:

sudo socat unix:///var/run/gnss-share.sock -

If this gives the same results, then gnss-share works too. Then, with a fix acquired, you can run:

/usr/libexec/geoclue-2.0/demos/where-am-i

to verify that Geoclue reads gnss-share’s output correctly and passes it forward to applications.

It all works on my Crimson systems just fine (just tried it, got a fix displayed in GNOME Maps a few seconds after I moved the phone past the window) and so far I haven’t heard any reports of it being broken other than this one right now.

What do you mean by “request flag”?

2 Likes

This returns2025/12/14 22:58:58 socat[56893] E UNIX-CLIENT:///var/run/gnss-share.sock: No such file or directory

" Settings–> Privacy → Location Services" says “No Applications Have Asked for Location Access”

…so your installation of gnss-share is broken for some reason. Go investigate that.

It only ever shows Flatpak applications that use Location portal, nothing else. Pure Maps doesn’t use the Location portal.

1 Like