-
Notifications
You must be signed in to change notification settings - Fork 44
Sysfs interface for GPIO is now deprecated #38
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
Comments
Thanks for the heads up @samdolt, I believe we should be able to select the appropriate one at runtime, but this will require a bit more investigation into the specifics of how gpio-cdev works. Dropping sysfs support altogether will probably not be wise for some time (as plenty of systems still run kernels older than 4.4). |
I found https://www.youtube.com/watch?v=76j3TIqTPTI&feature=youtu.be to be pretty helpful in understanding the new gpio interface. |
Thanks @marshallpierce. I've started a bit of development (not pushed yet). Staging for that work will be at https://github.com/posborne/rust-gpio-cdev |
|
And it will be removed in 2020.
See https://www.kernel.org/doc/Documentation/ABI/obsolete/sysfs-gpio
And the new https://www.kernel.org/doc/Documentation/ABI/testing/gpio-cdev
You can also see this talk from the last Embedded Linux Conference Europe (posted yesterday by the Linux Foundation):
https://www.youtube.com/watch?v=cdTLewJCL1Y&list=PLbzoR-pLrL6pISWAq-1cXP4_UZAyRtesk&index=56
The text was updated successfully, but these errors were encountered: