-
Notifications
You must be signed in to change notification settings - Fork 117
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
I/O errors on first launch #31
Comments
Is the following the case:
If this is the case, then the error is explained by the fact that the Linux 3.13 kernel dropped support for detecting changes on GPIO output pins per hardware interrupt. It can still detect interrupts on input pins. This is documented in the onoff readme here :). See also raspberrypi/linux#808 and torvalds/linux@d468bf9 |
That's precisely it: |
Given that I have no information about the circuit you're building, I don't know. If everything is electrically ok, the setEdge and setDirection methods could probably be used to handle the software side of things. |
Electrically everything is fine - it was working on a RPi model B+ before I upgraded to RPi 2. I was most likely using an older version of raspbian. |
The first time I launch a node application (as sudo) that uses onoff.js, I get this error:
Subsequent launches are fine, until the next reboot.
Any ideas?
The text was updated successfully, but these errors were encountered: