]> err.no Git - linux-2.6/log
linux-2.6
17 years agoV4L/DVB (4945): Cx88: consolidate cx22702_config structs
Michael Krufky [Tue, 5 Dec 2006 04:34:56 +0000 (01:34 -0300)]
V4L/DVB (4945): Cx88: consolidate cx22702_config structs

There are five cx22702_config structs used by cx88-dvb, only two of which
are unique. This patch removes the duplicates and sets each card to use
one of the two remaining config structs.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4944): Cx88: Convert DViCO FusionHDTV Hybrid to use dvb_pll_attach
Michael Krufky [Tue, 5 Dec 2006 04:21:19 +0000 (01:21 -0300)]
V4L/DVB (4944): Cx88: Convert DViCO FusionHDTV Hybrid to use dvb_pll_attach

Converted DViCO FusionHDTV Hybrid to use dvb_pll_attach, removing
another static dependency of cx88-dvb on dvb-pll.
Acked-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4943): Cx88: cleanup dvb_pll_attach for lgdt3302 tuners
Michael Krufky [Tue, 5 Dec 2006 04:01:39 +0000 (01:01 -0300)]
V4L/DVB (4943): Cx88: cleanup dvb_pll_attach for lgdt3302 tuners

Since we're using dvb_pll_attach now, we dont have to populate
dev->core->pll_addr or dev->core->pll_desc anymore.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4953): Usbvision minor fixes
Thierry MERLE [Sat, 9 Dec 2006 19:42:54 +0000 (16:42 -0300)]
V4L/DVB (4953): Usbvision minor fixes

- fix debug outputs
- fix returned parameters on VIDIOC_G_FMT, VIDIOC_S_FMT and
  VIDIOC_TRY_FMT and mmap size setting

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4951): Add version.h, since it is required for VIDIOC_QUERYCAP
Mauro Carvalho Chehab [Sat, 9 Dec 2006 15:32:18 +0000 (12:32 -0300)]
V4L/DVB (4951): Add version.h, since it is required for VIDIOC_QUERYCAP

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4940): Or51211: Changed SNR and signal strength calculations
Rusty Scott [Mon, 4 Dec 2006 21:04:16 +0000 (18:04 -0300)]
V4L/DVB (4940): Or51211: Changed SNR and signal strength calculations

Removes embedded log functions and makes use of the DVB math functions to
provide SNR in dB.  The changes are modeled after recent changes made to
the LGDT330x frontends in lgdt330x.c

Signed-off-by: Rusty Scott <rustys@ieee.org>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4939): Or51132: Changed SNR and signal strength reporting
Rusty Scott [Mon, 4 Dec 2006 21:04:15 +0000 (18:04 -0300)]
V4L/DVB (4939): Or51132: Changed SNR and signal strength reporting

Removes embedded log functions and makes use of the DVB math functions
to provide SNR in dB.  The changes are modeled after recent changes made
to the LGDT330x frontends in lgdt330x.c

Signed-off-by: Rusty Scott <rustys@ieee.org>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4938): Cx88: Convert lgdt3302 tuning function to use dvb_pll_attach
Trent Piepho [Mon, 4 Dec 2006 21:04:11 +0000 (18:04 -0300)]
V4L/DVB (4938): Cx88: Convert lgdt3302 tuning function to use dvb_pll_attach

There was a still a pre-dvb-pll set_params function for the lgdt3302 in
the cx88-dvb driver.  This patch removes that function and uses
dvb_pll_attach() for the cards that were using it (Dvico FusionHDTV 3
GOLD {Q,T}).  This way the set_params function from dvb-pll is used.
dvb_attach() is in turn used on dvb_pll_attach(), eliminating some static
dependencies on dvb-pll.  There are still a couple static dependencies on
dvb-pll remaining.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4941): Remove LINUX_VERSION_CODE and fix identations
Mauro Carvalho Chehab [Sat, 9 Dec 2006 14:41:59 +0000 (11:41 -0300)]
V4L/DVB (4941): Remove LINUX_VERSION_CODE and fix identations

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4942): Whitespace cleanups
Mauro Carvalho Chehab [Sat, 9 Dec 2006 14:43:31 +0000 (11:43 -0300)]
V4L/DVB (4942): Whitespace cleanups

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4937): Usbvision cleanup and code reorganization
Thierry MERLE [Mon, 4 Dec 2006 11:31:45 +0000 (08:31 -0300)]
V4L/DVB (4937): Usbvision cleanup and code reorganization

- removal of overlay stuff
- reorganization of functions in 3 files:
    * usbvision-i2c for I2C-related stuff
    * usbvision-video for v4l2 entry points
    * usbvision-core for all peripheral controls and utilities

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4936): Make MT4049FM5 tuner to set FM Gain to Normal
Thierry MERLE [Mon, 4 Dec 2006 11:31:42 +0000 (08:31 -0300)]
V4L/DVB (4936): Make MT4049FM5 tuner to set FM Gain to Normal

- remove any specific TDA9887_SET_CONFIG of usbvision driver
- add fm_gain_normal=1 to the MT4049FM5 tuner for radio functionality

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4935): Added the capability of selecting fm gain by tuner
Mauro Carvalho Chehab [Mon, 4 Dec 2006 11:31:38 +0000 (08:31 -0300)]
V4L/DVB (4935): Added the capability of selecting fm gain by tuner

