[ gpsdrive ] beginner user
Fred Felter
felterf at yahoo.com
Tue Oct 21 16:00:57 AKDT 2008
Ross;
Here is my first attempt:fred at fred-laptop:~$ ps ax | grep gpsd (gpsr not turned on)
4890 ? S<s 0:01 /usr/sbin/gpsd -n -P /var/run/gpsd.pid /dev/ttyUSB0
6710 pts/1 R+ 0:00 grep gpsd
fred at fred-laptop:~$ ps ax | grep gpsd (gpsr turned on)
4890 ? S<s 0:01 /usr/sbin/gpsd -n -P /var/run/gpsd.pid /dev/ttyUSB0
6720 pts/1 R+ 0:00 grep gpsd
fred at fred-laptop:~$ gpspipe -r
GPSD,R=1
fred at fred-laptop:~$
Than I did your second recommendation: fred at fred-laptop:~$ tail -f /var/log/messages
Oct 21 15:04:34 fred-laptop -- MARK --
Oct 21 15:24:34 fred-laptop -- MARK --
Oct 21 15:44:34 fred-laptop -- MARK --
Oct 21 15:58:59 fred-laptop gnome-power-manager: (fred) GNOME interactive logout. Reason: The power button has been pressed.
Oct 21 16:20:51 fred-laptop kernel: [ 1228.435393] usb 1-1.1: new full speed USB device using uhci_hcd and address 5
Oct 21 16:20:52 fred-laptop kernel: [ 1228.564405] usb 1-1.1: configuration #1 chosen from 1 choice
Oct 21 16:26:35 fred-laptop kernel: [ 1272.863922] usb 1-1.1: USB disconnect, address 5
Oct 21 16:27:44 fred-laptop kernel: [ 1281.298556] usb 1-1.1: new full speed USB device using uhci_hcd and address 6
Oct 21 16:27:44 fred-laptop kernel: [ 1281.319731] usb 1-1.1: configuration #1 chosen from 1 choice
Oct 21 16:28:38 fred-laptop kernel: [ 1289.148165] usb 1-1.1: USB disconnect, address 6
Oct 21 16:29:27 fred-laptop kernel: [ 1296.108664] usb 1-1.1: new full speed USB device using uhci_hcd and address 7
Oct 21 16:29:27 fred-laptop kernel: [ 1296.129659] usb 1-1.1: configuration #1 chosen from 1 choice
(the last 2 entries are when I reconnect the GPSr but I not sure of what they say)
Then I noted your mention of the need to use the nmea interface so I perused the Vista C handbook but apparently it offers no option to change interfaces. So I googled Vista C and gpsd and come up with this:
Details for: Garmin Etrex Vista C Status
( GPS ) ( Category: Serial )
ID 091e:0003
Driver garmin-gps
Linux-USB link http://www.sf.net/projects/garmin-gps http://www.kernel.org
Vendor link http://www.garmin.com
Comment Etrex
Vista C fully supported with garmin_gps driver.
Included in kernel 6.11.
You need to activate it in the serial devices, while configuring your
kernel.
Then, the device can be accessed using Garmin protocol through
/dev/ttyUSB0 or it can be used using NMEA (and gpsd/gpsdrive...) using
an additional driver of the garmin-gps project.
Works fine using pygarmin (http://www.sf.net/projects/pygarmin
Submitted by Dutoit Cedric ( dutoitc <at> shimbawa.ch )
Submitted on Wed, 13 Apr 2005 21:41:02 +0200
Last edited on Wed, 13 Apr 2005 21:44:35 +0200 So it looks like I need to ¨configure the kernel¨ which, as I understand, is a task for experts and fraught with risk to ruin the OS. Do I have all that right?
I do have a serial GPSr (eTrex Venture which has a NMEA interface) but it doesn´t pick up sats inside the house like my Vista C does. However, if necessary I´ll play with it.
F
----- Original Message ----
From: Ross Scanlon <info at 4x4falcon.com>
To: gpsdrive at lists.gpsdrivers.org
Sent: Monday, October 20, 2008 1:05:21 AM
Subject: Re: [ gpsdrive ] beginner user
Hi Fred,
Lets start again.
Using a USB connection for the gps.
The setup I meant was from the Howto at:
http://www.4x4falcon.com/gpsdrive/howtos/HOWTO_Ubuntu_Gpsdrive_Full_manual_install.php
It's section 2 Setup GPSD
After doing this restart your computer with a gps attached to USB.
Next in a terminal enter:
ps ax | grep gpsd
The stroke is the vertical line character ( usually shift \ ).
This should show something like:
8582 ? Ss 0:00 /usr/sbin/gpsd -n /dev/gps
Don't worry about the numbers etc just so long as gpsd is running.
Now run:
gpspipe -r
Hopefully you will get a whole heap of NMEA sentences shown. CTRL-C to exit.
Note that unless your gps has a position it may not output any nmea so check that you actually have a position on the gps.
If you are not getting anything then do the following:
Unplug the gps from the computer.
At a terminal enter:
tail -f /var/log/messages
Plug the gps back in to the computer.
You should see some output which shows the location of the gps it will be possibly:
/dev/ttyUSB0
If your using a serial connection to the gps you will need to find which serial port it is attached to.
Serial ports are:
/dev/ttyS0 ... /dev/ttyS9 etc.
If it's the only serial port on the computer then it will most likely be /dev/ttys0
Try this instead of /dev/gps in the /etc/default/gpsd file.
Additional tip:
Make sure your gps is configured to output nmea on the USB or serial connection.
Cheers
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20081022/b0637024/attachment.html>
More information about the GPSdrive
mailing list