Foxtrotgps doesn't connect to my internal GPS data

Bug #2030267 reported by Tirzah Yanchyshyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
FoxtrotGPS
New
Undecided
Unassigned

Bug Description

I'm new to linux and my device uses Debian 10. It has an internal GPS that is working well...still it seems foxtrotgps doesn't 'see' the gps data. I don't know if I need to change a setting or run a command...also gpsd is installed and updated. Any ideas, anyone?

Revision history for this message
Paul Wise (Debian) (pabs) wrote : Re: [Bug 2030267] [NEW] Foxtrotgps doesn't connect to my internal GPS data

Have you checked that other gpsd clients like cgps are working?

Try running foxtrotgps in a terminal, you should see this message:

   connection to gpsd SUCCEEDED

You could also install foxtrotgps-dbgsym, load foxtrotgps in a debugger
like gdb, set a breakpoint for cb_gpsd_data, run foxtrotgps and step
over the libgps calls to see what happens when reading data.

I don't have a real GPS, but FoxtrotGPS is able to connect via gpsd to
a virtualgps and read data correctly on my system.

https://github.com/rkaczorek/virtualgps

You might want to consider updating to a newer version of Debian if
possible. In addition FoxtrotGPS is not well maintained and will
probably be removed from Debian 13 because it needs porting to GTK 4
but no-one has been motivated enough to do it yet. So you might want
to look into alternatives that you could use instead.

--
bye,
pabs

https://wiki.debian.org/PaulWise

Revision history for this message
Tirzah Yanchyshyn (yangheyang) wrote :

Dear Paul

Thank you very much for your suggestions - we've tried running the tests you said. We've also checked that all the parameters were set properly, file permissions are correct and gpsd seems to be running fine. Still no connection to our built-in gps. Maybe it really is some incompatibility with Debian 10...

Anyway, we've resigned ourselves to manually plotting our GPS fixes on the foxtrotgps map. It's still the best app of its kind that we've found.

Kind regards,
Serge & Tirzah

------- Original Message -------
On Sunday, August 6th, 2023 at 12:09, Paul Wise (Debian) <email address hidden> wrote:

> Have you checked that other gpsd clients like cgps are working?
>
> Try running foxtrotgps in a terminal, you should see this message:
>
> connection to gpsd SUCCEEDED
>
> You could also install foxtrotgps-dbgsym, load foxtrotgps in a debugger
> like gdb, set a breakpoint for cb_gpsd_data, run foxtrotgps and step
> over the libgps calls to see what happens when reading data.
>
> I don't have a real GPS, but FoxtrotGPS is able to connect via gpsd to
> a virtualgps and read data correctly on my system.
>
> https://github.com/rkaczorek/virtualgps
>
> You might want to consider updating to a newer version of Debian if
> possible. In addition FoxtrotGPS is not well maintained and will
> probably be removed from Debian 13 because it needs porting to GTK 4
> but no-one has been motivated enough to do it yet. So you might want
> to look into alternatives that you could use instead.
>
> --
> bye,
> pabs
>
> https://wiki.debian.org/PaulWise
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2030267
>
> Title:
> Foxtrotgps doesn't connect to my internal GPS data
>
> Status in FoxtrotGPS:
> New
>
> Bug description:
> I'm new to linux and my device uses Debian 10. It has an internal GPS
> that is working well...still it seems foxtrotgps doesn't 'see' the gps
> data. I don't know if I need to change a setting or run a
> command...also gpsd is installed and updated. Any ideas, anyone?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/foxtrotgps/+bug/2030267/+subscriptions

Revision history for this message
Paul Wise (Debian) (pabs) wrote :

Check your system logs to see if there is an AppArmor/SELinux denial.

If you have a spare external USB GPS available, maybe try using that
instead, to see if it is a software problem or a GPS problem.

You could also download a Debian 12 live image, boot it and try to see
if that works too. Maybe also try Debian 10/11 live images. You can do
`apt update` and `apt install gpsd foxtrotgps` on the live images too.

Since the FoxtrotGPS POIs are just in an sqlite database, it should be
easy to automate the conversion of GPS fixes to FoxtrotGPS POIs, the
georss2foxtrotgps-poi script should be good inspiration for that. If
you write a new script for it, we can add that to the repository for
other folks to use too.

FoxtrotGPS is quite a simple app, you might be better served by
something with more features and maintainers like opencpn or qgis.

