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.

1 Answer 1


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.

  • OK, thank you! pigs csi 5 was apparently the solution. I now get quite a lot of debug messages.
    – Neppomuk
    Commented Dec 7, 2018 at 21:54
  • Keep in mind that /dev/pigerr is a FIFO. Use cat as recommended, not tail -f, which will not show you anything. Commented Apr 6, 2023 at 7:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.