v4l2 Bttv coding problems?

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



Hello,
I'm running kernel 2.4.7-10 with bttv2 (20020219) and trying to write a
capture routine for a project. My problem is that the following ioctls
fail:
VIDIOC_G_FREQUENCY
VIDIOC_S_FREQUENCY

When i try to change the frequency of the tuner. They both return "Invalid
Argument". I am coding like this:

ioctl(*fd, VIDIOC_G_FREQUENCY, &vFrq)

where vFrq is a struct v4l2_frequency and i am using vFrq.input = 0 (i
checked that it has a tuner attached) and *fd is my /dev/video0 - opened
fine. The error code specifies that the problem is with the request or
third argument - does anyone have an idea as to which/why the argument is
invalid?

Thanks
-Brian





[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