From: cl@isbd.net   
      
   The Natural Philosopher wrote:   
   > On 28/08/2025 17:34, Scott Alfter wrote:   
   > > In article , Chris Green    
   wrote:   
   > >> I have upgraded my Pi 4B from bookworm to trixie and, while most   
   > >> things work fine, my gpiod code in Python is completely broken. Can   
   > >> anyone confirm that everything has changed a lot or am I going mad?   
   > >   
   > > I noticed that when I tried updating a RPi 4 + Geekworm X728 system   
   > > yesterday. The scripts that talk to the X728 (using rpi-lgpio instead of   
   > > rpi-gpio) were completely broken. I'm trying to rework them to use   
   > > gpiozero, hoping that it might be a better-supported system for the long   
   > > term.   
   > >   
   > It's probably some rearrangement of the /sys hierarchy.   
   >   
   > At some level the C library gpio functions should still work...   
   >   
   OP here, yes, I'm not going mad. There are major changes between the   
   i.6.x and 2.x versions of python3-libgpiod. The trouble is that   
   finding out about it all is very difficult because there are so many   
   different python wrappers for gpiod and this makes searching very   
   frustrating.   
      
   The best I've found so far is the 'source':-   
    https://github.com/brgl/libgpiod/blob/master/bindings/python/README.md   
      
   It has some Python examples but the coding style is very odd and makes   
   it difficult to follow what's going on IMHO.   
      
   --   
   Chris Green   
   Ā·   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|