diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2004-08-20 19:21:51 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2004-08-20 19:21:51 +0000 |
commit | dafda0abc67110ef5722a222dce409eb4eed12e5 (patch) | |
tree | 3cad4d21afbc726543ce49e1ca87cb1735ab008d /INSTALL | |
parent | f088116fc637625ec3f665166d50af0190f8dd6f (diff) | |
download | gpsd-dafda0abc67110ef5722a222dce409eb4eed12e5.tar.gz |
This warning should save a few tears.
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -1,3 +1,15 @@ +Start by making sure you can get data from your GPS, otherwise the later +steps will be very frustrating. In this command + + stty -F /dev/ttyXXX ispeed 4800; cat </dev/ttyUSB0 + +replace ttyXXX with the filename of the port. This will probably be +either /dev/ttyUSB0 or /dev/ttyS0. When you run this command, you +should see text lines come to stdout (possibly after a short initial +burst of bnary garbage). If you don't see this, you may have OS-level +problems with your serial support, but more likely have the wrong +device. Look again. + Run ./configure (or sh configure if the script does not have execute permission). @@ -13,15 +25,15 @@ directory or to the system-wide X app-defaults directory. The "right" thing to do is to start gpsd on a serial or USB port that has the GPS connected to it. -Then start gps and have it connect to gpsd via a socket. Give it a device -name like "localhost:2947", which means: connect to the host localhost using -port 2947. +Then start gps and have it connect to gpsd via a socket. Calling it with +no arguments will do the right thing if you have gpsd running on the +default port. You can also telnet to this port for testing. When doing that, type an 'R' followed by <cr>. This should display the RAW nmea sentences the deamon receives from the gps. -You can (but please don't) connect gps (the program) directly to a serial +You can (but please don't) connect the gps program directly to a serial port and a GPS (the device). This mode won't do DGPS nor handle timeouts. |