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

Resource temporarily unavailable #2

Open
salamanders opened this issue Apr 3, 2013 · 2 comments
Open

Resource temporarily unavailable #2

salamanders opened this issue Apr 3, 2013 · 2 comments

Comments

@salamanders
Copy link

I'm getting an error with the image_capture script:

python capture_picture.py 
Traceback (most recent call last):
  File "capture_picture.py", line 43, in <module>
    image_data = video.read()
IOError: [Errno 11] Resource temporarily unavailable

It seems to be installed ok:

python list_devices.py 
/dev/video0
    driver:       STV06xx
    card:         Camera
    bus info:     usb-bcm2708_usb-1.2
    capabilities: readwrite, streaming, video_capture
@jnohlgard
Copy link
Owner

Does the device work in any other programs, e.g. gstreamer or cheese?

@salamanders
Copy link
Author

Sorta. I can get it to work under a generic v4l c program, but only in raw mode. But it works pretty consistently when I do that. Other apps I've tried (motion, etc) don't work.
I think it is because the "Logitech QuickCam Messenger" has a dodgy support history in v4l and v4l2. (Googling on it turned up pages and pages of linux patch discussions, yikes)

Actually, now with a bit more research, I think it is because it only supports RAW, not RGB or JPEG. Is the python wrapper "cool" with that?

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

No branches or pull requests

2 participants