Re: Raspberry Pi GPIO libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux