Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysfs GPIO is to be deprecated #100

Open
jhjames3 opened this issue Dec 23, 2019 · 1 comment
Open

sysfs GPIO is to be deprecated #100

jhjames3 opened this issue Dec 23, 2019 · 1 comment

Comments

@jhjames3
Copy link

Board Type

Raspberry PI but not applicable

Operating System

Linux

Swift Version

I use prebuilt binaries

Description

_sysfs GPIO is deprecated and will be removed in 2020, so maybe it is time to update your lib if you are still interested in maintaining it.
Thanks for your consideration
John James k1ym

Video explaining the interface
https://www.youtube.com/watch?v=BK6gOLVRKuU

New GPIO Interface for User Space - Bartosz Golaszewski, BGDev
https://www.youtube.com/watch?v=cdTLewJCL1Y&list=PLbzoR-pLrL6pISWAq-1cXP4_UZAyRtesk&index=56

Https://git.kernal.org/pub/scm/libs/libgpiod/libgpiod.git

===
https://www.beyondlogic.org/an-introduction-to-chardev-gpio-and-libgpiod-on-the-raspberry-pi/
An Introduction to chardev GPIO and Libgpiod on the Raspberry PI

@uraimo
Copy link
Owner

uraimo commented Dec 24, 2019

Yeah, thanks for pointing this out, I knew about the new interface but didn't know they already planned a deadline for deprecating it.
Definitely will be implemented, in both v1 and v2 (that will come out of beta soon, since I've other projects to work on in 2020).

(And for those reading this, this matters only for boards other than the Raspberry Pi, no modifications needed for the Pi memory registers interface).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants