-
Notifications
You must be signed in to change notification settings - Fork 437
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
Can't open device file: /var/lib/jpcnn/char_dev on RPi 2 B (kernel 4.1) #56
Comments
Just saw this https://github.com/jetpacapp/DeepBeliefSDK#getting-started-on-a-raspberry-pi-2 on the front page, can't believe I missed it.. Did not try it yet, but I guess this is the way to go in RPi 2. As such, I'm closing this issue. |
Here's an update on this: After following the instructions for RPi 2, I still got the same error. Purely by coincidence I found here that in the latest linux kernel (4.1, which happens to be the one I'm using, after a recent upgrade), the device major for the mailbox has changed from 100 to 249. So I went on and changed that in source/src/lib/pi/mailbox.cpp :
Then I went on and followed the instructions in this issue, to remove installed jpcnn: #50 In addition, I had to delete the device file created by the library: Re-compiled as per the RPi2 instructions.
And now it works like a charm! |
I have same problem :( |
yconst, |
Hey yconst you really helped me figure that one out too. Much appreciated! |
I'm following the instructions in the following blog post step by step: http://petewarden.com/2014/08/07/how-to-optimize-raspberry-pi-code-using-its-gpu/ ; however, I keep getting the following:
while testing the example using:
Any thoughts what may be the cause?
The text was updated successfully, but these errors were encountered: