30 Mar, 2009

4 commits


03 Jan, 2009

1 commit

  • Since the i2c driver ID will be removed in the near future we have to
    modify the v4l2 debugging API to use the driver name instead of driver ID.

    Note that this API is not used in applications other than v4l2-dbg.cpp
    as it is for debugging and testing only.

    Should anyone use the old VIDIOC_G_CHIP_IDENT, then this will be logged
    with a warning that it is deprecated and will be removed in 2.6.30.

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

    Hans Verkuil
     

30 Dec, 2008

1 commit


13 Oct, 2008

1 commit

  • The service_set field was used in saa7115 and cx25840 to determine
    whether raw or sliced VBI was desired. This is incorrect since it is
    perfectly valid to select sliced VBI with a service_set of 0.

    Instead these drivers should checked on VIDIOC_S_FMT whether the type
    field matches the raw or sliced VBI type.

    Updated ivtv accordingly.

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

    Hans Verkuil
     

12 Oct, 2008

1 commit


04 Sep, 2008

1 commit


20 Jul, 2008

2 commits


19 May, 2008

1 commit

  • Update all the remaining new-style i2c drivers to use standard module
    aliasing instead of the old driver_name/type driver matching scheme.

    Note that the tuner driver is a bit quirky at the moment, as it
    overwrites i2c_client.name with arbitrary strings. We write "tuner"
    back on remove, to make sure that driver cycling will work properly,
    but there may still be troublesome corner cases.

    Signed-off-by: Jean Delvare

    Jean Delvare
     

30 Apr, 2008

1 commit

  • Based on earlier work by Jon Smirl and Jochen Friedrich.

    This patch allows new-style i2c chip drivers to have alias names using
    the official kernel aliasing system and MODULE_DEVICE_TABLE(). At this
    point, the old i2c driver binding scheme (driver_name/type) is still
    supported.

    Signed-off-by: Jean Delvare
    Cc: Jochen Friedrich
    Cc: Jon Smirl
    Cc: Kay Sievers

    Jean Delvare
     

25 Apr, 2008

2 commits


26 Jan, 2008

2 commits


28 Apr, 2007

2 commits


27 Mar, 2007

1 commit


01 Mar, 2007

1 commit


21 Feb, 2007

4 commits

  • When capturing a 60 Hz input the internal field ID is inverted. The
    VIDIOC_INT_G_VBI_DATA didn't take that into account and so returned
    XDS instead of CC and vice versa.

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

    Hans Verkuil
     
  • Before, root privileges were only needed to set hardware registers, not
    to read them. On some hardware, reading from the wrong place at the
    wrong time can hang the machine. So, to be consistent, root privileges
    are required to read registers on all hardware.

    Signed-off-by: Trent Piepho
    Signed-off-by: Mauro Carvalho Chehab

    Trent Piepho
     
  • The direct register access ioctls were defined as kernel internal only,
    but they are very useful for debugging hardware from userspace and are
    used as such. Officially export them.

    VIDIOC_INT_[SG]_REGISTER is renamed to VIDIOC_DBG_[SG]_REGISTER
    Definition of ioctl and struct v4l2_register is moved from v4l2-common.h
    to videodev2.h.

    Types used in struct v4l2_register are changed to the userspace
    exportable versions (u32 -> __u32, etc).

    Use of VIDIOC_DBG_S_REGISTER requires CAP_SYS_ADMIN permission, so move
    the check into the video_ioctl2() dispatcher so it doesn't need to be
    duplicated in each driver's call-back function. CAP_SYS_ADMIN check is
    added to pvrusb2 (which doesn't use video_ioctl2).

    Signed-off-by: Trent Piepho
    Signed-off-by: Mauro Carvalho Chehab

    Trent Piepho
     
  • Nexus CA needs to use a different routing on saa7115 module.

    Signed-off-by: Marco Schluessler
    Signed-off-by: Mauro Carvalho Chehab

    Marco Schluessler
     

10 Dec, 2006

1 commit


26 Nov, 2006

1 commit

  • The old code would accept any device on the same i2c address as the
    saa711x chips as an saa711x. However, this fails with saa717x chips,
    which use that same address and so are misdetected as a saa7111. Now
    check whether the chip is really a saa711x model.

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

    Hans Verkuil
     

14 Oct, 2006

1 commit

  • Without the attached trivial patch, the saa7113 is set up for PAL when SECAM
    is selected and hence will see only show black and white for SECAM signals.
    Tested the patch against the saa7115 module in linux-2.6.17 with a
    Pinnacle 50e USB tuner (em28xx).

    Signed-off-by: Pádraig Brady
    Signed-off-by: Mauro Carvalho Chehab

    P疆raig Brady
     

26 Sep, 2006

12 commits