summaryrefslogtreecommitdiffstats
path: root/rules/gpsd.in
blob: ff270cff56daf9e603da3dd11cfb97a878063285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
## SECTION=system_libraries
menuconfig GPSD
	tristate
	select LIBC_M
	select LIBC_NSL
	select LIBC_PTHREAD
	select GCCLIBS_CXX
	select GCCLIBS_GCC_S
	select NCURSES		if GPSD_CGPS
	select NCURSES		if GPSD_GPSMON
	select DBUS_GLIB	if GPSD_DBUS
	select PYTHON		if GPSD_PYTHON
	prompt "gpsd                          "
	help
	  gpsd is a daemon that listens to a GPS or Loran receiver
	  and translates the positional data into a simplified format
	  that can be more easily used by other programs, like chart plotters.
	  The package comes with a sample client that plots the location
	  of the currently visible GPS satellites (if available)
	  and a speedometer. It can also use DGPS/ip.

if GPSD

config GPSD_PYTHON
	bool
	prompt "python bindings"
	help
	  Enables the python bindings.

config GPSD_PROFILING
	bool
	prompt "enable profiling"

config GPSD_NTPSHM
	bool
	prompt "ntpshm"

config GPSD_PPS
	bool
	prompt "pps"

config GPSD_PPS_ON_CTS
	bool
	prompt "pps_on_cts"

config GPSD_USER
	string
	default "root"
	prompt "gpsd user"
	help
	  This user is used for privilege separation.

config GPSD_FIXED_PORT_SPEED
	string
	prompt "fixed port speed"

config GPSD_DBUS
	bool
	prompt "dbus bindings"

config GPSD_MAX_CLIENTS
	string
	prompt "max clients"

config GPSD_MAX_DEVICES
	string
	prompt "max devices"

menu "drivers"

	config GPSD_DRIVER_NMEA
		bool
		prompt "nmea"

	config GPSD_DRIVER_SIRF
		bool
		prompt "sirf"

	config GPSD_DRIVER_TSIP
		bool
		prompt "tsip"

	config GPSD_DRIVER_FV18
		bool
		prompt "fv18"

	config GPSD_DRIVER_TRIPMATE
		bool
		prompt "tripmate"

	config GPSD_DRIVER_EARTHMATE
		bool
		prompt "earthmate"

	config GPSD_DRIVER_ITRAX
		bool
		prompt "itrax"

	config GPSD_DRIVER_ASHTECH
		bool
		prompt "ashtech"

	config GPSD_DRIVER_NAVCOM
		bool
		prompt "navcom"

	config GPSD_DRIVER_GARMIN
		bool
		prompt "garmin"

	config GPSD_DRIVER_GARMINTXT
		bool
		prompt "garmintxt"

	config GPSD_DRIVER_TNT
		bool
		prompt "tnt"

	config GPSD_DRIVER_UBX
		bool
		select GPSD_DRIVER_NMEA
		prompt "ubx"

	config GPSD_DRIVER_EVERMORE
		bool
		prompt "evermore"

	config GPSD_DRIVER_GPSCLOCK
		bool
		prompt "gpsclock"

	config GPSD_DRIVER_SUPERSTAR2
		bool
		prompt "superstar2"

	config GPSD_DRIVER_OCEANSERVER
		bool
		prompt "oceanserver"

	config GPSD_DRIVER_MKT3301
		bool
		prompt "mkt3301"

	config GPSD_DRIVER_RTCM104V2
		bool
		depends on \
			GPSD_DRIVER_EARTHMATE || \
			GPSD_DRIVER_EVERMORE || \
			GPSD_DRIVER_GARMIN || \
			GPSD_DRIVER_ITRAX || \
			GPSD_DRIVER_SIRF || \
			GPSD_DRIVER_SUPERSTAR2 || \
			GPSD_DRIVER_TSIP || \
			GPSD_DRIVER_NAVCOM
		prompt "rtcm104v2"

	config GPSD_DRIVER_RTCM104V3
		bool
		depends on \
			GPSD_DRIVER_EARTHMATE || \
			GPSD_DRIVER_EVERMORE || \
			GPSD_DRIVER_GARMIN || \
			GPSD_DRIVER_ITRAX || \
			GPSD_DRIVER_SIRF || \
			GPSD_DRIVER_TSIP || \
			GPSD_DRIVER_NAVCOM
		prompt "rtcm104v3"

	config GPSD_DRIVER_NTRIP
		bool
		prompt "ntrip"

