Menu

#214 Plans to support Raspberry Pi 5

New
nobody
None
High
Patch
2025-01-13
2023-10-19
No

Any plans this library be updated to work on the Raspberry Pi 5? Apparently the GPIO is now controlled by the RP1 chip, so this library doesn't currently work. We're looking to see if we need to refactor a library that uses RPi.GPIO as a dependency. Thanks.

Discussion

  • Melissa LeBlanc-Williams

    More info. It wasn't installing at all previously, but now it installs. When I try running GPIO.setup() as a user I get:

    RuntimeError: No access to /dev/mem.  Try running as root!
    

    If I run as root, I get:

    RuntimeError: Mmap of GPIO registers failed
    
     
  • Melissa LeBlanc-Williams

    Due to lack of response, we ended up refactoring and using libgpiod. Thanks.

     
  • Severin Hoffmann

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.