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

GPIO interface: sysfs deprecated, move to libgpiod #68

Open
daviderovell0 opened this issue Jan 4, 2022 · 0 comments
Open

GPIO interface: sysfs deprecated, move to libgpiod #68

daviderovell0 opened this issue Jan 4, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@daviderovell0
Copy link
Owner

At the moment we use the sysfs method to interact with GPIOs via the gpio-sysfs.h class. The interface is now old and deprecated, it should be replaced with something else. The best alternatives seems to be libgpiod, a C library coming with CLI utility tools that has been added to the Linux Kernel and therefore seems to be the safest in term of future support. Plus it doesn't add extra dependencies.

libgpiod in kernel.org: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/about/

Useful info and discussions:

@daviderovell0 daviderovell0 added the enhancement New feature or request label Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant