>
> From your report I would guess your problems are caused by timing issues.
> Could you try to repeat the same operations with kernel 2.6.26 ?
>
> Best regards,
>
> Laurent Pinchart
>
>
Hi Laurent,
I made some testing with 2.6.26 and 2.6.24 (with patches version of uvcvideo
you gave me).
Results are similar: luvcview and guvcview can display the
first image taken from the device but then they don't go "live".
But that's not systematic. Some times just black windows.
Sometimes not even can open the /dev/video0 (removing and
then inserting the module again helps).
Here are some logs:
$> dmesg
[ 2374.696425] uvcvideo: Found UVC 1.00 device USB2.0 UVC PC Camera
(174f:8a12)
[ 2375.243519] usbcore: registered new interface driver uvcvideo
[ 2375.243532] USB Video Class driver (SVN r232)
[ 2383.878721] uvcvideo: Failed to query (129) UVC control 1 (unit 0) :
-110 (exp. 26).
[ 2423.586103] uvcvideo: Failed to query (129) UVC control 1 (unit 0) :
-110 (exp. 26).
[ 2485.388358] uvcvideo: Failed to query (129) UVC control 1 (unit 0) :
-110 (exp. 26).
$> ./guvcview -f yuv
guvcview version 0.9.2
video /dev/video0
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30,
Adding control for 0
uvcioc ctrl add error: errno=1 (retval=-1)
Adding control for 1
uvcioc ctrl add error: errno=1 (retval=-1)
Adding control for 2
uvcioc ctrl add error: errno=1 (retval=-1)
Adding control for 3
uvcioc ctrl add error: errno=1 (retval=-1)
Adding control for 4
uvcioc ctrl add error: errno=1 (retval=-1)
Adding control for 5
uvcioc ctrl add error: errno=1 (retval=-1)
mapping controls for Pan (relative)
uvcioc ctrl map error: errno=1 (retval=-1)
mapping controls for Tilt (relative)
uvcioc ctrl map error: errno=1 (retval=-1)
mapping controls for Pan (reset)
uvcioc ctrl map error: errno=1 (retval=-1)
mapping controls for Tilt (reset)
uvcioc ctrl map error: errno=1 (retval=-1)
mapping controls for Pan/Tilt (reset)
uvcioc ctrl map error: errno=1 (retval=-1)
mapping controls for Focus (absolute)
uvcioc ctrl map error: errno=1 (retval=-1)
mapping controls for LED1 Mode
uvcioc ctrl map error: errno=1 (retval=-1)
mapping controls for LED1 Frequency
uvcioc ctrl map error: errno=1 (retval=-1)
mapping controls for Disable video processing
uvcioc ctrl map error: errno=1 (retval=-1)
mapping controls for Raw bits per pixel
uvcioc ctrl map error: errno=1 (retval=-1)
Unable to set timeperframe: 5.
Killed
$> luvcview -f yuv -s 640x480 (then touching sliders of the gui)
luvcview version 0.2.1
size width: 640 height: 480
Video driver: x11
A window manager is available
video /dev/video0
ioctl querycontrol error 22
Set Brightness up error
ioctl querycontrol error 22
Set Brightness up error
ioctl querycontrol error 22
Set Contrast down error
ioctl querycontrol error 22
Set Saturation up error
ioctl querycontrol error 22
Set Gain down error
ioctl querycontrol error 22
Set Gain down error
ioctl querycontrol error 22
Set Sharpness up error
ioctl querycontrol error 22
Set Sharpness up error
ioctl querycontrol error 22
reset pantilt error
ioctl querycontrol error 22
reset pantilt error
ioctl querycontrol error 22
Set Tilt down error
ioctl querycontrol error 22
Set Pan down error
ioctl querycontrol error 22
Set Pan down error
ioctl querycontrol error 22
Set Absolute Exposure down error
ioctl querycontrol error 22
Set Absolute Exposure down error
Set Auto Exposure off error
ioctl querycontrol error 22
Set Balance Temperature down error
ioctl querycontrol error 22
Set Balance Temperature down error
Set Auto Balance off error
Stop asked
^Z
[1]+ Stopped luvcview -f yuv -s 640x480
$> kill -9 %1
[1]+ Stopped luvcview -f yuv -s 640x480
$>
[1]+ Killed luvcview -f yuv -s 640x480
$>
Thank you, bye
martuf1
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel