开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: sBitx Raspios Bookworm


 

On Sat, Oct 21, 2023 at 02:23 PM, Mark Erbaugh wrote:

official way to manipulate GPIO pins

I didn't find an official statement.

I did see an interview with Eben Upton and he mentioned libgpiod but I can't find a reference for that.

I did find the following which shows libgpiod and gpiozero working on Pi 5 and rpi.gpio is said to not work.

I did check to see what came installed on my Pi 5 with Bookworm and here's what I see:

$ apt list | grep gpio | grep installed

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libgpiod2/stable,now 1.6.3-1+b3 arm64 [installed,automatic]
liblgpio1/stable,now 0.2.2-1~rpt1 arm64 [installed,automatic]
libpigpio-dev/stable,now 1.79-1+rpt1 arm64 [installed,automatic]
libpigpio1/stable,now 1.79-1+rpt1 arm64 [installed,automatic]
libpigpiod-if-dev/stable,now 1.79-1+rpt1 arm64 [installed,automatic]
libpigpiod-if1/stable,now 1.79-1+rpt1 arm64 [installed,automatic]
libpigpiod-if2-1/stable,now 1.79-1+rpt1 arm64 [installed,automatic]
pigpio-tools/stable,now 1.79-1+rpt1 arm64 [installed,automatic]
pigpio/stable,now 1.79-1+rpt1 arm64 [installed]
pigpiod/stable,now 1.79-1+rpt1 arm64 [installed,automatic]
python3-gpiozero/stable,stable,now 2.0-1 all [installed]
python3-lgpio/stable,now 0.2.2-1~rpt1 arm64 [installed,automatic]
python3-libgpiod/stable,now 1.6.3-1+b3 arm64 [installed]
python3-pigpio/stable,stable,now 1.79-1+rpt1 all [installed]
python3-rpi.gpio/stable,now 0.7.1~a4-1+b4 arm64 [installed]
raspi-gpio/stable,now 0.20191001 arm64 [installed]
rpi.gpio-common/stable,now 0.7.1~a4-1+b4 arm64 [installed,automatic]

Note that 'installed' doesn't necessarily mean 'works on Pi 5'.

Note my Pi 5 is not installed in the sbitx chassis nor does it have the sbitx software on it at this point in time so I can't test the sbitx with it right now.

-- Regards, Dave, N1AI

Join [email protected] to automatically receive all group messages.