https://opencpn.org
https://qgis.org/

--
bye,
pabs

https://wiki.debian.org/PaulWise

Revision history for this message
Tirzah Yanchyshyn (yangheyang) wrote :

Hi Paul

Our internal GPS works well, without gpsd, and runs on the command line. So technically speaking, we can do without an app if we have maps on hand.

We tried OpenCPN first - for days we tried installing it from different sources and also tried many other gps apps. We've been looking at forums for days too and nothing we try seems to work. We also just got Debian 10 and are new to Linux. So changing the operating system now is not on the table for us.

Our external gps are in storage so we will have to try your other suggestions a bit later.

If we have breakthrough, we'll let you know so others can benefit.

Kind regards,
S & T

-------- Original Message --------
On 9 Aug 2023, 13:20, Paul Wise (Debian) wrote:

> Check your system logs to see if there is an AppArmor/SELinux denial. If you have a spare external USB GPS available, maybe try using that instead, to see if it is a software problem or a GPS problem. You could also download a Debian 12 live image, boot it and try to see if that works too. Maybe also try Debian 10/11 live images. You can do `apt update` and `apt install gpsd foxtrotgps` on the live images too. Since the FoxtrotGPS POIs are just in an sqlite database, it should be easy to automate the conversion of GPS fixes to FoxtrotGPS POIs, the georss2foxtrotgps-poi script should be good inspiration for that. If you write a new script for it, we can add that to the repository for other folks to use too. FoxtrotGPS is quite a simple app, you might be better served by something with more features and maintainers like opencpn or qgis. https://opencpn.org https://qgis.org/ -- bye, pabs https://wiki.debian.org/PaulWise -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/2030267 Title: Foxtrotgps doesn't connect to my internal GPS data Status in FoxtrotGPS: New Bug description: I'm new to linux and my device uses Debian 10. It has an internal GPS that is working well...still it seems foxtrotgps doesn't 'see' the gps data. I don't know if I need to change a setting or run a command...also gpsd is installed and updated. Any ideas, anyone? To manage notifications about this bug go to: https://bugs.launchpad.net/foxtrotgps/+bug/2030267/+subscriptions

Revision history for this message
Paul Wise (Debian) (pabs) wrote :

If the GPS works without gpsd but doesn't work with gpsd/cgps, then
a newer version of gpsd might help. There is a very slightly newer
version in the buster-backports repository, instructions here. For
a much newer gpsd, you would need to backport it yourself and then
backport foxtrotgps and other gpsd clients to the new version.

https://backports.debian.org/Instructions/
https://wiki.debian.org/SimpleBackportCreation

There is an OpenCPN build in buster-backports-sloppy repository,
the instructions above should help you install it.

The qgis package is available in buster itself.

Good luck with everything else.

--
bye,
pabs

https://wiki.debian.org/PaulWise

Revision history for this message
Tirzah Yanchyshyn (yangheyang) wrote :

Thank you very much!

-- 文昌杨合杨游艇服务有限公司 海南省文昌市文城镇文蔚路169号航天现代城30栋111-27号 电话: +86-147-1450-5608 / +86-152-0368-7207

-------- Original Message --------
On Aug 10, 2023, 14:26, Paul Wise (Debian) wrote:

> If the GPS works without gpsd but doesn't work with gpsd/cgps, then
> a newer version of gpsd might help. There is a very slightly newer
> version in the buster-backports repository, instructions here. For
> a much newer gpsd, you would need to backport it yourself and then
> backport foxtrotgps and other gpsd clients to the new version.
>
> https://backports.debian.org/Instructions/
> https://wiki.debian.org/SimpleBackportCreation
>
> There is an OpenCPN build in buster-backports-sloppy repository,
> the instructions above should help you install it.
>
> The qgis package is available in buster itself.
>
> Good luck with everything else.
>
> --
> bye,
> pabs
>
> https://wiki.debian.org/PaulWise
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2030267
>
> Title:
> Foxtrotgps doesn't connect to my internal GPS data
>
> Status in FoxtrotGPS:
> New
>
> Bug description:
> I'm new to linux and my device uses Debian 10. It has an internal GPS
> that is working well...still it seems foxtrotgps doesn't 'see' the gps
> data. I don't know if I need to change a setting or run a
> command...also gpsd is installed and updated. Any ideas, anyone?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/foxtrotgps/+bug/2030267/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.