Monday, April 20, 2020

[fedora-arm] Re: Raspberry Pi GPIO libraries

Hi Ben,

> I've been asked in a GitHub issue[1] if there is any work in progress
> (or if someone wants to take a look) for getting the GPIO libraries
> for Raspberry Pi working on Fedora. Someone subsequently posted a link
> to a BZ[2] where Peter said "the RPIO._GPIO module needs to be updated
> to work with the new kernel interfaces". Is that still the case?

It is correct. They need to be ported to use libgpiod and associated
bindings so they use the modern and secure interface, not the old
deprecated interfaces.

There was discussion about forking them or implementing the same
interface in a different library but I don't see the point in that
because it means all the millions of instructions on the internet
won't work. What needs to be doing is to engage with the maintainer of
RPi.GPIO to get the support landed there so it uses libgpiod by
default and if that's not available falls back to the old way, that
way it will work with new systems buy fall back and all the
instructions for cool projects will just work everywhere.

Peter

[1] https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/

> [1] https://github.com/gpiozero/gpiozero/issues/840
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=1471731
>
> --
> Ben Cotton
> He / Him / His
> Senior Program Manager, Fedora & CentOS Stream
> Red Hat
> TZ=America/Indiana/Indianapolis
> _______________________________________________
> arm mailing list -- arm@lists.fedoraproject.org
> To unsubscribe send an email to arm-leave@lists.fedoraproject.org
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org

No comments:

Post a Comment