Hello,

i've started playing with opencv but the inlined python script does not work and these messages are shown in dmesg:

[32452.730023] compat_ioctl32: unknown ioctl 'v', dir=1, #10 (0x4020760a)
[32452.730043] ioctl32(python:10359): Unknown cmd fd(3) cmd(4020760a){t:'v';sz:32} arg(09f57f48) on /dev/video0

This may well be an opencv issue.

$ cat cvtest.py
import cv

capture = cv.CreateCameraCapture(0)

cv.SetCaptureProperty(capture,cv.CV_CAP_PROP_FRAME_WIDTH, 640.0)
cv.SetCaptureProperty(capture,cv.CV_CAP_PROP_FRAME_HEIGHT, 480.0)

while True:
    img = cv.QueryFrame(capture)
    cv.ShowImage("camera", img)
    cv.WaitKey(10)

kernel is 3.0 64 bit on 32 bit userspace, camera is 174f:5931, the camera works fine with luvcview.

thanks,
riccardo
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to