endmenu

menu "install options"

	config GPSD_GPSD
		bool
		prompt "gpsd"
		help
		  gpsd is a service daemon that monitors one or more
		  GPS- or AIS receivers attached through serial or USB
		  ports, making all data on the location/course/velocity
		  of the sensors available to be queried on TCP port 2947
		  of the host. With gpsd, multiple location-aware client
		  applications can share access to receivers without
		  contention or loss of data. Also, gpsd responds to
		  queries with a format that is substantially easier to
		  parse than the NMEA 0183 emitted by most GPS receivers.

	config GPSD_GPSCTL
		bool
		prompt "gpsctl"
		help
		  The gpsctl tool for tweaking GPS settings.
		  gpsctl 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.

	config GPSD_GPSPIPE
		bool
		prompt "gpspipe"
		help
		  A simple client that captures GPS output and/or gpsd
		  reports and sends it to standard output.
		  gpspipe is a tool to connect to gpsd and output the
		  received sentences to stdout. This makes the program
		  useful as a pipe from gpsd to another program or file.

	config GPSD_GPSFLASH
		bool
		prompt "gpsflash"
		help
		  This program is a firmware loader for GPS receivers
		  connected via serial or USB port. Presently it supports
		  only SiRF GPSes.

	config GPSD_GPXLOGGER
		bool
		prompt "gpxlogger"
		help
		  This program listens to DBUS broadcasts from gpsd
		  (org.gpsd.fix) and logs each fix to standard output as
		  they arrive in an XML format.

	config GPSD_CGPS
		bool
		prompt "cgps"
		help
		  cgps is a client resembling xgps, but without the
		  pictorial satellite display and able to run on a serial
		  terminal or terminal emulator.

	config GPSD_GPSMON
		bool
		prompt "gpsmon"
		select NCURSES
		help
		  The gpsmon real-time packet monitor and diagnostic tool.
		  (This replaces the sirfmon tool in older versions.)
		  gpsmon is a monitor that watches packets coming from a
		  GPS and displays them along with diagnostic information.
		  It supports commands that can be used to tweak GPS settings
		  in various ways; some are device-independent, some vary
		  with the GPS chipset type.

	config GPSD_GPSDECODE
		bool
		depends on GPSD_DRIVER_RTCM104V2
		prompt "gpsdecode"
		help
		  The gpsdecode packet decoder.
		  This tool is a batch-mode decoder for NMEA and various
		  binary packet formats associated with GPS, AIS, and
		  differential-correction services.

	config GPSD_GPSCAT
		bool "gpscat"
		select GPSD_PYTHON
		help
		  The gpscat tool dumps output from a serial device.
		  Optionally, it can packetize the data.
		  gpscat is a simple program for logging and packetizing
		  GPS data streams. It takes input from a specified file
		  or serial device (presumed to have a GPS attached) and
		  reports to standard output.

	config GPSD_GPSFAKE
		bool "gpsfake"
		select GPSD_PYTHON
		help
		  The gpsfake test harness simulating a GPS receiver.
		  gpsfake is a test harness for gpsd and its clients. It
		  opens a pty (pseudo-TTY), launches a gpsd instance that
		  thinks the slave side of the pty is its GPS device, and
		  repeatedly feeds the contents of one or more test logfiles
		  through the master side to the GPS.

	config GPSD_GPSPROF
		bool "gpsprof"
		select GPSD_PYTHON
		help
		  The gpsprof program for plotting spatial scatter of fixes
		  and fix latency.
		  gpsprof measures the various latencies between a GPS and
		  its client. It emits to standard output a GNUPLOT program
		  that draws an illustrative graph. It can also be told to
		  emit the raw profile data.

endmenu

endif