Some tuners require using cGainNormal instead of cGainLow for
high sensibility on FM reception.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4934): Usbvision radio requires GainNormal at e register
Mauro Carvalho Chehab [Mon, 4 Dec 2006 11:31:35 +0000 (08:31 -0300)]
V4L/DVB (4934): Usbvision radio requires GainNormal at e register

Adds an option to select GainNormal at tda9887 and make usbvision
to use it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4933): Usbvision_v4l2: radio interface / tda9887 problem ?
Thierry MERLE [Mon, 4 Dec 2006 11:31:32 +0000 (08:31 -0300)]
V4L/DVB (4933): Usbvision_v4l2: radio interface / tda9887 problem ?

- implement the v4l2 radio interface

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4932): Usbvision_v4l2: fix norm setting problems
Thierry MERLE [Mon, 4 Dec 2006 11:31:30 +0000 (08:31 -0300)]
V4L/DVB (4932): Usbvision_v4l2: fix norm setting problems

Patch contents:
- fix i2c command broadcast (caused problems for SECAM norm setting)
- default input selection at driver open

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4931): Removed usbvision_ioctl.h, since it isn't required anymore
Mauro Carvalho Chehab [Mon, 4 Dec 2006 11:31:27 +0000 (08:31 -0300)]
V4L/DVB (4931): Removed usbvision_ioctl.h, since it isn't required anymore

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4930): Usbvision_v4l2 : mmap corrected to get all frames
Thierry MERLE [Mon, 4 Dec 2006 11:31:24 +0000 (08:31 -0300)]
V4L/DVB (4930): Usbvision_v4l2 : mmap corrected to get all frames

- private ioctls UVIOCSREG/UVIOCGREG translated to the
VIDIOC_INT_G_REGISTER/VIDIOC_INT_S_REGISTER
- lost frame bug corrected (mmap rework)
- reset scratch buffer is no buffer is queued (prevents useless scratch
overflow management)

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4929): Read() implementation + format set/get simplifications
Thierry MERLE [Mon, 4 Dec 2006 11:31:21 +0000 (08:31 -0300)]
V4L/DVB (4929): Read() implementation + format set/get simplifications

- implement read() entry point that works with linux list.h
- rework of VIDIOC_ENUM_FMT/VIDIOC_S_FMT/VIDIOC_G_FMT
- VIDIOC_STREAMON : allows streaming whereas there is no queued buffer
(xdtv does VIDIOC_STREAMON before VIDIOC_QBUFs)

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4928): Usbvision_v4l2 robustness on disconnect
Thierry [Mon, 4 Dec 2006 11:31:17 +0000 (08:31 -0300)]
V4L/DVB (4928): Usbvision_v4l2 robustness on disconnect

This patch corrects 2 bugs (causes kernel oops) that occur when
unplugging the peripheral whereas nobody has opened it yet :
- do not call usbvision_stop_isoc if usbvision_init_isoc has not been called
- do not call wakeup_interruptible on waitqueues that did not have been
initialized with init_waitqueue_head

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4927): Enhancements on usbvision driver
Thierry MERLE [Mon, 4 Dec 2006 11:31:14 +0000 (08:31 -0300)]
V4L/DVB (4927): Enhancements on usbvision driver

Enhance the buffer management of this driver + some corrections
- linux list.h usage for buffer management
- VIDIOC_ENUMSTD/VIDIOC_G_STD/VIDIOC_S_STD simplification (use of
v4l2_video_std_construct)
- create_sysfs : remove of warnings for video_device_create_file return code
- make the driver compatible with 2.6.19 kernel version (remove
slave_send and slave_recv in usbvision-i2c, change ctrlUrb_complete
function prototype)
- deactivated v4l2_read because this code was not the priority but
working on it :)

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4926): Fix USBVision handling of VIDIOC_QUERYCTRL
Dwaine Garden [Mon, 4 Dec 2006 11:31:11 +0000 (08:31 -0300)]
V4L/DVB (4926): Fix USBVision handling of VIDIOC_QUERYCTRL

There's a better (and recommended) way for handling VIDIOC_QUERYCTRL.

This patch will fix the issue where the hardware control values were
invalid and stops the SAA7115 module from complaining about invalid values.

saa7115 4-0024: invalid brightness setting 32768
saa7115 4-0024: invalid contrast setting 49152
saa7115 4-0024: invalid hue setting 32768
saa7115 4-0024: invalid saturation setting 32768

Signed-off-by: Dwaine Garden <dwainegarden@rogers.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4925): Corrected and separated the Kconfig for usbvision
Thierry MERLE [Mon, 4 Dec 2006 11:31:07 +0000 (08:31 -0300)]
V4L/DVB (4925): Corrected and separated the Kconfig for usbvision

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4924): Fix some bugs on usbvision due to the merge into one module
Thierry MERLE [Mon, 4 Dec 2006 11:31:04 +0000 (08:31 -0300)]
V4L/DVB (4924): Fix some bugs on usbvision due to the merge into one module

Found the bug that prevented the driver from loading : a module
param conflict between usbvision-i2c and usbvision-core (debug
parameter).
- correct the module param "debug" conflics in usbvision-i2c.c and
usbvision-core.c
- add some debug printouts in usbvision-core.c VDIOC_QBUF/VIDIOC_DQBUF
- usbvision-core.c : add vb->field = V4L2_FIELD_NONE in VIDIOC_DQBUF

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4923): Splitted usbvision cards from usbvison.h
Mauro Carvalho Chehab [Mon, 4 Dec 2006 11:31:01 +0000 (08:31 -0300)]
V4L/DVB (4923): Splitted usbvision cards from usbvison.h

