- buster 3.17-7
- buster-backports 3.20-12~bpo10+1
- testing 3.22-3
- unstable 3.22-4
GPSINIT(8) | GPSD Documentation | GPSINIT(8) |
NAME¶
gpsinit - initialize CAN kernel modules for GPSDSYNOPSIS¶
gpsinit [-n control] [-s speed] module_name [interface_name]
gpsinit -h
gpsinit -v
DESCRIPTION¶
gpsinit initializes whatever kernel-level modules are needed to enable special non-serial hardware to communicate with a gpsd instance. Note: it will need root permissions to load modules and perform other special operations, such as changing kernel-interface baudrates.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.
The program accepts the following options:
-h
-v
-n
-s
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
beaglebone
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¶
sudo gpsinit plx_pcisudo gpsinit -n 1 plx_pci
sudo gpsinit -s 38400 slcan /dev/ttyUSB0
gpsinit -h
gpsinit -v
SEE ALSO¶
gpsd(8), gps(1), libgps(3), libgpsmm(3).AUTHOR¶
Reinhard Arlt <reinhard.arlt@t-online.de>.18 Jan 2013 | The GPSD Project |