-
Notifications
You must be signed in to change notification settings - Fork 93
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
Inappropriate ioctl for device #22
Comments
Try something like this:
|
What was the problem here? Can we close this issue? |
Hi, I'm getting a similar error and can't resolve by substituting the device to device="/dev/spidev0.1. was this ever resolved? I don't really understand what my error means as well... I ran the example usage code (saved the file on my machine as "test_pylepton.py") and tried to run it using python3 and got this error: Traceback (most recent call last): Could you please advise what I'm doing wrong here? Any help would be very much appreciated |
GetThermal? Do you have a breakout board or a PureThermal board? |
Thanks for your reply @kekiefer. I have a PureThermal Mini connected to my mac over USB. I meant that I was able to follow the installation of the GetThermal app: And it works well with my camera, as well as just using it as a "normal" webcam with OBS. I'm interested in using the PureThremal mini with OpenCV+python to do some analysis and get temperature readings for each pixel. I was hoping to use pylepton to do so. |
pylepton is just for the breakout board. You should look at https://github.com/groupgets/purethermal1-uvc-capture |
Check your cable setup. An incorrect setup will throw this error when using pylepton 3.0. This guide from FLIR shows the correct GPIO setup: https://lepton.flir.com/forums/topic/pylepton-overlay-guide-2-0-for-raspbian-pixel/ |
I've tried running a basic capture per the README.MD instructions under both Python v2.7.9 (with Numpy v1.8.2 & OpenCV v2.4.9.1) and Python 3.4.2 (with Numpy v1.8.2 & OpenCV v3.4.0) and always receive the following errors:
Python v2.7.9
Python v3.4.2
Doing a
ls /dev
reports that my SPI device isspidev0.0
.I'm a complete newbie to Linux and Python and I just have no idea where to even start troubleshooting this, frankly I don't even know what the error means!
Any help very much appreciated :)
The text was updated successfully, but these errors were encountered: