GPSINIT(8)
β¨ GPSINIT(8) β¨
okay bestie, welcome to gpsinit β the little glow-up tool from the GPSD Documentation that gets your kernel modules ready so gpsd can actually talk to your fancy non-serial hardware π
π NAME π
gpsinit β initialize CAN kernel modules for GPSD
πΈ SYNOPSIS πΈ
gpsinit [-n control] [-s speed] module_name [interface_name]
gpsinit -h
gpsinit -V
π¦ DESCRIPTION π¦
so like, gpsinit initializes whatever kernel-level modules are needed to enable special non-serial hardware to communicate with a gpsd instance. heads up tho: it will need root permissions to load modules and perform other special operations, such as changing kernel-interface baudrates. it's giving main character energy but with sudo π
At present, all modes of this tool are concerned with setting up kernel-level interfaces to hardware on a CAN (Control Area Network) speaking NMEA2000. yes bestie, we're in CAN-land now πβ¨
The program accepts the following options:
-hβ Display a brief help text.-nβ Set the CAN network number. The default is0.-sβ Set the baudrate to be used to communicate over the serial line to the CAN hardware. The default is38400baud.-Vβ Display the version ofgpsinit.
The parameter module_name is mandatory. The socket CAN driver module module_name.ko will be loaded. gpsinit recognize the following module names:
plx_pci,esd_usb2,vcan,slcanβ The parameterinterface_nameand-s speedcan used here.beagleboneβ The dcan module needed for the beaglebone is part of the Linux kernel, so no module is loaded in this case.
The parameter interface_name is needed for slcan hardware only. It gives the name of the serial device to which the SL CAN hardware is connected. The default is /dev/ttyUSB0.
π EXAMPLES π
All the following examples probably need to be run as root. no cap π«Ά
gpsinit plx_pciβ Attempt to load the moduleplx_pciand initialize net0for the connection to a NMEA2000 network. It will set the baudrate to250kBits.gpsinit -n 1 plx_pciβ As above, but use net1.gpsinit -s 38400 slcan /dev/ttyUSB0β Attempt to load the moduleslcanand talk to the hardware at38400baud connected to port/dev/ttyUSB0.gpsinit -hβ Display a brief help message.gpsinit -vβ Display the version ofgpsinit.
not me noticing the examples say-vwhile the options list says-Vπ keeping it exactly as the original wrote it, fr fr. copy-paste it verbatim bestie, don't @ me.
π RETURN VALUES π
0β on success. slay β¨1β on failure π
π SEE ALSO π
π§ RESOURCES π§
Project web site: https://gpsd.io/
π COPYING π
This file is Copyright 2013 by the GPSD project SPDX-License-Identifier: BSD-2-clause
π AUTHOR π
Reinhard Arlt
and that's the whole vibe check, bestie π«Ά this page is from GPSD, Version 3.27.5, dated 2025-11-04 β iconic, timeless, periodt π πΈ
π¦ where this page comes from
- arch rolling: gpsd 3.27.5-1 Β· BSD
- fedora 44: gpsd 1:3.27.5-3.fc44 Β· BSD-2-Clause
- fedora 44: gpsd 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 3.27.5-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gpsd 3.27.5-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gpsd 3.27.5-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gpsd 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