GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GPSDCTL(8) GPSD Documentation GPSDCTL(8)

gpsdctl - tool for sending commands to gpsd over its control socket

gpsdctl action device

action
may be add or remove. If no daemon instance is running when an add is requested, this program will launch one.

device

argument should be the pathname of a device. The device will be opened by gpsd to read sensor data.

This is a tool for sending an instance of gpsd commands over its control socket to add or remove devices from the daemon’s device list. It is not intended to be called by users, but rather by the Linux hotplug system and similar facilities.

Two environment variables are interpreted.

GPSD_SOCKET

sets the location of the control socket. If the effective user ID of this program is root then it usually defaults to /run/gpsd.sock, although some systems may use the deprecated /var/run/gpsd.sock instead. Non-root users will use /tmp/gpsd.sock.

GPSD_OPTIONS

may be a list of options to be passed to gpsd when this tool launches it. It defaults to an empty string.

0
on success.

1

if the action was unknown or the write to the control socket failed,

gpsd(8), gpsctl(1), gps(1), libgps(3), libgpsmm(3), gpsprof(1), gpsfake(1).

Project web site: <https://gpsd.io/>

This file is Copyright 2013 by the GPSD project
SPDX-License-Identifier: BSD-2-clause

Eric S. Raymond
2021-09-03 GPSD, Version 3.23.1

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.