Jeff Hi,
2010/3/30 Jeff Van Epps <[email protected]>:
> Thanks. Just what I needed. That gets me back to where I was before.
>
> BTW, I wrote a poor request for help. I omitted these items:
> my kernel is 2.6.31-21-generic
> the original problem was that using Cheese 2.28.1 and all other
> programs I've tried, I got "I/O error"
> before I tried to "fix" anything, the uvcvideo driver version was 256
I wouldn't trust the driver version much, I'm not sure if this is
updated between kernel releases.
>
> $ luvcview -L
> luvcview 0.2.4
>
> SDL information:
> Video driver: x11
> A window manager is available
> Device information:
> Device path: /dev/video0
> /dev/video0 does not support read i/o
> { pixelformat = 'MJPG', description = 'MJPEG' }
> { discrete: width = 352, height = 288 }
> Time interval between frame: 2/15,
> { discrete: width = 160, height = 120 }
> Time interval between frame: 1/15,
> { discrete: width = 176, height = 144 }
> Time interval between frame: 1/15,
> { discrete: width = 320, height = 240 }
> Time interval between frame: 1/15,
> { discrete: width = 640, height = 480 }
> Time interval between frame: 2/15,
>
humm, strange values here, most cameras will support several fps
values for each resolution.
> $ luvcview -f mjpg
> luvcview 0.2.4
>
> SDL information:
> Video driver: x11
> A window manager is available
> Device information:
> Device path: /dev/video0
> Stream settings:
> Frame format: MJPG
> Frame size: 640x480
> Frame rate: 15/2 fps (requested frame rate 30 fps is not supported
> by device)
> Unable to start capture: Input/output error
> Error grabbing
> Cleanup done. Exiting ...
>
> $ luvcview -f mjpg -i 7.5
> luvcview 0.2.4
>
> Invalid frame rate '7.5' specified with -i. Only integers are supported.
> Aborting.
>
luvcview doesn't support float values, try using guvcview (
http://guvcview.berlios.de ), it should set fps automatically, and you
can change the device parameters from the gui.
> Okay, guess I have to step down the resolution.
>
> $ luvcview -f mjpg -s 320x240 -i 15
> luvcview 0.2.4
>
> SDL information:
> Video driver: x11
> A window manager is available
> Device information:
> Device path: /dev/video0
> Stream settings:
> Frame format: MJPG
> Frame size: 320x240
> Frame rate: 15 fps
> Unable to start capture: Input/output error
> Error grabbing
> Cleanup done. Exiting ...
>
can you increase the driver verbosity and check dmesg output for
uvcvideo errors/warnings ?
do it like this:
create a file named uvcvideo.conf in /etc/modprobe.d
add the following line:
options uvcvideo trace=255
now run:
sudo rmmod uvcvideo
sudo modprobe uvcvideo
now launch guvcview or luvcview and check dmesg output.
> Bah.
>
> $ cheese -v
> Cheese 2.28.1
> Probing devices with HAL...
> Found device 05a9:2649, getting capabilities...
> Detected v4l2 device: Monitor Webcam
> Driver: uvcvideo, version: 256
> Capabilities: 0x04000001
>
> Probing supported video formats...
> libv4l2: error turning on stream: Input/output error
>
> Okay, I don't know why this still saves uvcvideo version 256, same as it
> did before. Where is that coming from?
>
Like I said I wouldn't trust the version info much
> Most significantly, why the I/O error?
>
Please check dmesg, some cameras are buggy and may need a workaround
to work properly, others are so buggy that they just wont work at all.
> (Wow. menuconfig isn't at all daunting, is it? Yikes. Finally found
> FireDTV under Multimedia Support / DVB/ATSC adapters and excluded it.)
Sorry, I should have told you were to find it, I'm glad you figure it out. :-)
Regards,
Paulo
>
> Paulo Assis wrote:
>> Jeff Hi,
>>
>> You should have followed the v4l-dvb wiki:
>> http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
>>
>> you now have mixed modules (new and old) and this is causing the errors.
>>
>> get mercurial, the kernel headers and the full v4l tree from linuxtv.
>>
>> from the top of the hg tree:
>>
>> make rminstall
>> make distclean
>> sudo make menuconfig <--- disable fireDTV or you will end up
>> with errors when building
>> make
>> sudo make install
>> sudo make unload
>> sudo modprobe uvcvideo
>>
>>
>
>
> _______________________________________________
> Linux-uvc-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel