From e5548e974f42f2080a74ed2a30d1e2927fe0ad9f Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 19 Nov 2018 19:56:24 -0800 Subject: man: Move man pages, source and result, into main/ part of cleaning up the root directory. --- man/gpsinit.xml | 170 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 man/gpsinit.xml (limited to 'man/gpsinit.xml') diff --git a/man/gpsinit.xml b/man/gpsinit.xml new file mode 100644 index 00000000..a3750023 --- /dev/null +++ b/man/gpsinit.xml @@ -0,0 +1,170 @@ + + + + +18 Jan 2013 + +gpsinit +8 +The GPSD Project +GPSD Documentation + + +gpsinit +initialize CAN kernel modules for GPSD + + + + + 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 + +Display a brief help text. + + + + +-v + +Display the version of gpsinit. + + + + +-n + +Set the CAN network number. The default is 0. + + + + +-s + +Set the baudrate to be used to communicate over the serial line +to the CAN hardware. The default is 38400 baud. + + + + +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 parameter interface_name and -s +speed can 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 + + + +sudo gpsinit plx_pci + +Attempt to load the module plx_pci and initialize net 0 for the +connection to a NMEA2000 network. It will set the baudrate to +250kBits. + + + +sudo gpsinit -n 1 plx_pci + +As above, but use net 1. + + + +sudo gpsinit -s 38400 slcan /dev/ttyUSB0 + +Attempt to load the module slcan and talk to the hardware at +38400 baud connected to port /dev/ttyUSB0. + + + + +gpsinit -h + +Display a brief help message. + + + +gpsinit -v + +Display the version of gpsinit. + + + + + +SEE ALSO + +gpsd8, +gps1, +libgps3, +libgpsmm3. + + + +AUTHOR +Reinhard Arlt reinhard.arlt@t-online.de. + + -- cgit v1.2.1