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

Check inotify on Linux and see if it could be used to implement GPIO drivers #18

Open
flongo82 opened this issue May 16, 2016 · 0 comments
Assignees

Comments

@flongo82
Copy link
Member

In order to export GPIO and other pseudo file systems with our implementation of drivers we would need to use inotify. It should be used when new files are generated by GPIO when interaction with a specific pin is enabled.

Lightning-rod should understand that new files have been generated and it should automatically export them to be used remotely.

Probably it is better to implement a white list within the JSON file containing the structure of the file system so that some files are actually exported while some other are ignored.

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

No branches or pull requests

2 participants