saa7134 driver issue (was Re: V4L2 and TV Time)

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



Steven Ellis (pinguellis@xxxxxxxxxxx):

> OK Got TVTime kinda working on my saa7134 Fly Video 3000 card. One
> issue is the CVS was missing the newzealand tuner settings. There is a
> CVS patch in the bug repository for adding them back in.

  Based on two user reports, there is an annoying issue with the saa7134
driver.  Until the VIDIOCSFBUF/S_FBUF is setup with a valid framebuffer,
capture does not work.  Since tvtime does not support overlay mode, we
don't set up the framebuffer.

  To get around this, I tried to fake the call and just do this before
capturing:

        if( !fbuf.width ) {
            /* Just set some fake settings. */
            fbuf.width = 1024;
            fbuf.height = 768;
            fbuf.depth = 16;
            fbuf.bytesperline = 0;
            fbuf.base = 0;
        }
        if( ioctl( vidin->grab_fd, VIDIOCSFBUF, &fbuf ) < 0 ) {

  This apparently does not work, and furthermore, the call fails when
you're not root:

> videoinput: Can't set framebuffer settings, which I don't need anyway:
>             Operation not permitted

  Another comment, I tried to do a survey about the
VIDEO_WINDOW_INTERLACE flag in the video_window struct I get from
VIDIOCGWIN, but the v4l1-compat.c in the latest v4l2 does not set the
flags value of the struct at all.  My experiment failed and I'm going to
remove my printf, but maybe the flags should be set to something
anyway..

  Thanks,
  -Billy

-- 
Billy Biggs
vektor@xxxxxxxxxxxx





[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