[AG-TECH] Webcam on FC2

Michael Miller myk at ncsa.uiuc.edu
Mon Dec 6 11:52:20 CST 2004


I'm trying to get my Logitech Quickcam Pro 4000 working in FC2.  I have the 
2.6.9 kernel and I can  see that the camera is recognized as the venue 
client starts:

[Debug] 11:31:35 AM: Adding duplicate image handler for 'PCX file'
[Debug] 11:31:35 AM: Adding duplicate image handler for 'Windows icon file'
[Debug] 11:31:35 AM: Adding duplicate image handler for 'Windows cursor file'
[Debug] 11:31:35 AM: Adding duplicate image handler for 'Windows animated 
cursor file'
[Debug] 11:31:35 AM: Adding duplicate image handler for 'XPM file'
self.resource =  <type 'instance'> <AccessGrid.Types.AGVideoResource 
instance at 0xf6a67d0c>
res =  /dev/video0
V4l: trying /dev/video0... ok, Logitech QuickCam Pro 4000
V4l:   color; size: 160x120 => 640x480
V4l:   ports: Webcam
V4l:   depth=24, palette=yuv420P
V4l:  ==> format { 411 422 cif } size { small large cif } port { Webcam } 
type {ntsc auto pal secam}
Got grid width 3
invoke init fonts
in init_Fonts
in lnonwindows section
resource startupScript Vic
resource rtpName Vic
Have name: Michael Miller(Video)
resource rtpEmail Vic
have email mimiller at ncsa.uiuc.edu
resource confBusChannel Vic
resource numLayers Vic
resource network Vic
resource defaultHostSpec Vic
resource sessionType Vic
resource defaultHostSpec Vic
resource defaultTTL Vic
resource maxbw Vic
resource maxbw Vic
resource lipSync Vic
resource sessionKey Vic
resource logFrameRate Vic
resource relateInterface Vic
resource privateColormap Vic
using colormodel truecolor/24
resource medfont Vic
<snip>
resource transmitOnStartup Vic
Got grid width 3
enable=
Did not find monitor list
Using monitor list {0 0 1400 1050 main 0}
have monitor 'idx=0' '0 0 1400 1050 main 0'
resource medfont Vic
resource logFrameRate Vic
V4l: trying /dev/video0... ok, Logitech QuickCam Pro 4000
V4l:   color; size: 160x120 => 640x480
V4l:   ports: Webcam
V4l:   depth=24, palette=yuv420P
V4l:  ==> format { 411 422 cif } size { small large cif } port { Webcam } 
type {ntsc auto pal secam}


But once vic is launched I get this:

v4l: mmap()'ed buffer size = 0xe1000
Got pict, palette=15
ioctl VIDIOCSPICT: Invalid argument
Got pict again, palette=15
V4lGrabber::start() ioctl VIDIOCMCAPTURE even: Invalid argument
V4lGrabber::start() ioctl VIDIOCMCAPTURE odd: Invalid argument
V4lGrabber::grab() ioctl VIDIOCSYNC: Invalid argument
V4lGrabber::grab() ioctl VIDIOMCAPTURE: Invalid argument
V4lGrabber::grab() ioctl VIDIOCSYNC: Invalid argument
V4lGrabber::grab() ioctl VIDIOMCAPTURE: Invalid argument
V4lGrabber::grab() ioctl VIDIOCSYNC: Invalid argument
V4lGrabber::grab() ioctl VIDIOMCAPTURE: Invalid argument

This continues until vic quits.  Am I doing something wrong?

Thanx,

Michael Miller
System Engineer
Visualization Technology Support
Computing and Data Management
National Center for Supercomputing Applications
University of Illinois - UC
217-649-0747

"If you're clear in your vision and trust the people in your team with 
clear objectives, they will invariably do their best to achieve everything 
desired, and usually deliver everything you could have hoped for and even 
more." -Paul Debevec




More information about the ag-tech mailing list