Need help with web cam, v4l, etc.

Thomas Kaiser ubuntu at kaiser-linux.li
Mon May 22 03:52:49 UTC 2006


Gary W. Swearingen wrote:
> I'm trying to use "camstream" software with my web cam.
>
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> $ caminfo
> CVideoDevice::ResetImagesRGB()
> CVideoDevice::ResetImagesYUV()
> Detected 0 Video4Linux devices.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> So I've obviously got no v4l device configured.
>
> So I check messages for when I plugged in web cam.
> (It's an odd cheapo thing but I've found it listed
> in some web site as being supported by spca5xx driver.)
>
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> % tail /var/log/messages
> May 20 12:15:00 localhost kernel: [865372.491884] usb 1-2: new full 
> speed USB device using ohci_hcd and address 4
> May 20 12:15:01 localhost kernel: [865373.085394] Linux video capture 
> interface: v1.00
> May 20 12:15:01 localhost kernel: [865373.110899] 
> drivers/usb/media/spca5xx/spca5xx-main.c: USB SPCA5XX camera found. 
> Pixart PAC207BCA
> May 20 12:15:01 localhost kernel: [865373.116424] usbcore: registered 
> new driver spca5xx
> May 20 12:15:01 localhost kernel: [865373.116509] 
> drivers/usb/media/spca5xx/spca5xx-main.c: spca5xx driver 00.57.08 
> registered
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> and
>
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> $ lsmod | head -3
> Module                  Size  Used by
> spca5xx               626108  0
> videodev               13696  1 spca5xx
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> That last line leads me to think there should be a device
> configured.
>
> and
>
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> $  cat /proc/devices | grep video
>  81 video4linux
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> so does that.
>
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> $ cat bus/usb/devices
>
> (Names the pixart camera, with lots of info of no
> meaning to me.)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> The only related thing the "camstream" docs say is:
>
>     First, make sure the various modules for your TV grabber and/or
>     webcams are loaded if necessary.
>
> Is there some other Linux kernel module I need, or what?
>
>
> Thanks.
>
>
>   
Check if you have a /dev/video* device. And you can use spcaview from 
the spca5xx driver project to see if your cam is working. If it is 
working with spcaview, the driver is ok.

Regards, Thomas






More information about the ubuntu-users mailing list