helpGPSD - Support: sr #109325, git head: pos. data ok, satellite...

 
 

sr #109325: git head: pos. data ok, satellite data not shown

Submitted by:  None
Submitted on:  Mon 05 Jun 2017 09:15:36 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 06 Jun 2017 08:07:19 PM UTC, comment #2:

OpenCPN driver for reference:

https://github.com/OpenCPN/OpenCPN/blob/master/src/garmin/jeeps/gpsapp.c

Gary E. Miller <garyemiller>
Project Administrator
Mon 05 Jun 2017 09:38:51 PM UTC, comment #1:

OP here. After talking to gemiller on irc, I tried reverting 3a8d8e8d8219beb1ec01f923ea5a659054941898. This kills point 3.

I may now restart without manually killing the shm segment.

shmctl still complains on exit, as shown in point 2 below. 1 and 4 also remains.

Anonymous
Mon 05 Jun 2017 09:15:36 PM UTC, original submission:

Running gpsd from git. I believe head is at 059d39d71f85bcb20da508243965a2910f0ed9d5 in my local copy.

Hardware is Garmin eTrek Legend Cx. I believe the log claims it is firmware version 2.60. It is plausible.

OS is gentoo on x64, with kernel 4.11.

I run gpsd as root, like this:
gpsd -N -D 1 /dev/ttyUSB0

I notice the following issues:

1. gpsd will receive data from the device. But as soon as I kill a client talking to gpsd, I cannot get more data from gpsd. I need to kill gpsd to connect to it again.

2. When killing gpsd (ctrl-c), I get
gpsd:WARN: shmctl for IPC_RMID failed, errno = 1 (Operation not permitted)

3. On restarting gpsd, I get:
gpsd:ERROR: shmget(0x47505344, 8936, 0666) for SHM export failed: File exists

A manual exorcism with "ipcrm -M 0x47505344" enables me to restart gpsd without error.

4. I will occasionally get the following from gpsd:
gpsd:WARN: Garmin: Unknown packet id: 0xf8, Sz: 0x27

I am attaching a log taken with
gpspipe -R localhost:2947 > gpd.dat

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #40853:  gpd.dat added by None (16KiB - application/octet-stream - log from Garmin eTrek Legend Cx fw:2.60 )

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by garyemiller (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 05 Jun 2017 09:15:36 PM UTCNoneAttached File-=>Added gpd.dat, #40853

    Back to the top


    Powered by Savane 3.1-cleanup1