I have found my 3Com Home Connect camera under a pile of other rubbish. When I plug it in all looks good, I get.....
May 6 20:17:41 linux kernel: hub.c: new USB device 00:07.3-2, assigned address 2 May 6 20:17:41 linux kernel: usb.c: USB device 2 (vend/prod 0x4c1/0x9d) is not claimed by any active driver. May 6 20:17:45 linux kernel: usb.c: registered new driver vicam May 6 20:17:45 linux kernel: ViCam based webcam connected May 6 20:17:45 linux kernel: ViCam webcam driver now controlling video device 0 May 6 20:17:45 linux insmod: Using /lib/modules/2.4.21-215-athlon/kernel/ drivers/usb/usbvideo.o May 6 20:17:45 linux insmod: Symbol version prefix '' May 6 20:17:45 linux insmod: Using /lib/modules/2.4.21-215-athlon/kernel/ drivers/usb/vicam.o
So far so good, now if I cat /dev/video0 the little led on the front of the camera lights up and loads of data'ish garbage appears in the console window. Here is where it starts to go wrong
The application I want to use the camera with (gnomemeeting) starting that gives me a "Error while setting the frame size." message when I select /dev/ video0 as the video device.
So now I want to hook up some sort of viewer to see if there is actually a picture comming out of the camera. So I tried xawtv and that just gives me a blue screen (not of death), I figured that it needs v4l to function. So I ran v4l-conf
v4l-conf: using X11 display :0.0 dga: version 2.0 mode: 1280x1024, depth=24, bpp=32, bpl=5120, base=0xd0000000 /dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument /dev/video0 [v4l]: no overlay support
Here is where I start getting lost. Is there some step to process the stream from the camera I am missing, I thought that was the job of the Vicam driver. How do I set up v4l if it is incorrectly configured ? and do I need v4l to use the camera in gnomemeeting or does it access it directly....Or is there a better way to control/view the camera.
On Thursday 06 May 2004 20:40, Wayne Stallwood wrote: lots of stuff about not getting his camera working....
Right a bit of progress, xawtv -hwscan gives me....
octl: VIDIOCGFBUF(base=(nil);height=0;width=0;depth=0;bytesperline=0): Invalid argument /dev/video0: OK [ -device /dev/video0 ] type : v4l name : ViCam-based Camera flags: capture
and if I run xawtv -c /dev/video0 I get a picture, admittedly it's a little dark but it's there, I also get the following dumped into the console
This is xawtv-3.88, running on Linux/i686 (2.4.21-215-athlon) /dev/video0 [v4l]: no overlay support v4l-conf had some trouble, trying to continue anyway ioctl: VIDIOCGFBUF(base=(nil);height=0;width=0;depth=0;bytesperline=0): Invalid argument ioctl: VIDIOCMCAPTURE(frame=0;height=240;width=320;format=7): Invalid argument ioctl: VIDIOCMCAPTURE(frame=0;height=240;width=320;format=15): Invalid argument ioctl: VIDIOCMCAPTURE(frame=0;height=240;width=320;format=9): Invalid argument ioctl: VIDIOCMCAPTURE(frame=0;height=240;width=320;format=5): Invalid argument
So it looks like the ioctl messages might be what's causing my pain in gnomemeeting.