[lkml]   [2007]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectV4L Regression (Was: Linux 2.6.22-rc1)
    Existing v4l applications are failing with the latest release

    This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.22-rc1)
    xinerama 0: 1280x1024+0+0
    /dev/video0 [v4l2]: ioctl VIDIOC_G_FBUF: Invalid argument
    v4l-conf had some trouble, trying to continue anyway
    ioctl: VIDIOC_G_FBUF(capability=0x0 [];flags=0x0 [];base=(nil);fmt.width=0;fmt.h
    eight=0;fmt.pixelformat=0x00000000 [....];fmt.field=ANY;fmt.bytesperline=0;fmt.s
    izeimage=0;fmt.colorspace=unknown;fmt.priv=0): Invalid argument
    ioctl: VIDIOC_TRY_FMT(type=VIDEO_OVERLAY;;;fmt.
    in.clips=(nil);; Invalid argument
    ioctl: VIDIOC_S_FMT(type=VIDEO_OVERLAY;;;fmt.wi
    .clips=(nil);; Invalid argument

    After bisecting I tracked the problem down to this commit:

    V4L/DVB (5272): Add V4L2_CAP_VIDEO_OUTPUT_POS capability

    Add V4L2_CAP_VIDEO_OUTPUT_POS capability and x, y position coordinates
    to struct v4l2_pix_format.
    This is needed to support positioning the MPEG/YUV output of the cx23415.

    Signed-off-by: Hans Verkuil <>
    Signed-off-by: Mauro Carvalho Chehab <>

    This commit changes the ABI by adding two new fields to the existing
    struct v4l2_pix_format which is used by the existing VIDIOC_G_FBUF
    ioctl. v4l applications compiled against a previous version of the
    kernel will fail in the generic ioctl code due to the size mismatch of
    the arguments.

    Commenting out the two new fields and recompiling allows the exists
    application to work correctly.

    Possibly the commit should be reverted or reworked to not change the


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-05-14 10:17    [W:0.022 / U:2.888 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site