📄 gpsctl.1
字号:
.\"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 "GPSCTL" 1 "" "" "".SH NAMEgpsctl \- control the modes of a GPS.SH "SYNOPSIS".ad l.hy 0.HP 7\fBgpsctl\fR [\-h] [\fB\-b\fR | \fB\-n\fR] [\-f] [\-l] [\-s\ \fIspeed\fR] [\-t\ \fIdevicetype\fR] [\-D\ \fIdebuglevel\fR] [\-V] [\fIserial\-port\fR].ad.hy.SH "DESCRIPTION".PPgpsctl can switch a dual\-mode GPS between NMEA and vendor\-binary modes\&. It can also be used to set the device baudrate\&. Note: Not all devices have these capabilities\&..PPIf you have only one GPS attached to your machine, and gpsd is running, it is not necessary to specify the device; gpsctl does its work through gpsd, which will locate it for you\&..PPWhen gpsd is not running, the device specification is required, and you will almost certainly need to be running as root in order to have write access to the device\&..PPThe program accepts the following options:.TP\-bPut GPS into binary mode\&. After the GPS resets itself autobaud to the new speed\&..TP\-nPut GPS into NMEA mode\&. After the GPS resets itself autobaud to its new speed\&..TP\-fForce low\-level access (not through the daemon)\&..TP\-lList the known device types and exit\&.\&..TP\-sSet the baud rate at which the GPS emits packets\&..TP\-tForce the device type\&..TP\-hDisplay program usage and exit\&..TP\-DSet level of debug messages\&..TP\-VDisplay program version and exit\&..PPThe argument of the forcing option\&. \fB\-t\fR, should be a string which should be contained in exactly one of the known driver names; for a list, do \fBgpsctl \-l\fR\&..PPForcing the device type behaves somewhat differently depending on whether this tool, is going through the daemon or not\&. In high\-level mode, if the device that daemon selects for you doesn't match the driver you specified, gpsctl exits with a warning\&. (This may be useful in scripts\&.).PPIn low\-level mode, if the device identifies as a Generic NMEA, use the selected driver instead\&. This will be useful if you have a GPS device of known type that is in NMEA mode and not responding to probes\&. (This option was originally implemented for talking to SiRFStar I chips, which don't respond to the normal SiRF ID probe\&.).PPIf no options are given, the program will display a message identifying the GPS type of the selected device and exit\&..SH "SEE ALSO".PP \fBgpsd\fR(8), \fBgps\fR(1), \fBlibgps\fR(3), \fBlibgpsd\fR(3), \fBgpsprof\fR(1), \fBgpsfake\fR(1)\&..SH "AUTHOR".PPEric S\&. Raymond <esr@thyrsus\&.com>\&. There is a project page for gpsd here: \fIhttp://gpsd.berlios.de/\fR\&.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -