adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
439 stars 327 forks source link

This adds support for libgpiod 2.x without breaking support for 1.x #757

Closed makermelissa closed 6 months ago

makermelissa commented 6 months ago

Fixes #740. Version is automatically detected and the appropriate version is loaded. Tested on 1.5.4, 1.6.3, and 2.1.3.

graemeok commented 6 months ago

thanks Melissa,
With AdafruitBlinka version 8.28.0, I can now use 'pip install gpiod' => gpiod.__version_\ = 2.13.
The issue with piTFT not being able to set CE0 on PI5 remains.
The /etc/udev/rules.d/99-com.rules look the same for bullseye and bookworm - but it feels like a permissions problem of some sort?

makermelissa commented 6 months ago

The issue with piTFT not being able to set CE0 on PI5 remains.The /etc/udev/rules.d/99-com.rules look the same for bullseye and bookworm - but it feels like a permissions problem of some sort?

@graemeok check out #755. I got it working by enabling a specific device tree overlay. Currently am still testing to see the ramifications of using it before automating some kind of install.