0

Help with implementing pigpio on Raspberry Pi Zero 2W, running 64 bit Bullseye...

Following the instructions for installation of the pigpio library, found in https://gpiozero.readthedocs.io/en/stable/remote_gpio.html :

sudo apt update
sudo apt upgrade
sudo apt install pigpio - reports: pigpio is already the newest version (1.79-1+rpt1)
sudo systemctl start pigpiod - reports nothing
sudo service pigpiod - reports: pigpiod: unrecognized service
sudo pigpiod - reports: Can't lock /var/run/pigpio.pid Can't initialize pigpio library
1
  • 1
    sudo systemctl start pigpiod "reports nothing" -> systemclt start only produces output if there is a problem, so that means the service was started successfully (or was already running, start will not do a restart). If you really want to know, use systemctl status pigpiod
    – goldilocks
    Commented Feb 23, 2022 at 16:30

2 Answers 2

1

It looks like the latest version of pigpio was already installed and the daemon was already running.

If pigs t returns a large number (changing each time) everything is okay.

1

Turns out pigpio is included with the standard PiOS Bullseye installation.

I wanted to install pigpio so that I could use PWM on Pi Zero 2W pins, which, from the resources I could find online, I understood was otherwise not available.

Under Bullseye (and the current Buster?) PWM is available on most pins through the gpiozero Python library.

Another case of read the (appropriate) docs.

1
  • You can select your own answer as the correct on if you'd like. You get no points for it, but there is some benefit to having questions with accepted answers - the benefit is to other readers who may be having the same issue.
    – Seamus
    Commented Oct 16, 2023 at 2:42

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.