." Process this file with ." groff -man -Tascii pigpiod.1 ." .TH pigpiod 1 2012-2020 Linux "pigpio archive" .SH NAME pigpiod - A utility to start the pigpio library as a daemon. .SH SYNOPSIS sudo pigpiod [OPTION]... .SH DESCRIPTION .ad l .nh pigpiod is a utility which launches the pigpio library as a daemon. .br .br Once launched the pigpio library runs in the background accepting commands from the pipe and socket interfaces. .br .br The pigpiod utility requires sudo privileges to launch the library but thereafter the pipe and socket commands may be issued by normal users. .br .br pigpiod accepts the following configuration options .br .br .SH OPTIONS .IP "\fB-a value\fP" DMA memory allocation mode. 0=AUTO, 1=PMAP, 2=MBOX. Default AUTO . .IP "\fB-b value\fP" GPIO sample buffer size in milliseconds. 100-10000. Default 120 . .IP "\fB-c value\fP" Library internal settings. . Default 0 . .IP "\fB-d value\fP" Primary DMA channel. 0-14. Default 14 . .IP "\fB-e value\fP" Secondary DMA channel. 0-14. Default 6. Preferably use one of DMA channels 0 to 6 for the secondary channel . .IP "\fB-f\fP" Disable fifo interface. . Default enabled . .IP "\fB-g\fP" Run in foreground (do not fork). . Default disabled . .IP "\fB-k\fP" Disable local and remote socket interface. . Default enabled . .IP "\fB-l\fP" Disable remote socket interface. . Default enabled . .IP "\fB-m\fP" Disable alerts (sampling). . Default enabled . .IP "\fB-n IP address\fP" Allow IP address to use the socket interface. Name (e.g. paul) or dotted quad (e.g. 192.168.1.66). If the -n option is not used all addresses are allowed (unless overridden by the -k or -l options). Multiple -n options are allowed. If -k has been used -n has no effect. If -l has been used only -n localhost has any effect . .IP "\fB-p value\fP" Socket port. 1024-32000. Default 8888 . .IP "\fB-s value\fP" Sample rate. 1, 2, 4, 5, 8, or 10 microseconds. Default 5 . .IP "\fB-t value\fP" Clock peripheral. 0=PWM 1=PCM. Default PCM. pigpio uses one or both of PCM and PWM. If PCM is used then PWM is available for audio. If PWM is used then PCM is available for audio. If waves or hardware PWM are used neither PWM nor PCM will be available for audio. . .IP "\fB-v -V\fP" Display pigpio version and exit. . . .IP "\fB-x mask\fP" GPIO which may be updated. A 54 bit mask with (1<