summaryrefslogtreecommitdiffstats
path: root/rules/gpsd.in
blob: a86cb063589844111fae8afbe33eb7d308c05a8c (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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
## SECTION=system_libraries
menuconfig GPSD
	tristate
	select HOST_PYTHON3_SCONS
	select LIBC_M
	select LIBC_NSL
	select LIBC_PTHREAD
	select GCCLIBS_CXX
	select GCCLIBS_GCC_S
	select BLUEZ			if GPSD_BLUEZ
	select BLUEZ_LIBBLUETOOTH	if GPSD_BLUEZ
	select LIBUSB			if GPSD_USB
	select NCURSES			if GPSD_NCURSES
	select DBUS_GLIB		if GPSD_DBUS
	select PYTHON3			if GPSD_PYTHON
	select PYTHON3_SSL		if GPSD_PYTHON
	select PYSERIAL3		if GPSD_PYSERIAL
	select SYSTEMD			if GPSD_SYSTEMD
	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_NCURSES
	bool

config GPSD_PYSERIAL
	bool

config GPSD_SYSTEMD
	bool
	default INITMETHOD_SYSTEMD

comment "time service     ---"

config GPSD_OSCILLATOR
	bool
	prompt "Disciplined oscillator support"

comment "export methods   ---"

config GPSD_DBUS
	bool
	prompt "enable DBUS export support"

config GPSD_SHM
	bool
	prompt "export via shared memory"

config GPSD_SOCKET
	bool
	prompt "data export over sockets"

comment "communication    ---"

config GPSD_BLUEZ
	bool
	prompt "BlueZ support for Bluetooth devices"

config GPSD_USB
	bool
	prompt "libusb support for USB devices"

comment "Other options    ---"

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

config GPSD_PROFILING
	bool
	prompt "enable profiling"

config GPSD_GROUP
	string
	prompt "gpsd group"
	help
	  This group is used for privilege separation.

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

config GPSD_MAX_CLIENTS
	string
	prompt "max clients"

config GPSD_MAX_DEVICES
	string
	prompt "max devices"

menu "drivers"

	config GPSD_DRIVER_AIVDM
		bool
		prompt "aivdm"

	config GPSD_DRIVER_ASHTECH
		bool
		prompt "ashtech"

	config GPSD_DRIVER_FURY
		bool
		prompt "fury"

	config GPSD_DRIVER_FV18
		bool
		prompt "fv18"

	config GPSD_DRIVER_GEOSTAR
		bool
		prompt "geostar"

	config GPSD_DRIVER_GREIS
		bool
		prompt "greis"

	config GPSD_DRIVER_ISYNC
		bool
		prompt "isync"

	config GPSD_DRIVER_ONCORE
		bool
		prompt "oncore"

	config GPSD_DRIVER_SKYTRAQ
		bool
		prompt "skytraq"

	config GPSD_DRIVER_NMEA
		bool
		prompt "nmea"

	config GPSD_DRIVER_SIRF
		bool
		prompt "sirf"

	config GPSD_DRIVER_TSIP
		bool
		prompt "tsip"

	config GPSD_DRIVER_TRIPMATE
		bool
		prompt "tripmate"

	config GPSD_DRIVER_EARTHMATE
		bool
		prompt "earthmate"

	config GPSD_DRIVER_ITRAX
		bool
		prompt "itrax"

	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_UBLOX
		bool
		select GPSD_DRIVER_NMEA
		prompt "ublox"

	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_MTK3301
		bool
		prompt "mtk3301"

	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_GPSDCTL
		bool
		prompt "gpsdctl"
		help
		  gpsdctl is a tool for sending commands to an instance of
		  gpsd over its control socket to add or remove devices from
		  the daemon's device list.

	config GPSD_SYSTEMD_UNIT
		bool
		default y
		depends on INITMETHOD_SYSTEMD && GPSD_GPSD
		prompt "systemd unit files for gpsd"

	config GPSD_GPSD_ARGS
		string
		depends on GPSD_SYSTEMD_UNIT
		prompt "gpsd arguments"

	config GPSD_GPS2UDP
		bool
		prompt "gps2udp"
		help
		  gps2udp is a tool to connect to gpsd and output the
		  received sentences to one or many UDP host:port
		  destinations.

	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_GPSDECODE
		bool
		prompt "gpsdecode"
		depends on GPSD_DRIVER_RTCM104V2
		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_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_GPSRINEX
		bool
		prompt "gpsrinex"

	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_LCDGPS
		bool
		prompt "lcdgps"

	config GPSD_CGPS
		bool
		select GPSD_NCURSES
		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
		select GPSD_NCURSES
		prompt "gpsmon"
		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_NTPSHMMON
		bool
		select GPSD_SHM
		prompt "ntpshmmon"
		help
		  Capture samples from GPS or other ntpd refclock sources.
		  This program monitors the shared-memory segments updated by
		  gpsd (and possibly other refclock sources) as a way of
		  communicating with ntpd, the Network Time Protocol daemon.
		  It reads these in exactly the way an ntpd instance does.
		  It can be run concurrently with ntpd without interfering with
		  ntpd's normal operation.

	config GPSD_PPSCHECK
		bool
		prompt "ppscheck"
		help
		  ppscheck watches a specified serial port for transitions
		  that might be PPS.

	config GPSD_GEGPS
		bool
		select GPSD_PYTHON
		prompt "gegps"

	config GPSD_GPSCAT
		bool
		select GPSD_PYTHON
		prompt "gpscat"
		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
		select GPSD_PYTHON
		prompt "gpsfake"
		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
		select GPSD_PYTHON
		prompt "gpsprof"
		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.

	config GPSD_UBXTOOL
		bool
		select GPSD_PYTHON
		select GPSD_PYSERIAL
		prompt "ubxtool"
		help
		  ubxtool is a tool for u-blox GPS. ubxtool can decode common
		  u-blox binary messages, poll the GPS status, enable and
		  disable GPS features, and send user generated commands to
		  the GPS.

	config GPSD_ZERK
		bool
		select GPSD_PYTHON
		select GPSD_PYSERIAL
		prompt "zerk"
		help
		  zerk is an all purpose GREIS fitting. zerk can decode common
		  GREIS messages, poll the GPS status, enable and disable GPS
		  features, and send user generated commands to the GPS.
endmenu

endif