Having the cards description into a separated file makes
easier to maintain and follows the same standard as other
drivers.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4922): Add usbvision driver
Mauro Carvalho Chehab [Mon, 4 Dec 2006 11:30:53 +0000 (08:30 -0300)]
V4L/DVB (4922): Add usbvision driver

This patch adds usbvision into V4L/DVB HG tree.
Usbvision driver is a GPL driver, made by:
Joerg Heckenbach <joerg@heckenbach-aw.de>
and
Dwaine Garden <DwaineGarden@rogers.com>
V4L2 migration made by:
Thierry Merle <thierry.merle@free.fr>
Kconfig/Makefile scripts by:
Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Joerg Heckenbach <joerg@heckenbach-aw.de>
Signed-off-by: Dwaine Garden <dwainegarden@rogers.com>
Signed-off-by: Thierry Merle <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4921): Budget-av, budget-ci: Fix MC1 register programming
Hartmut Birr [Mon, 4 Dec 2006 00:08:08 +0000 (21:08 -0300)]
V4L/DVB (4921): Budget-av, budget-ci: Fix MC1 register programming

Remove bogus read during MC1 programming.
A '1' bit could never be cleared using the old code.
Use MASK_xx macros.

Signed-off-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4919): Budget-ci: Use SAA7146_IER_ENABLE/DISABLE to enable or disable a...
Hartmut Birr [Sun, 3 Dec 2006 13:49:47 +0000 (10:49 -0300)]
V4L/DVB (4919): Budget-ci: Use SAA7146_IER_ENABLE/DISABLE to enable or disable a hardware interrupt

Use SAA7146_IER_ENABLE/DISABLE to enable or disable a hardware interrupt.

Signed-off-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4918): Budget-av: Add delay for frontend power-on
Hartmut Birr [Fri, 3 Nov 2006 18:34:18 +0000 (15:34 -0300)]
V4L/DVB (4918): Budget-av: Add delay for frontend power-on

Added a delay to give the frontend a little bit time for power-on.

Signed-off-by: Hartmut Birr <e9hack@googlemail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4917): Saa7146: Convert SAA7146_IER_{DIS,EN}ABLE macros to inline functions
Oliver Endriss [Fri, 3 Nov 2006 18:13:52 +0000 (15:13 -0300)]
V4L/DVB (4917): Saa7146: Convert SAA7146_IER_{DIS,EN}ABLE macros to inline functions

Convert SAA7146_IER_{DIS,EN}ABLE macros to inline functions.
Fixes a problem with macro expansion (reported by C.Y.M).

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4916): Av7110,budget,budget-ci,budget-av: Use interrupt mode for I2C transfers
Oliver Endriss [Wed, 1 Nov 2006 16:09:51 +0000 (13:09 -0300)]
V4L/DVB (4916): Av7110,budget,budget-ci,budget-av: Use interrupt mode for I2C transfers

Use interrupt mode for I2C transfers.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4915): Saa7146: Add timeout protection for I2C interrupt
Hartmut Birr [Wed, 1 Nov 2006 16:01:42 +0000 (13:01 -0300)]
V4L/DVB (4915): Saa7146: Add timeout protection for I2C interrupt

Add a timeout to the wait for the i2c-interrupt.
The timeout prevents from endless waiting if the
interrupt gets lost.

Signed-off-by: Hartmut Birr <e9hack@googlemail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4914): Saa7146: Protect access to the IER register by a spinlock
Hartmut Birr [Wed, 1 Nov 2006 15:46:32 +0000 (12:46 -0300)]
V4L/DVB (4914): Saa7146: Protect access to the IER register by a spinlock

Protect the access to the IER register of the SAA7146 by the device
spinlock. I2C transfers may use interrupt mode now.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4913): Fix broken TUNER_LG_NTSC_TAPE radio support
Hans Verkuil [Sun, 3 Dec 2006 09:45:07 +0000 (06:45 -0300)]
V4L/DVB (4913): Fix broken TUNER_LG_NTSC_TAPE radio support

The TUNER_LG_NTSC_TAPE is identical in all respects to the
TUNER_PHILIPS_FM1236_MK3. So use the params struct for the Philips tuner.
Also add this LG_NTSC_TAPE tuner to the switches where radio specific
parameters are set so it behaves like a TUNER_PHILIPS_FM1236_MK3. This
change fixes the radio support for this tuner (the wrong bandswitch byte
was used).
Thanks to Andy Walls <cwalls@radix.net> for finding this bug.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4909): Add s/g_parm to cafe_ccic
Jonathan Corbet [Fri, 1 Dec 2006 18:50:59 +0000 (15:50 -0300)]
V4L/DVB (4909): Add s/g_parm to cafe_ccic

Add s/g_parm support allowing applications to tweak the frame rate.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4908): Remove the fake RGB32 format from cafe_ccic
Jonathan Corbet [Fri, 1 Dec 2006 18:37:49 +0000 (15:37 -0300)]
V4L/DVB (4908): Remove the fake RGB32 format from cafe_ccic

