As I'm currently trying to debug an issue with my SPI link, which is addressed through pigpio, I'd like to make pigpiod write warnings and debug messages (if such occur) to stderr.
Asked
Active
Viewed 896 times
1 Answers
4
Errors are reported to /dev/pigerr on the Pi running the daemon.
So cat /dev/pigerr may provide useful information.
You can enable tracing of the API by using the pigs csi command.
Numbers 1 to 7 should uncover more tracing.
Try something like pigs csi 5 or pigs csi 6.
The results will be sent to /dev/pigerr.
joan
- 71,024
- 5
- 73
- 106
pigs csi 5was apparently the solution. I now get quite a lot of debug messages. – Neppomuk Dec 07 '18 at 21:54/dev/pigerris a FIFO. Usecatas recommended, nottail -f, which will not show you anything. – Diomidis Spinellis Apr 06 '23 at 07:16