Crimson Experience

Is gnss-share installed on the Crimson image? Someone (@irvinewade) mentioned something about his not knowing if he had it installed. If it is required for apps to get geolocation, then I can see why there might be a problem. However, I don’t remember having installed it on Byzantium (of course, that was years ago and my memory isn’t what it once was).

gnss-share is a (weak) dependency of librem5-base and you can’t have GNSS working correctly if you don’t have it installed (unless you set up a whole alternative infrastructure for it).

In fact I don’t like that it’s a weak dependency and I’m going to make it a strong one now, so people don’t uninstall it and then get surprised that things get broken :wink:

2 Likes

Well, I assumed (yeah, it’s late… I’m tired) that it wasn’t installed. Went to install in from the console and now it is manually installed. Good news, it was already at the latest version.

Well, yes, I did say that but that was 4 years ago. The point of the post was that you only need very basic tools to confirm that your GNSS chip is fully working, which starts the troubleshooting process.

1 Like

I tried your suggestion on my Librem 5 with Crimson.

Side note: first I had to install socat with sudo apt install socat.

After that I tried sudo socat unix:///var/run/gnss-share.sock -. This resulted also for me in:

2025/12/15 12:21:33 socat[19842] E UNIX-CLIENT:///var/run/gnss-share.sock: No such file or directory

Then I tried: sudo apt install gnss-share, which resulted in …gnss-share is already the newest version (0.8.2-1~pureos1~cri1).

Should I file an issue for this to make sure this will be solved?

Edit: On my Byzantium Librem 5 sudo socat unix:///var/run/gnss-share.sock - does print the NMEA sentences.

3 Likes

Is the notification LED working for others on Crimson?

It works for charging, but texts/notifications aren’t lighting up the LED. Took me a few days to notice.

I found that feedbackd-device-themes was not installed, but:

$ apt install feedbackd-device-themes
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 librem5-gnome-base : Depends: phosh-core but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I’m not sure if the missing feedbackd theme will fixmy issue or not, but thought to check with others here in case they have the same problem, or if this is a known issue that I’ve just missed.

1 Like

Yes.

1 Like

Did you upgrade to Crimson with apt or by reflashing?
I assume my issue is caused by missing that package but I don’t know why it won’t install.

I upgraded with apt.

1 Like

Yes.

Your installation is broken. Start by making sure the dependencies are met on your system.

Edit: Scratch that, this is actually expected with this package. It’s not supposed to be installable right now, and you’re not supposed to need it.

What kind of crimson installation is that?

First check why gnss-share isn’t running, because if it was a flashed older crimson image, chances are that this issue hasn’t existed anymore for a while now.

This is a fresh image flash that I did around 2025-10-29.

I still have the images directory that I used:

$ ll images/
total 4463812
-rw-r--r--. 1 jan jan        720 Oct 29 13:22 flash_librem5r4.lst
-rw-r--r--. 1 jan jan 4569694208 Oct 29 13:15 librem5r4.img
-rw-r--r--. 1 jan jan    1240604 Oct 29 13:22 u-boot-librem5.imx
1 Like

The gnss-share.service was disabled. I cannot remember that I did this myself intentionally.

$ sudo systemctl status gnss-share.service 
○ gnss-share.service - Manage access to and AGPS on GNSS devices
     Loaded: loaded (/lib/systemd/system/gnss-share.service; disabled; preset: enabled)
     Active: inactive (dead)
       Docs: https://gitlab.com/postmarketOS/gnss-share

So I did:

sudo systemctl enable --now gnss-share.service
Created symlink /etc/systemd/system/multi-user.target.wants/gnss-share.service → /lib/systemd/system/gnss-share.service.

And now I get the NMEA sentences with:

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

After this I put the Librem 5 outside for a few minutes, with Pure Maps and GNOME maps running. After this in Pure Maps my location is correct. In GNOME maps the displayed location was not correct but roughly a kilometer away from my real location.

Update: After a long time (I checked after 5 hours, so it could be less time), I see that GNOME maps now also shows the correct location.

1 Like

Memory 2.8 Gb? I assumed you were using the Liberty phone.

2 Likes

back again after 5 months back to android. I found out that crimson is able to perform apt upgrade without breaking, now. very nice.

3 Likes

FWIW this was also needed on a fresh Crimson install. Before doing that, Maps used to say I was permanently in an “administrative building” in my country’s capital city. And now, after running the almanac downloader script, it correctly shows my house :partying_face:

Only remaining problem now, I sometimes wake up at night and, in the darkness of my room, ponder: what if the first location was the right one? Is my body actually locked in the basement of an “administrative building”? Is this “real world” (and NMEA sentences) the lie that has been put in front of my eyes? :slight_smile:

5 Likes

I created an issue for this.

3 Likes

PureMaps doesn’t start when I launch it from the app grid - it just opens the empty desktop wallpaper view - but does launch normally when I use the “Open” button from inside the PureOS Software app. I’ve tried removing it and reinstalling, but it’s still malfunctioning.

It may be that I messed up flatpak functionality at some time in the past. (I upgraded to crimson from byzantium… not a flash/install.)

Is anyone else seeing this behavior?

Also:

purism@pureos:~$ flatpak list
error: While opening repository /home/purism/.local/share/flatpak/repo: opening repo: openat(config): No such file or directory

???
EDIT: For some reason, the config file in the above error is named “config.png” in the directory. That can’t be right, can it?

Aha! That was the problem. I changed the file to config and now it launches.

I suspect I must have corrupted some other files in the past. Guess I’ll find them eventually. :face_with_open_eyes_and_hand_over_mouth:

6 Likes

Since upgrading to Crimson, every time I restart the modem via the HKS, I get the yellow ! up in the top left over my wireless connection indicator.

If I go into GNOME Settings and toggle Mobile Data off and on again, it goes away and works fine until the next HKS toggle.

Anyone else seeing this?

What, you don’t keep your configurations in EXIF data for easy access? :smiley:

3 Likes

That’s why upgrading via reflash, even if more work, is an attractive option if maybe I like to experiment and tinker a bit. :wink:

2 Likes