Remove RGB32, useful for debugging, but with no place in production.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4901): Improve debug msgs to show fourcc and buffer length on video_ioctl2
Mauro Carvalho Chehab [Fri, 1 Dec 2006 15:39:46 +0000 (12:39 -0300)]
V4L/DVB (4901): Improve debug msgs to show fourcc and buffer length on video_ioctl2

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4898): Saa7134: add support for remote control of Hauppauge HVR1110
Thomas Genty [Thu, 30 Nov 2006 00:57:24 +0000 (21:57 -0300)]
V4L/DVB (4898): Saa7134: add support for remote control of Hauppauge HVR1110

This patch adds support for the remote control bundled with the
Hauppauge HVR1110

Signed-off-by: Thomas Genty <tomlohave@gmail.com>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4896): Dvb-usb: fix vendor ID ordering
Michael Krufky [Fri, 24 Nov 2006 20:04:24 +0000 (17:04 -0300)]
V4L/DVB (4896): Dvb-usb: fix vendor ID ordering

The vendor IDs in this file were all in alphabetical
order except for this one.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4895): Accept tuners on saa7146 i2c bus only on address 0x60.
Michael Hunold [Tue, 28 Nov 2006 11:14:44 +0000 (08:14 -0300)]
V4L/DVB (4895): Accept tuners on saa7146 i2c bus only on address 0x60.

Signed-off-by: Michael Hunold <hunold@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4894): Mxb: fix to load the proper i2c modules
Michael Hunold [Tue, 28 Nov 2006 11:13:58 +0000 (08:13 -0300)]
V4L/DVB (4894): Mxb: fix to load the proper i2c modules

Change order of module requests, so that tuner module is loaded at the end,
because the tuner module probes multiple i2c addresses and might grab an i2c
address that is not a tuner but something else.

Signed-off-by: Michael Hunold <hunold@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB: Dvb-budget ci fix
Andrew Morton [Tue, 28 Nov 2006 08:09:22 +0000 (05:09 -0300)]
V4L/DVB: Dvb-budget ci fix

drivers/media/dvb/ttpci/budget-ci.c:220:6: warning: "LINUX_VERSION_CODE" is not defined
drivers/media/dvb/ttpci/budget-ci.c:220:28: warning: "KERNEL_VERSION" is not defined
drivers/media/dvb/ttpci/budget-ci.c:220:42: error: missing binary operator before token "("

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4891): Lgdt330x: fix broken whitespace
Michael Krufky [Tue, 28 Nov 2006 05:35:02 +0000 (02:35 -0300)]
V4L/DVB (4891): Lgdt330x: fix broken whitespace

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4890): Lgdt330x: fix signal / lock status detection bug
Michael Krufky [Tue, 28 Nov 2006 05:16:20 +0000 (02:16 -0300)]
V4L/DVB (4890): Lgdt330x: fix signal / lock status detection bug

In some cases when using VSB, the AGC status register has been known to
falsely report "no signal" when in fact there is a carrier lock.  The
datasheet labels these status flags as QAM only, yet the lgdt330x
module is using these flags for both QAM and VSB.
This patch allows for the carrier recovery lock status register to be
tested, even if the agc signal status register falsely reports no signal.
Thanks to jcrews from #linuxtv in irc, for initially reporting this bug.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4887): Remove the broken VIDEO_ZR36120 driver
Adrian Bunk [Sun, 26 Nov 2006 12:47:07 +0000 (09:47 -0300)]
V4L/DVB (4887): Remove the broken VIDEO_ZR36120 driver

The VIDEO_ZR36120 driver has:
- already been marked as BROKEN in 2.6.0 three years ago and
- is still marked as BROKEN.
Drivers that had been marked as BROKEN for such a long time seem to be
unlikely to be revived in the forseeable future.
But if anyone wants to ever revive this driver, the code is still
present in the older kernel releases.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4886): Minor coding style improvements
Hans Verkuil [Sat, 25 Nov 2006 12:45:50 +0000 (09:45 -0300)]
V4L/DVB (4886): Minor coding style improvements

Remove coding style inconsistencies.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4884): Remove stray IR code left from patchset
Andrew de Quincey [Fri, 24 Nov 2006 15:58:42 +0000 (12:58 -0300)]
V4L/DVB (4884): Remove stray IR code left from patchset

This caused compilation to fail - completely replaced by new style
functions, so can be removed.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4883): Fix TD1316 tuner for DVBC
Thomas Kaiser [Wed, 22 Nov 2006 21:15:19 +0000 (18:15 -0300)]
V4L/DVB (4883): Fix TD1316 tuner for DVBC

If your device is using the philips tda1316 tuner, i think there is a
problem in setting the correct Band. 162 MHz and above should be band 2
(Mid-Band). But in dvbc_philips_tdm1316l_tuner_set_params band 1 is set
for frequencies below 200 MHz.

Signed-off-by: Thomas Kaiser <linux-dvb@kaiser-linux.li>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4882): budget-ci IR: make debounce logic conditional
David Hardeman [Sat, 2 Dec 2006 23:16:06 +0000 (21:16 -0200)]
V4L/DVB (4882): budget-ci IR: make debounce logic conditional

Change the debounce logic so that it is not used at all unless the
debounce parameter has been set. This makes for a much "snappier" remote
for most users as there is no timeout to wait for (the debounce logic has
a 350ms timer for the next repeat, but with the RC5 protocol, one event
per ~110ms is possible)

