RE: Philips ToUCam Pro & Xawtv errors...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

On 11-Jun-01 lpf wrote:
> Hi!
> 
>    I have a webcam Philips ToUCam Pro (USB), and linux kernel 2.4.5. 
> I've compiled the kernel with
> support for the webcam and it seems to be well detected by the kernel 
> but when I run xawtv-3.34 I
> get the following error:
> 
>    This is xawtv-3.34, running on Linux/i686 (2.4.5)
>    visual: id=0x24 class=4 (TrueColor), depth=16
>    visual: id=0x25 class=4 (TrueColor), depth=16
>    visual: id=0x26 class=5 (DirectColor), depth=16
>    visual: id=0x27 class=5 (DirectColor), depth=16
>    x11: 1024x768, 16 bit/pixel, 2048 byte/scanline, DGA
>     /dev/video0: no overlay support
>    v4l-conf had some trouble, trying to continue anyway
>    ioctl: 
> VIDIOCGAUDIO(0,,flags=0x0,vol=0,balance=0,bass=0,treble=0,mode=0x0,step=0):
> Invalid argument
>    wmhooks: gnome
>    ioctl: 
> VIDIOCGAUDIO(0,,flags=0x0,vol=0,balance=0,bass=0,treble=0,mode=0x0,step=0):
> Invalid argument
>    ioctl: 
> VIDIOCGAUDIO(0,,flags=0x0,vol=0,balance=0,bass=0,treble=0,mode=0x0,step=0):
> Invalid argument
>    ioctl: 
> VIDIOCSAUDIO(0,,flags=0x0,vol=0,balance=0,bass=0,treble=0,mode=0x0,step=0):
> Invalid argument
>    ioctl: 
> VIDIOCGAUDIO(0,,flags=0x0,vol=0,balance=0,bass=0,treble=0,mode=0x0,step=0):
> Invalid argument
>    ioctl: VIDIOCMCAPTURE(0,fmt=0,size=0x0): Device or resource busy

This is clearly a programming error; fmt 0 is undefined, and a size 0x0 is
certainly not possible.

>    ioctl: VIDIOCMCAPTURE(0,fmt=3,size=64x48): Invalid argument

Well, I think it tries to probe a palette that matches your display depth
(RGB565), which the driver doesn´t have (and never did). Also, this points
out another error in xawtv: it uses a very small image size to probe the
available palettes, disregarding the minimum size as returned by GCAP. In
fact, in my driver I have to specifically work around this :( It should use
the minimum size.

>    ioctl: 
> VIDIOCGAUDIO(0,,flags=0x0,vol=0,balance=0,bass=0,treble=0,mode=0x0,step=0):
> Invalid argument
>    ioctl: 
> VIDIOCSAUDIO(0,,flags=0x1,vol=0,balance=0,bass=0,treble=0,mode=0x0,step=0):
> Invalid argument

The webcam does not have VIDIOCGAUDIO/VIDIOCSAUDIO calls yet. They will be
added sometime.

> It seems like there's a problem between video4linux and the webcam USB 
> driver, but I can't figure it out.

No, there´s a problem between xawtv and the video4linux interface, now. It
used to work.

 - Nemosoft

-----------------------------------------------------------------------------
Try SorceryNet!   One of the best IRC-networks around!   irc.sorcery.net:9000
URL: never        IRC: nemosoft      IscaBBS (bbs.isca.uiowa.edu): Nemosoft
                        >> Never mind the daylight << 





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux