GPS is serial and Viking is looking for a USB port

Asked by Murray Peterson

I run Ubuntu 13.04, and I have a Garmen GPSMap 76C which has a serial connection to the computer. I downloaded Viking 1.3 and tried to acquire data from the GPS. In Viking the communications protocol is Garmin serial/usb, and the port is called usb. There is only one selection for port. Since my GPS is connected to the serial port, I believe I need to:
a) make Viking recognize a serial port as well; or
b) make Ubuntu recognize the serial port as a USB port when Viking searches for a device.

Can anyone help?

Can anyone suggest another mapping software that would work? I am not tied to Viking in any way, and would be happy to try another.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ubfan (ubfan1) said :
#1

viking should have a gpsd option to get data from the gpsd daemon. Install the gpsd package if needed. Start the gpsd with the device you want e.g. gpsd /dev/ttyS0 for the first serial device.
Can't recommend the Ubuntu version of gpsdrive (pre 2.11), it does not talk to gpsd. Downloading 2.11 is possible, and works.

Revision history for this message
Murray Peterson (murray-peterson1) said :
#2

Thanks. I have gpsd 3.6-4 installed and stared gpsd as you suggested
below. Still the same results. Is there a way I can verify that the GPS
is found by gpsd? Can I ping the GPS?

On Sat, May 18, 2013 at 1:31 PM, Ubfan <<email address hidden>
> wrote:

> Your question #229178 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/229178
>
> Status: Open => Answered
>
> Ubfan proposed the following answer:
> viking should have a gpsd option to get data from the gpsd daemon.
> Install the gpsd package if needed. Start the gpsd with the device you
> want e.g. gpsd /dev/ttyS0 for the first serial device.
> Can't recommend the Ubuntu version of gpsdrive (pre 2.11), it does not
> talk to gpsd. Downloading 2.11 is possible, and works.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/229178/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/229178
>
> You received this question notification because you asked the question.
>

Revision history for this message
Ubfan (ubfan1) said :
#3

You can start gpsd in debug mode, and get interesting output -- for example for the rfcomm device I used for bluetooth connection to my gps (use your serial device when you try it):

sudo gpsd -n -N -D2 /dev/rfcomm0

#gpsd: launching (Version 2.37)
#gpsd: listening on port gpsd
#gpsd: successfully connected to the DBUS system bus
#gpsd: running with effective group ID 0
#gpsd: running with effective user ID 0
#gpsd: opening GPS data source at '/dev/rfcomm0'
#gpsd: speed 9600, 8N1
#gpsd: garmin_gps not active.
#gpsd: gpsd_activate(1): opened GPS (5)
#gpsd: ntpd_link_activate: 0
#gpsd: can't use GGA time until after ZDA or RMC has supplied a year.
#gpsd: SiRF packet seen when NMEA expected.
#gpsd: ntpd_link_activate: 1
#gpsd: LOS matrix is singular, can't calculate DOPs.
#gpsd: Unknown SiRF packet id 53 length 21: 353233312e3030302e30303045532d303162365f30

Revision history for this message
Ubfan (ubfan1) said :
#4

Also, install xgps and you can see which satellites are being used by gpsd.

Can you help with this problem?

Provide an answer of your own, or ask Murray Peterson for more information if necessary.

To post a message you must log in.