I've now got an Ultimate GPS board attached to the UART, and use both the GPIO pins, and the SPI interface by addressing the pigpio library. The pigpiod docs tell me that pigpiod would control the UART, too, but then it would probably interfere with the gpsd, which already controls the UART.

Any suggestions?

1 Answer 1


pigpio can control the UART - but it only does so if you ask it to, by making a C call to serOpen() (or it's equivalent from Python, pigs, etc).

So the solution is don't use pigpio to control the UART, that will leave the UART available for GPSD to control,

  • You meant serial_open(), dindn't you?
    – Neppomuk
    Jan 28, 2018 at 17:58
  • 1
    Yes, serial_open() is the name of the function used by the Python module and the pigpiod I/F C library. Both eventually call the underlying C serOpen() function.
    – joan
    Jan 28, 2018 at 18:03

Your Answer

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

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