ZERK(1)
π ZERK(1) β the all purpose GREIS fitting, bestie edition
okay so real talk: this is the manual page for zerk, part of the GPSD Documentation crew. if you've got a Javad GPS that speaks GREIS, you're in the right place. if notβ¦ we'll get to that. π«Ά
πΈ NAME
zerk β All purpose GREIS fitting
β¨ OPTIONS (the quick peek) β¨
like, the vibe at a glance:
zerk [OPTIONS] [server[:port[:device]]]
zerk -h
zerk -V
π DESCRIPTION
so. zerk is an all purpose GREIS (that's GNSS Receiver External Interface Specification, bestie) fitting. if you do not have a Javad GPS that speaks the GREIS protocol then you can stop reading right now, no hard feelings, go touch grass. π±
this tool operates with your Javad GPS at a very low level. to truly understand zerk you must first be familiar with your Javad GPS and the documentation for the GREIS protocol. GREIS Guide: https://www.javad.com/downloads/javadgnss/manuals/GREIS/GREIS_Reference_Guide.pdf π
zerk can decode common GREIS messages, poll the GPS status, enable and disable GPS features, and send user-generated commands to the GPS. it can read GREIS messages from a file. it can read and write directly through a serial device, or through a running gpsd instance. versatile queen. π
zerk does not require root privileges, except maybe to access the serial port in direct mode. it will run fine as root. running under sudo will cause loss of functionality β so like, don't do that unless you have to. π
π OPTIONS π
the program accepts the following options:
-?,-hβ makeszerkprint a usage message and exit. the classic "help me help you" move.-c COMMANDβ send a text string to the GPS. takes one parameter, COMMAND, the command string to send to the GPS. the string is sent verbatim, except a newline is appended. (yes, it just yells it at your receiver, exactly as written.)-d OPTIONβ disable an option in the GPS. takes one parameter, OPTION, the option to disable.zerkwill exit after the GPS acknowledges the command, unless the-Wis given.4HZβ disable basic GREIS messages at 4Hz. the messages are:[RT],[UO],[GT],[PV],[SG],[DP],[SI],[EL],[AZ],[EC],[SS], and[ET]COMPASSβ disable use of the COMPASS (BeiDou) constellation.CONSβ disable use of all constellations.DEFMSGβ disable the default message set (/dev/msg) at 1Hz.GALILEOβ disable use of the GALILEO constellation.GLONASSβ disable use of the GLONASS constellation.GPSβ disable use of the GPS constellation.IPRβ disable all Integer Pseudo Range messages. these are[rx],[rc],[r1],[r2],[r3],[r5],[rl].IRNSSβ disable use of the IRNSS constellation.NMEAβ disable basic NMEA 4.1e messages at 4Hz. the messages are GBS, GGA, GSA, GST, GSV, RMC, VTG, and ZDA.QZSSβ disable use of the QZSS constellation.SBASβ disable use of the SBAS constellation.SNRβ disable all SNR messages, except[EC]. the messages disabled are:[E1],[E2],[E3],[E5],[El].
-e OPTIONβ enable an option in the GPS. takes one parameter, OPTION, the option to enable.zerkwill exit after the GPS acknowledges the command, unless the-Wis given.-eaccepts the same *OPTION*s as-d, except the action is to enable the option. (same list, opposite energy β¨)-f FILEβ connect to a file or device. takes one parameter, FILE, the file or device to open. files are opened read-only. character devices are opened read/write, unless the-rparameter is given. requires thepyserialmodule.-O OAFβ load an Option Authorization File (OAF) into the GPS. takes one parameter, OAF, command file to read. the OAF is just a special case of a'.jpo'(GREIS command file).-Owill send any valid.jpofile to the GPS.-p PRESETβ send a preset command the GPS. takes one parameter, PRESET, the name of the command to send.zerkwill exit after the GPS acknowledges the command, unless the-Wis given.COLDBOOTβ coldboot the GPS.CONSβ poll the enabled constellations.DMβ disable all periodic GREIS messages.IDβ poll the receiver ID.IPRβ poll all Integer Pseudo Range messages. these are[rx],[rc],[r1],[r2],[r3],[r5],[rl].OAFβ poll all OAF options.RESETβ reset (reboot) the GPS.SERIALβ poll receiver serial number.SNRβ poll all Signal to Noise Ratio (SNR) messages.[EC],[E1],[E2],[E3],[E5],[El].VENDORβ poll GPS vendor.VERβ poll GPS version.
-rβ read only. do not send anything to the GPS. just vibes, no talking. π-R RAWβ save all raw data from the GPS into the file RAW.-S SPEEDβ configure the GPS serial speed to SPEED bps.-s SPEEDβ set local serial port speed to SPEED bps. default 115,200 bps.-Vβ printzerkversion and exit.-v VERBOSITYβ set verbosity level to VERBOSITY. verbosity can be from0(very quiet), to4(very noisy). default2.-Wβ force waiting the entire wait time. no early exit for completion of-d,-eor-pcommand. patience is a virtue, apparently. π§-w WAITβ wait for WAIT seconds before exiting. will exit early on command completion of-d,-eor-pcommand, unless-Wis given. default2.0second.
π¦ ARGUMENTS
by default, clients collect data from the local gpsd daemon running on localhost, using the default GPSD port 2947. the optional argument to any client may override this behavior: [server[:port[:device]]]
for further explanation, and examples, see the ARGUMENTS section in the gps(1) man page. π
π ENVIRONMENT
options can be placed in the ZERKOPTS environment variable. ZERKOPTS is processed before the CLI options. so your env var is the opening act, and your flags are the headliner. π€
π EXAMPLES π
print current Javad serial port of GPS connected to local running gpsd:
zerk -c "print,/cur/term"
decode raw log file:
zerk -r -f greis-binary.log -v 2
change GPS port speed of device on /dev/ttyAMA0 to 230,400 bps:
zerk -S 230400 -f /dev/ttyAMA0
watch entire GPS reset cycle:
zerk -p RESET -v 2 -w 20 -W
poll SVs Status:
zerk -W -w 2 -v 2 -c "out,,jps/{CS,ES,GS,Is,WS,QS}"
dump gpsd data from remote server:
zerk -v 2 -w 5 server
π RETURN VALUES π
0β on success. slay.1β on failure. π
π₯ SEE ALSO
zerk is written to conform to the official Javad documentation for the GREIS protocol. GREIS Guide: https://www.javad.com/downloads/javadgnss/manuals/GREIS/GREIS_Reference_Guide.pdf
π RESOURCES
project web site: https://gpsd.io/
π COPYING
this file is Copyright 2013 by the GPSD project
SPDX-License-Identifier: BSD-2-clause
π AUTHOR
Gary E. Miller
and that's the whole page, bestie. no gatekeeping, every flag accounted for, iykyk. go poll something. π
GPSD, Version 3.27.5 β dated 2025-11-04 β and that's your ZERK(1) moment, periodt. π
β¨
π¦ where this page comes from
- arch rolling: gpsd 3.27.5-1 Β· BSD
- fedora 44: gpsd-clients 1:3.27.5-3.fc44 Β· BSD-2-Clause
- fedora 44: gpsd-clients 1:3.27.5-5.fc44 Β· BSD-2-Clause
- nixos 26.05: gpsd 3.27.5
- nixpkgs unstable: gpsd 3.27.5
- opensuse-leap 16.0: gpsd-clients 3.27.5-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gpsd-clients 3.27.5-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gpsd-clients 3.27.5-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gpsd-clients 3.27.5-160000.1.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms