.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "GARMINCTL" 1 "" "" "" .SH NAME garminctl \- Control the modes of a Garmin GPS .SH "SYNOPSIS" .ad l .hy 0 .HP 10 \fBgarminctl\fR [\-?] [\-h] [\-n] [\-b] [\-D\ \fIdebuglevel\fR] [\-V] \fIserial\-port\fR .ad .hy .SH "DESCRIPTION" .PP garminctl switch a serial Garmin GPS to NMEA or Garmin Binary mode\&. On exit it leaves the serial port set to the proper baud rate\&. .PP This program is not for use with Garmin USB devices\&. Those are permanently set to Garmin Binary mode\&. .PP You will probably need to be root to run this program, as the serial device it uses is normally privileged\&. .PP The program accepts the following options: .TP \-? Display program usage and exit\&. .TP \-b Force GPS into binary mode\&. After the GPS resets itself autobaud to the new speed\&. Binary mode is always 9600 8N1\&. .TP \-n Force GPS into NMEA mode\&. After the GPS resets itself autobaud to the new speed\&. .TP \-h Display program usage and exit\&. .TP \-D Set debug level\&. .TP \-V Display program version and exit\&. .SH "BUGS AND LIMITATIONS" .PP The logic for hunting the GPS's baud rate is vulnerable to various sorts of RS232 flakiness\&. If it hangs for longer than a few seconds, kill the program and restart\&. .SH "SEE ALSO" .PP \fBgpsd\fR(8), \fBgps\fR(1), \fBlibgps\fR(3), \fBlibgpsd\fR(3), \fBgpsprof\fR(1), \fBgpsfake\fR(1), \fBgnuplot\fR(1)\&. .SH "AUTHOR" .PP Gary E\&. Miller \&. This code is part of the gpsd toolset; there is a project page for gpsd here: \fIhttp://gpsd.berlios.de/\fR\&.