webcam works on one of two Lucid systems

Adam Funk a24061 at ducksburg.com
Wed Jul 21 21:11:50 UTC 2010


On 2010-07-19, NoOp wrote:

> Seems to be an "<unnamed> device. Can you load guvcview and see if it
> shows up there?
>
> $ sudo apt-get install guvcview
>
> Then Applications|Sound & Video|guvcview
>
> Can you also provide the output of these with the camera plugged in?

I get a blue window on the screen and the following STDOUT & STDERR.

#v+
UVCIOC_CTRL_ADD - Error: Operation not permitted
UVCIOC_CTRL_ADD - Error: Operation not permitted
UVCIOC_CTRL_ADD - Error: Operation not permitted
UVCIOC_CTRL_ADD - Error: Operation not permitted
UVCIOC_CTRL_ADD - Error: Operation not permitted
UVCIOC_CTRL_ADD - Error: Operation not permitted
UVCIOC_CTRL_MAP - Error: Operation not permitted
UVCIOC_CTRL_MAP - Error: Operation not permitted
UVCIOC_CTRL_MAP - Error: Operation not permitted
UVCIOC_CTRL_MAP - Error: Operation not permitted
UVCIOC_CTRL_MAP - Error: Operation not permitted
UVCIOC_CTRL_MAP - Error: Operation not permitted
UVCIOC_CTRL_MAP - Error: Operation not permitted
UVCIOC_CTRL_MAP - Error: Operation not permitted
UVCIOC_CTRL_MAP - Error: Operation not permitted
UVCIOC_CTRL_MAP - Error: Operation not permitted
Failed to query control id=9963795: Input/output error
Failed to query control id=9963800: Input/output error
Failed to query control id=9963802: Input/output error
guvcview 1.1.3
video device: /dev/video0 
/dev/video0 - device 1
Init. UVC Camera (046d:0804) (location: usb-0000:00:1d.7-1)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 640, height = 400 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
{ discrete: width = 640, height = 400 }
	Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5, 
checking format: 1448695129
vid:046d 
pid:0804 
driver:uvcvideo
Adding control for Pan (relative)
Adding control for Tilt (relative)
Adding control for Pan Reset
Adding control for Tilt Reset
Adding control for Pan/tilt Reset
Adding control for Focus (absolute)
mapping control for Pan (relative)
mapping control for Tilt (relative)
mapping control for Pan Reset
mapping control for Tilt Reset
mapping control for Pan/tilt Reset
mapping control for Focus (absolute)
mapping control for LED1 Mode
mapping control for LED1 Frequency
mapping control for Disable video processing
mapping control for Raw bits per pixel
write /home/adam/.guvcviewrc OK
free controls
cleaned allocations - 100%
Closing portaudio ...OK
#v-

*But* the Capture.avi file plays fine in mplayer!

> $ ls /dev/video*

$ ls -l /dev/v4l/* /dev/video0 
crw-rw----+ 1 root video 81, 0 2010-07-21 22:04 /dev/video0

/dev/v4l/by-id:
total 0
lrwxrwxrwx 1 root root 12 2010-07-21 22:04 usb-046d_0804_1483FE50-video-index0 -> ../../video0

/dev/v4l/by-path:
total 0
lrwxrwxrwx 1 root root 12 2010-07-21 22:04 pci-0000:00:1d.7-usb-0:1:1.0-video-index0 -> ../../video0


I think the problem is not the webcam input but the inability of some
programs (cheese, skype, guvcview) to display it on my system.





More information about the ubuntu-users mailing list