Signed-off-by: David Hardeman <david@hardeman.nu>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4881): budget-ci IR: add IR debugging information
David Hardeman [Sat, 2 Dec 2006 23:16:05 +0000 (21:16 -0200)]
V4L/DVB (4881): budget-ci IR: add IR debugging information

This adds a ir_debug parameter which is useful in tracking down
IR decoding problems.
Based on Darren Salt's dvb-ir patchset.

Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk>
Signed-off-by: David Hardeman <david@hardeman.nu>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4880): budget-ci IR: decode rc5 device byte
David Hardeman [Sat, 2 Dec 2006 23:16:05 +0000 (21:16 -0200)]
V4L/DVB (4880): budget-ci IR: decode rc5 device byte

Decode the RC5 device byte as well as the command byte. Introduce a
parameter to set the device events to listen for. Default to try
to auto-detect the proper device code, otherwise, listen to any
device as the old code did.
Based on Darren Salt's dvb-ir patchset.

Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk>
Signed-off-by: David Hardeman <david@hardeman.nu>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4879): budget-ci IR: integrate with ir-common
David Hardeman [Sat, 2 Dec 2006 23:16:05 +0000 (21:16 -0200)]
V4L/DVB (4879): budget-ci IR: integrate with ir-common

This converts the budget-ci driver so that it uses ir-common for some of its
IR processing. In particular, the keymap for the Nova-T (sub 13c2:1011) is
switched to the Hauppauge grey/black keymap, of which the keys on the
supplied R808 remote control form a subset.
The old budget-ci keymap is moved to ir-keymaps.c and is used for other
remotes.
The debounce logic for buggy remotes (i.e. Zenith) is made conditional the
new debounce parameter and defaults to off (so that repeat keypresses aren't
ignored for all working remotes).
Some parts are based on Darren Salt's dvb-ir patchset.

Signed-off-by: David Hardeman <david@hardeman.nu>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4878): budget-ci IR: be more verbose in case of init failure
David Hardeman [Sat, 2 Dec 2006 23:16:05 +0000 (21:16 -0200)]
V4L/DVB (4878): budget-ci IR: be more verbose in case of init failure

Trivial change to help the user understand what went wrong.
Taken from Darren Salt's dvb-ir patchset.

Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk>
Signed-off-by: David Hardeman <david@hardeman.nu>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4877): budget-ci IR: improve error checking in init and deinit functions
David Hardeman [Sat, 2 Dec 2006 23:16:05 +0000 (21:16 -0200)]
V4L/DVB (4877): budget-ci IR: improve error checking in init and deinit functions

Improve the error checking in the IR init and deinit functions.
Based on Darren Salt's dvb-ir patchset.

Signed-off-by: David Hardeman <david@hardeman.nu>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4876): budget-ci IR: support EVIOCGPHYS
David Hardeman [Sat, 2 Dec 2006 23:16:05 +0000 (21:16 -0200)]
V4L/DVB (4876): budget-ci IR: support EVIOCGPHYS

