2

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.

3

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 Dec 7 '18 at 21:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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