benkuper / Chataigne

Artist-friendly Modular Machine for Art and Technology
https://benjamin.kuperberg.fr/chataigne
GNU General Public License v3.0
1.16k stars 55 forks source link

GPIO support outdated for RPI5 #214

Open jOcK0CkO opened 8 months ago

jOcK0CkO commented 8 months ago

Environment -Device: Raspberry Pi 5

Describe the bug As Pi5 machines have a new architectures, pigpio library is no more in use on those machines, so the chataigne's GPIO module isn't recognizing the device anymore. It seems now, the library handling GPIO is libgpiod.

Additional context Here are the threads talking about pigpio and Pi5: https://github.com/joan2937/pigpio/issues/586 https://github.com/joan2937/pigpio/issues/589

Here is the libgpio documentation: https://libgpiod.readthedocs.io/en/latest/index.html

And here is the RP1 documentation (which seems to be the new hardware processing GPIO on Pi5): https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf

benkuper commented 4 months ago

too bad... what are the suggestions ?