This patch adds a 'phys' string, of the same form as used by various other
DVB cards' IR drivers, for access by any program which uses the EVIOCPHYS
ioctl or may read /sys/class/input/*/phys (e.g. udev) to identify input
device nodes.
Taken from Darren Salt's dvb-ir patchset.

Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk>
Signed-off-by: David Hardeman <david@hardeman.nu>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4875): budget-ci IR: groundwork for following patches
David Hardeman [Sat, 2 Dec 2006 23:16:05 +0000 (21:16 -0200)]
V4L/DVB (4875): budget-ci IR: groundwork for following patches

This patch lays down some groundwork for later budget-ci patches. The bulk
of this consists of moving a few members into a new struct and renaming a
few of them.
It also allocates extra space for the device name (the "name" field in
/proc/bus/input/devices and in the relevant sysfs dir) to avoid truncation
and uses snprintf rather than sprintf in case the extra space shouldn't be
enough.
Taken from Darren Salt's dvb-ir patchset

Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk>
Signed-off-by: David Hardeman <david@hardeman.nu>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4872): Saa7134-alsa improvements
Hartmut Hackmann [Tue, 21 Nov 2006 22:59:27 +0000 (19:59 -0300)]
V4L/DVB (4872): Saa7134-alsa improvements

The change does the following:
- At device open, it sets the recording source to the current
  input instead of LINE2. So it is no longer necessary to set the
  recording source with a mixer application.
- Connects the mixer volume control to the input sensitivity selection
  of the analog sound inputs. This allows only one 6db step.

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4871): Fix i2c dependencies of VIDEO_TVEEPROM and VIDEO_TUNER
Mauro Carvalho Chehab [Tue, 21 Nov 2006 14:32:12 +0000 (11:32 -0300)]
V4L/DVB (4871): Fix i2c dependencies of VIDEO_TVEEPROM and VIDEO_TUNER

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4869): Lgh06xf: use return value of dvb_pll_configure()
Michael Krufky [Mon, 20 Nov 2006 20:03:48 +0000 (17:03 -0300)]
V4L/DVB (4869): Lgh06xf: use return value of dvb_pll_configure()

Use return value of dvb_pll_configure() to fill priv->frequency

In lgh06xf_set_params:
Rename int variable "err" to "result".
Remove needless calculation of the set frequency, since this value is now
being returned by dvb_pll_configure().

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4868): Dvb-pll: return frequency set by dvb_pll_configure()
Michael Krufky [Mon, 20 Nov 2006 19:45:29 +0000 (16:45 -0300)]
V4L/DVB (4868): Dvb-pll: return frequency set by dvb_pll_configure()

This patch removes some duplicated code by returning the frequency set by
dvb_pll_configure(), instead of recalculating it again in dvb_pll_set_params()
and dvb_pll_calc_regs().
If the return value of dvb_pll_configure is less than zero, it is an error
code.  Otherwise, the return value is the frequency actually set by the
function.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4867): Whitespace cleanup
Michael Krufky [Mon, 20 Nov 2006 19:38:42 +0000 (16:38 -0300)]
V4L/DVB (4867): Whitespace cleanup

- adhere to 80-column limit
- replace some spaces with tabs

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4863): Adding support for Pinnacle PCTV 400e DVB-S
Patrick Boettcher [Sat, 2 Dec 2006 23:16:04 +0000 (21:16 -0200)]
V4L/DVB (4863): Adding support for Pinnacle PCTV 400e DVB-S

Adding support for Pinnacle PCTV 400e DVB-S. The module name is called ttusb2,
because it this device (and other Pinnacle devices) is using the USB-protocol
originally used by Technotrend device. I'm suspecting Technotrend as the
device-designer.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4864): TDA826x I2C read with 2 messages
Patrick Boettcher [Tue, 21 Nov 2006 08:35:10 +0000 (05:35 -0300)]
V4L/DVB (4864): TDA826x I2C read with 2 messages

Added a dump I2C message to the TDA826x-driver to fix I2C read for
identification with ttusb2-driver.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4862): Fixes uninitialized variables passed to VIDIOC_G_FBUF.
audetto@tiscali.it [Mon, 20 Nov 2006 21:27:44 +0000 (18:27 -0300)]
V4L/DVB (4862): Fixes uninitialized variables passed to VIDIOC_G_FBUF.

Signed-off-by: Andrea A Odetti <audetto@tiscali.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4861): Remove the need of a STD array for drivers using video_ioctl2
Mauro Carvalho Chehab [Mon, 20 Nov 2006 16:19:20 +0000 (13:19 -0300)]
V4L/DVB (4861): Remove the need of a STD array for drivers using video_ioctl2

video_ioctl2 will auto-generate standard entries at ENUM_FMT.
Also, now, a driver may return a subset of the video array at
the return, to be stored as the current_norm.
For example, a driver may ask for V4L2_STD_PAL. At return,
driver may change it to V4L2_STD_PAL_B. This way, a futher call
to G_STD will return the exact detected video std.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4860): Optimization of v4l1 handling
Mauro Carvalho Chehab [Mon, 20 Nov 2006 15:13:25 +0000 (12:13 -0300)]
V4L/DVB (4860): Optimization of v4l1 handling

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4859): Fix initializations on some video_ioctl2 handlers
Mauro Carvalho Chehab [Mon, 20 Nov 2006 15:10:43 +0000 (12:10 -0300)]
V4L/DVB (4859): Fix initializations on some video_ioctl2 handlers

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4858): Fix: implement missing VIDIOCSTUNER on v4l1-compat module
Mauro Carvalho Chehab [Mon, 20 Nov 2006 15:10:04 +0000 (12:10 -0300)]
V4L/DVB (4858): Fix: implement missing VIDIOCSTUNER on v4l1-compat module

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4857): Cleans some ioctl structs before calling V4L2 counterpart
Mauro Carvalho Chehab [Mon, 20 Nov 2006 15:06:54 +0000 (12:06 -0300)]
V4L/DVB (4857): Cleans some ioctl structs before calling V4L2 counterpart

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4855): Support KNC1 DVBC cards with alternative tda10021 i2c address
Andrew de Quincey [Sun, 19 Nov 2006 17:10:59 +0000 (14:10 -0300)]
V4L/DVB (4855): Support KNC1 DVBC cards with alternative tda10021 i2c address

For some reason, some of these cards have the tda10021 configured to a
different address. This adds support for such cards

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4854): Handle errors from input_register_device()
Dmitry Torokhov [Mon, 20 Nov 2006 13:23:04 +0000 (10:23 -0300)]
V4L/DVB (4854): Handle errors from input_register_device()

Also sprinkled some input_sync() throughout the code.
Acked-by: Ricardo Cerqueira <v4l@cerqueira.org>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4852): Pvrusb2: Fix horizontal resolution setting problem for 24xxx devices
Mike Isely [Sun, 19 Nov 2006 23:50:31 +0000 (20:50 -0300)]
V4L/DVB (4852): Pvrusb2: Fix horizontal resolution setting problem for 24xxx devices

Fix long-standing issue which prevented use of 24xxx devices at any
horizontal resolution other an 720.  The problem is in the cx25840
module, if no attempt is made to initialize VBI there.  Such a thing
should not be needed, but the pvrusb2 driver is updated now to deal
with this.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4850): Lgh06xf: fix compiler error when not selected
Michael Krufky [Mon, 20 Nov 2006 01:58:19 +0000 (22:58 -0300)]
V4L/DVB (4850): Lgh06xf: fix compiler error when not selected

fix build error:
lgh06xf.h:29: error: syntax error before '{' token

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4847): Drivers/media/dvb/frontends: kfree() cleanups
Michael Krufky [Sun, 19 Nov 2006 22:49:11 +0000 (19:49 -0300)]
V4L/DVB (4847): Drivers/media/dvb/frontends: kfree() cleanups

We don't have to check for NULL before kfree()
Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4846): Create new lgh06xf atsc tuner module
Michael Krufky [Sun, 19 Nov 2006 22:45:26 +0000 (19:45 -0300)]
V4L/DVB (4846): Create new lgh06xf atsc tuner module

This patch creates a new atsc tuner module for the LG TDVS-H06xF ATSC tuners,
called lgh06xf.  The purpose of this change is to reduce some duplicated
code, and to allow the lgh06xf tuner code to take advantage of dvb_attach().
As a side effect, the dependency of dvb-bt8xx on dvb-pll has been removed,
since the lgh06xf module itself will use dvb-pll, while remaining optional
for the dvb-bt8xx driver through the use of DVB_FE_CUSTOMISE
Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4842): Updated camera driver
Jonathan Corbet [Sun, 19 Nov 2006 22:04:55 +0000 (19:04 -0300)]
V4L/DVB (4842): Updated camera driver

A couple of Cafe driver fixes, and support for the hue and saturation
controls.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4841): Added a newer PCI ID to CARDLIST.cx88
Mauro Carvalho Chehab [Sun, 19 Nov 2006 08:45:52 +0000 (05:45 -0300)]
V4L/DVB (4841): Added a newer PCI ID to CARDLIST.cx88

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4839): Add support ptv-305
Jelle Foks [Sat, 18 Nov 2006 18:47:15 +0000 (15:47 -0300)]
V4L/DVB (4839): Add support ptv-305

Add subvendor/device of the ADSTech Instant TV Deluxe PTV-305 to the
card list as card=45 (KWORLD_HARDWARE_MPEG_TV_XPERT).

Signed-off-by: Jelle Foks <jelle@foks.8m.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4838): Fix cx88-blackbird null pointer
Jelle Foks [Sat, 18 Nov 2006 18:47:11 +0000 (15:47 -0300)]
V4L/DVB (4838): Fix cx88-blackbird null pointer

Allows 'debug=1' for cx88-blackbird module (dev needs to be valid for
dprintk). Fixes a null-pointer dereference when using debug=1.

Signed-off-by: Jelle Foks <jelle@foks.8m.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4836): Added support for both DVB frontends of the Lifeview Trio
Nico Sabbi [Thu, 16 Nov 2006 01:06:56 +0000 (22:06 -0300)]
V4L/DVB (4836): Added support for both DVB frontends of the Lifeview Trio

This card (like some others) supports both, DVB-T and a DVB-S.
The patch adds an insmod option to select the frontend:
use_frontend=0 -> DVB-T
use_frontend=1 -> DVB-S

Signed-off-by: Nico Sabbi <nsabbi@tiscali.it>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4835): Added support for the Terratec Cinergy HT PCMCIA module
Hartmut Hackmann [Thu, 16 Nov 2006 00:31:54 +0000 (21:31 -0300)]
V4L/DVB (4835): Added support for the Terratec Cinergy HT PCMCIA module

This is a hybrid cardbus module. Besides the card support, i
modified the definition names for AGC and GPIO of the tda10046.

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4834): Cafe_ccic.c: make a function static
Adrian Bunk [Fri, 17 Nov 2006 14:59:22 +0000 (11:59 -0300)]
V4L/DVB (4834): Cafe_ccic.c: make a function static

This patch makes the needlessly global cafe_v4l_dev_release() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4833): Patch for SATELCO EasyWatch PCI (DVB-C)
Thomas Hamm [Fri, 17 Nov 2006 10:12:58 +0000 (07:12 -0300)]
V4L/DVB (4833): Patch for SATELCO EasyWatch PCI (DVB-C)

Add support for Satelco EasyWatch PCI DVBC cards

Signed-off-by: Thomas Hamm <thhamm@t-online.de>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4829): v4l2_type_names table is incomplete
Mauro Carvalho Chehab [Thu, 16 Nov 2006 14:02:28 +0000 (11:02 -0300)]
V4L/DVB (4829): v4l2_type_names table is incomplete

Sliced VBI types are missing at the tables. Fixing it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4825): FIX bug 5760: audio were not working on some bttv drivers
Mauro Carvalho Chehab [Tue, 14 Nov 2006 15:40:07 +0000 (12:40 -0300)]
V4L/DVB (4825): FIX bug 5760: audio were not working on some bttv drivers

This fixes a bug introduced by the -git commit:
bbf7871e1cd58b89f77b1152f457250c6e94b614

It seems that some bttv apps can't work fine when audioset=0.
Thanks to Christian Casteyde <casteyde.christian@free.fr> for pointing this.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4823): Add alternative device ID (0xb808) for AverMedia AverTV Volar dongles.
Jose Carlos Garcia Sogo [Tue, 14 Nov 2006 08:01:47 +0000 (05:01 -0300)]
V4L/DVB (4823): Add alternative device ID (0xb808) for AverMedia AverTV Volar dongles.

Add alternative device ID (0xb808) for AverMedia AverTV Volar dongles.

Signed-off-by: Jose Carlos Garcia Sogo <jsogo@debian.org>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4819): Dib0700: Add support for new revision of Nova-T Stick
Stefan Traby [Sun, 12 Nov 2006 16:02:51 +0000 (13:02 -0300)]
V4L/DVB (4819): Dib0700: Add support for new revision of Nova-T Stick

Added support for Nova-T Stick with USB-pid: 0x7060

Signed-off-by: Stefan Traby <stefan@hello-penguin.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4813): Added information about Technisat Sky2Pc cards
Paolo Ciarrocchi [Sun, 12 Nov 2006 17:19:15 +0000 (14:19 -0300)]
V4L/DVB (4813): Added information about Technisat Sky2Pc cards

Acked-by: Daniele Vallini <vallinidaniele@libero.it>
Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4812): Detect presence of IR receiver/IR transmitter in tveeprom
Hans Verkuil [Sun, 12 Nov 2006 12:28:46 +0000 (09:28 -0300)]
V4L/DVB (4812): Detect presence of IR receiver/IR transmitter in tveeprom

Thanks to input from Steven Toth from Hauppauge the tveeprom module has
been extended to detect the presence of an IR transmitter (aka IR-blaster).

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4806): Saa7134: add support for Hauppauge WinTV-HVR1110 DVB-T/Hybrid
Thomas Genty [Sun, 5 Nov 2006 17:17:30 +0000 (14:17 -0300)]
V4L/DVB (4806): Saa7134: add support for Hauppauge WinTV-HVR1110 DVB-T/Hybrid

This patch adds support for the Hauppauge WinTV-HVR1110 DVB-T/Hybrid

Signed-off-by: Thomas Genty <tomlohave@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4805): Dib0700: Add support for Leadtek Winfast DTV Dongle (STK7700P based)
Michael Krufky [Wed, 8 Nov 2006 19:47:32 +0000 (16:47 -0300)]
V4L/DVB (4805): Dib0700: Add support for Leadtek Winfast DTV Dongle (STK7700P based)

This patch adds support for the new, STK7700-based revision
of the Leadtek Winfast DTV Dongle.

Signed-off-by: Michal CIJOML Semler <cijoml@volny.cz>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4798): OmniVision OV7670 driver
Jonathan Corbet [Sat, 4 Nov 2006 12:26:00 +0000 (09:26 -0300)]
V4L/DVB (4798): OmniVision OV7670 driver

This patch adds a V4L2 driver for the OmniVision OV7670 camera.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4797): Marvell 88ALP01 "cafe" driver
Jonathan Corbet [Sat, 4 Nov 2006 12:25:53 +0000 (09:25 -0300)]
V4L/DVB (4797): Marvell 88ALP01 "cafe" driver

A driver for the Marvell M88ALP01 "CAFE" CMOS integrated camera
controller.  This driver has been renamed "cafe_ccic" since my previous
patch set.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4796): A couple of V4L2 defines needed by Cafe Camara driver
Jonathan Corbet [Sat, 4 Nov 2006 12:22:27 +0000 (09:22 -0300)]
V4L/DVB (4796): A couple of V4L2 defines needed by Cafe Camara driver

Two defines for V4L2, needed by the Cafe camera driver:
1) Add the RGB444 image format
2) Add the "init" internal command which is separate from "reset".

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4794): Dvb: dibx000_common-fix
Andrew Morton [Thu, 2 Nov 2006 22:45:13 +0000 (19:45 -0300)]
V4L/DVB (4794): Dvb: dibx000_common-fix

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4792): Add support for the Compro Videomate DVB-T200A
Hartmut Hackmann [Mon, 30 Oct 2006 23:00:16 +0000 (20:00 -0300)]
V4L/DVB (4792): Add support for the Compro Videomate DVB-T200A

This board has the same PCI ID as the T200, so the exact board type
is determined from the eeprom.
The original patch was provided by Francis Barber <fedora@barber-family.id.au>

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4791): Added autodetected flag to the saa7134_dev structure
Hartmut Hackmann [Mon, 30 Oct 2006 22:56:59 +0000 (19:56 -0300)]
V4L/DVB (4791): Added autodetected flag to the saa7134_dev structure

In case the exact board type needs to be determined by probing
or evaluating the eeprom, this flag allows to still set the
board type via the card=xx insmod option.
This is an extract of a patch by Francis Barber.

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4789): Lgdt330x: SNR and signal strength reporting
Trent Piepho [Sun, 29 Oct 2006 16:35:39 +0000 (13:35 -0300)]
V4L/DVB (4789): Lgdt330x: SNR and signal strength reporting

Update the SNR calculations to use the new dvb_math log function, and add
SNR calculations for all supported modulations for both lg dt3302 and dt3303.
The QAM equations don't appear in the dt3302 datasheet, so the ones from the
dt3303 datasheet were used.
SNR returned is the actual value in dB as 8.8 fixed point.
Reporting of real signal strength isn't supported, so rather than return 0,
which confuses some software and users, a re-scaled SNR value is returned.
Code originally by Rusty Scott.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Rusty Scott <rustys@ieee.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4788): Tda8083: support for uncorrectable blocks and bit error rate
Christoph Haubrich [Tue, 31 Oct 2006 03:29:30 +0000 (00:29 -0300)]
V4L/DVB (4788): Tda8083: support for uncorrectable blocks and bit error rate

Copied routines for uc blocks and BER from the removed tda80xx.c
into tda8083.c.

Signed-off-by: Christoph Haubrich <christoph1.haubrich@arcor.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 years agoV4L/DVB (4778): Fixed device count
Patrick Boettcher [Thu, 19 Oct 2006 11:17:43 +0000 (08:17 -0300)]
V4L/DVB (4778): Fixed device count

Forgot to increase the device count for the STK7700P-devices

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>