[ gpsdrive ] beginner user
Ross Scanlon
info at 4x4falcon.com
Mon Oct 20 00:05:28 AKDT 2008
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
On Sun, 19 Oct 2008 23:29:30 -0700 (PDT)
Fred Felter <felterf at yahoo.com> wrote:
> Thanks for the reply Ross. A couple of questions:
> I don´t see a ¨set up¨ on the gpsd web site http://http://gpsd.berlios.de/gpsd.html; only FAQs and coding options. What I need are actual lines to enter into Terminal, just to get me started.
> Here is the output from my attached eTrex with what you have given me to enter. It means nothing to me, nor did your code, but does it mean anything to you? I have no idea if gpsd is running or not.
>
> fred at fred-laptop:~$ sudo su
> [sudo] password for fred:
> root at fred-laptop:/home/fred# gpsd -n /dev/ttyUSB0 &
> [1] 7334
> root at fred-laptop:/home/fred# gpsd -n /dev/gps &
> [2] 7343
> [1] Done gpsd -n /dev/ttyUSB0
> root at fred-laptop:/home/fred#
>
>
>
>
> ----- Original Message ----
> From: Ross Scanlon <info at 4x4falcon.com>
> To: gpsdrive at lists.gpsdrivers.org
> Sent: Sunday, October 19, 2008 7:18:38 PM
> Subject: Re: [ gpsdrive ] beginner user
>
> Hi Fred,
>
> Follow the steps for setting up gpsd from the howto as gpsd is not running at startup and without the mods will not run.
>
> You could also try:
>
>
> gpsd -n /dev/ttyUSB0 &
>
> or
>
> gpsd -n /dev/gps &
>
> This is for a USB connected gps.
>
> gpspipe will not do anything unless gpsd is running.
>
> Cheers
> Ross
>
>
>
>
> On Sun, 19 Oct 2008 16:51:38 -0700 (PDT)
> Fred Felter <felterf at yahoo.com> wrote:
>
> > Thanks for the reply Ross.
> > At first, as I scanned the manual installation steps, I was intimidated to think that I needed to complete each one without an error but then I saw the mention of the package installation, which I have done. I´ve also installed (I think) gpsd. So, for starters I thought maybe I needed to open gpsd, but here is what I got:
> >
> > fred at fred-laptop:~$ gpsd
> > gpsd: can't run with neither control socket nor devices
> >
> > And for gpspipe -r
> >
> > fred at fred-laptop:~$ gpspipe -r
> > gpspipe: could not connect to gpsd 127.0.0.1:2947, Connection refused(111)
> >
> > Any idea of what I´m missing? And I do appreciate your help since I am completely without Linux expertise and have no computer programming knowledge either. If I can get GPSDrive running it will be the first add on app to work for me, since I can´t even make Skype function properly.
> >
> > Fred
> _______________________________________________
> GPSdrive mailing list
> GPSdrive at lists.gpsdrivers.org
> http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
>
More information about the GPSdrive
mailing list