]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/log
linux-2.6-omap-h63xx.git
15 years agoV4L/DVB (9116): USB: remove info() macro from usb media drivers
Greg Kroah-Hartman [Fri, 10 Oct 2008 08:08:23 +0000 (05:08 -0300)]
V4L/DVB (9116): USB: remove info() macro from usb media drivers

USB should not be having it's own printk macros, so remove info() and
use the system-wide standard of dev_info() wherever possible.

Cc: Douglas Landgraf <dougsland@gmail.com>
Cc: Mike Isely <isely@pobox.com>
Cc: Thierry Merle <thierry.merle@free.fr>
Cc: Antoine Jacquet <royale@zerezo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9114): dib0700: fix bad assignment of dib0700_xc5000_tuner_callback after...
Devin Heitmueller [Mon, 6 Oct 2008 15:07:48 +0000 (12:07 -0300)]
V4L/DVB (9114): dib0700: fix bad assignment of dib0700_xc5000_tuner_callback after return call

Put callback definition before function return and cleanup callback:

Fix a bug where the xc5000 callback was being set *after* the
return call (essentially resulting in dead code).

Also cleanup the callback function to detect unknown commands.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (8904): cx88: add missing unlock_kernel
Hans Verkuil [Tue, 2 Sep 2008 22:00:21 +0000 (19:00 -0300)]
V4L/DVB (8904): cx88: add missing unlock_kernel

sparse found an unbalanced BKL usage.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9113): saa7134: fixes for the Asus Tiger Revision 1.00
Hermann Pitton [Sun, 5 Oct 2008 00:37:36 +0000 (21:37 -0300)]
V4L/DVB (9113): saa7134: fixes for the Asus Tiger Revision 1.00

In opposite to the P7131 Dual this early OEM card has a male
radio antenna connector and also no remote.

We currently switch the DVB-T RF feed to the radio input, like
on the P7131 with female radio connector used also for DVB-T
and should improve this.

Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9111): cx18: Up the version to 1.0.1
Andy Walls [Fri, 3 Oct 2008 16:49:05 +0000 (13:49 -0300)]
V4L/DVB (9111): cx18: Up the version to 1.0.1

cx18: Up the version to 1.0.1.  This will make it easy to tell if retries
of MMIO access are implemented or not in trouble reports.  First course of
action for I2C and other initialization problem reports will be to have user
upgrade to v1.0.1 of driver.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9110): cx18: Add default behavior of checking and retrying PCI MMIO accesses
Andy Walls [Mon, 29 Sep 2008 00:46:02 +0000 (21:46 -0300)]
V4L/DVB (9110): cx18: Add default behavior of checking and retrying PCI MMIO accesses

cx18: Add default behavior of checking and retrying PCI MMIO accesses.
The concept of checking and retrying PCI MMIO accesses for better reliability
in older motherboards was suggested by Steve Toth <stoth@linuxtv.org>.  This
change implements MMIO retries and the retry_mmio module parameter that is
enabled by default.  Limited experiments have shown this is more reliable than
the mmio_ndelay parameter.  mmio_ndelay has insignificant effect with retries
enabled.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9108): cinergyT2: add remote key repeat feature
Thierry MERLE [Fri, 19 Sep 2008 03:24:51 +0000 (00:24 -0300)]
V4L/DVB (9108): cinergyT2: add remote key repeat feature

Implement key repeat feature for the cinergyT2 remote controller.

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9107): Alternative version of Terratec Cinergy T2 driver
Tomi Orava [Fri, 19 Sep 2008 03:48:31 +0000 (00:48 -0300)]
V4L/DVB (9107): Alternative version of Terratec Cinergy T2 driver

Alternative version of the Terratec Cinergy T2 driver that uses the dvb framework.

Signed-off-by: Tomi Orava <tomimo@ncircle.nullnet.fi>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
[mchehab@redhat.com: fix dvb Makefile]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9105): correct Makefile symbol for stv0288 frontend
Janne Grunau [Tue, 30 Sep 2008 16:57:42 +0000 (13:57 -0300)]
V4L/DVB (9105): correct Makefile symbol for stv0288 frontend

Signed-off-by: Janne Grunau <janne-dvb@grunau.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9101): radio-mr800: Add driver for AverMedia MR 800 USB FM radio devices
Alexey Klimov [Wed, 1 Oct 2008 12:40:59 +0000 (09:40 -0300)]
V4L/DVB (9101): radio-mr800: Add driver for AverMedia MR 800 USB FM radio devices

This patch creates a new usb-radio driver, radio-mr800.c, that
supports the AverMedia MR 800 USB FM radio devices.
This device plugs into both the USB and an analog audio input, so this
thing only deals with initialization and frequency setting, the audio
data has to be handled by a sound driver.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9098): Whitespace cleanups
Mauro Carvalho Chehab [Sat, 4 Oct 2008 17:18:37 +0000 (14:18 -0300)]
V4L/DVB (9098): Whitespace cleanups

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9097): gspca: Adjust control values and restore compilation of sonixj.
Jean-Francois Moine [Sat, 4 Oct 2008 17:17:02 +0000 (14:17 -0300)]
V4L/DVB (9097): gspca: Adjust control values and restore compilation of sonixj.

- no compilation since last changeset
- brightness is a signed value
- better values of the color matrix

[mchehab@redhat.com: fix a merge conflict]
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9096): gspca: Subdriver selection at config time.
Erik Andren [Fri, 3 Oct 2008 18:47:03 +0000 (15:47 -0300)]
V4L/DVB (9096): gspca: Subdriver selection at config time.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9095): gspca: Moves some sensor initialization to each sensor in m5602.
Erik Andren [Fri, 3 Oct 2008 18:29:02 +0000 (15:29 -0300)]
V4L/DVB (9095): gspca: Moves some sensor initialization to each sensor in m5602.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9094): gspca: Frame counter in ALi m5602.
Erik Andren [Fri, 3 Oct 2008 12:28:45 +0000 (09:28 -0300)]
V4L/DVB (9094): gspca: Frame counter in ALi m5602.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9093): gspca: Cleanup code and small changes.
Erik Andren [Fri, 3 Oct 2008 11:46:50 +0000 (08:46 -0300)]
V4L/DVB (9093): gspca: Cleanup code and small changes.

- convert some #define to enum.
- remove some comments.
- return ENOMEM on memory allocation failure.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9091): gspca: Subdriver m5602 (ALi) added.
Erik Andren [Wed, 1 Oct 2008 07:51:53 +0000 (04:51 -0300)]
V4L/DVB (9091): gspca: Subdriver m5602 (ALi) added.

This patch adds support for the ALi m5602 usb bridge and is based on
the gspca framework.
It contains code for communicating with 5 different sensors:
OmniVision OV9650, Pixel Plus PO1030, Samsung S5K83A, S5K4AA and
finally Micron MT9M111.

Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
[mchehab@redhat.com: fix m5602/Makefile]
[mchehab@redhat.com: extern debug caused conflicts. Renamed to m5602_debug]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9090): gspca: Restart the state machine when no frame buffer in finepix.
Frank Zago [Tue, 30 Sep 2008 06:55:33 +0000 (03:55 -0300)]
V4L/DVB (9090): gspca: Restart the state machine when no frame buffer in finepix.

Signed-off-by: Frank Zago <frank@zago.net>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9089): gspca: Remove the duplicated EOF (ff d9) in t613.
Jean-Francois Moine [Mon, 29 Sep 2008 10:03:06 +0000 (07:03 -0300)]
V4L/DVB (9089): gspca: Remove the duplicated EOF (ff d9) in t613.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9088): gspca: New subdriver 'finepix' added.
Frank Zago [Mon, 29 Sep 2008 09:59:36 +0000 (06:59 -0300)]
V4L/DVB (9088): gspca: New subdriver 'finepix' added.

Signed-off-by: Frank Zago <frank@zago.net>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9087): gspca: Image transfer by bulk uses altsetting 0 with any buffer size.
Jean-Francois Moine [Mon, 29 Sep 2008 08:57:32 +0000 (05:57 -0300)]
V4L/DVB (9087): gspca: Image transfer by bulk uses altsetting 0 with any buffer size.

- gspca_dev field 'bulk_size' added.
- when only one altsetting usable, do image transfer by bulk.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9086): gspca: Use a kref to avoid potentialy blocking forever in disconnect.
Frank Zago [Sun, 28 Sep 2008 11:12:22 +0000 (08:12 -0300)]
V4L/DVB (9086): gspca: Use a kref to avoid potentialy blocking forever in disconnect.

Signed-off-by: Frank Zago <frank@zago.net>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9085): gspca: URB_NO_TRANSFER_DMA_MAP is required for isoc and bulk transfers.
Frank Zago [Sun, 28 Sep 2008 10:43:00 +0000 (07:43 -0300)]
V4L/DVB (9085): gspca: URB_NO_TRANSFER_DMA_MAP is required for isoc and bulk transfers.

Signed-off-by: Frank Zago <frank@zago.net>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9084): gspca: Fixed a few typos in comments.
Frank Zago [Fri, 26 Sep 2008 10:43:54 +0000 (07:43 -0300)]
V4L/DVB (9084): gspca: Fixed a few typos in comments.

Signed-off-by: Frank Zago <frank@zago.net>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9083): gspca: URB_NO_TRANSFER_DMA_MAP is not useful for isoc transfers.
Jean-Francois Moine [Fri, 26 Sep 2008 08:52:52 +0000 (05:52 -0300)]
V4L/DVB (9083): gspca: URB_NO_TRANSFER_DMA_MAP is not useful for isoc transfers.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9082): gspca: Vertical flip the image by default in sonixj.
Jean-Francois Moine [Mon, 22 Sep 2008 06:14:25 +0000 (03:14 -0300)]
V4L/DVB (9082): gspca: Vertical flip the image by default in sonixj.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9081): gspca: Bad webcam name of 046d:092f in documentation.
Jean-Francois Moine [Mon, 22 Sep 2008 05:57:56 +0000 (02:57 -0300)]
V4L/DVB (9081): gspca: Bad webcam name of 046d:092f in documentation.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9079): gspca: Return error code from stream start functions.
Jean-Francois Moine [Sat, 20 Sep 2008 09:39:08 +0000 (06:39 -0300)]
V4L/DVB (9079): gspca: Return error code from stream start functions.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9078): gspca: New exported function to retrieve the current frame buffer.
Jean-Francois Moine [Sat, 20 Sep 2008 08:44:21 +0000 (05:44 -0300)]
V4L/DVB (9078): gspca: New exported function to retrieve the current frame buffer.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9077): gspca: Set the right V4L2_DEBUG values in the main driver.
Frank Zago [Mon, 15 Sep 2008 08:20:38 +0000 (05:20 -0300)]
V4L/DVB (9077): gspca: Set the right V4L2_DEBUG values in the main driver.

Signed-off-by: Frank Zago <frank@zago.net>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9076): gspca: USB direction lacking in spca561.
Shane [Mon, 15 Sep 2008 07:18:51 +0000 (04:18 -0300)]
V4L/DVB (9076): gspca: USB direction lacking in spca561.

Signed-off-by: Shane <gnome42@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9074): gspca: sonixj webcam 0c45:60fe added.
Jean-Francois Moine [Wed, 10 Sep 2008 05:57:09 +0000 (02:57 -0300)]
V4L/DVB (9074): gspca: sonixj webcam 0c45:60fe added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9072): S2API: Add DTV_API_VERSION command
Steven Toth [Fri, 26 Sep 2008 03:29:49 +0000 (00:29 -0300)]
V4L/DVB (9072): S2API: Add DTV_API_VERSION command

This allows application developers to query the dvb-core API version
dynamically, helping developers understand whether certain features
will be available.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9071): S2API: Implement result codes for individual commands
Steven Toth [Fri, 26 Sep 2008 03:16:25 +0000 (00:16 -0300)]
V4L/DVB (9071): S2API: Implement result codes for individual commands

This allows application developers to determine which particular
command in a sequence is invalid, or failing with error.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9070): S2API: Removed the typedef for the commands, used defines instead.
Steven Toth [Fri, 26 Sep 2008 03:04:52 +0000 (00:04 -0300)]
V4L/DVB (9070): S2API: Removed the typedef for the commands, used defines instead.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9069): cx88: Bugfix: all client disconnects put the frontend to sleep.
Darron Broad [Thu, 25 Sep 2008 19:51:11 +0000 (16:51 -0300)]
V4L/DVB (9069): cx88: Bugfix: all client disconnects put the frontend to sleep.

From the author:

"This fixes the problem where previously all client disconnects
put the analogue frontend into standby.

In the following example, the first command is succesfully
watching TV but the second command which returns EBUSY
detunes the receiver by entering it into the standby state.

tvtime -d /dev/video0 &
cat /dev/video0
"

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9068): Kconfig dependency fix for DW2002 card with ST STV0288 demodulator.
Igor M. Liplianin [Thu, 25 Sep 2008 02:18:27 +0000 (23:18 -0300)]
V4L/DVB (9068): Kconfig dependency fix for DW2002 card with ST STV0288 demodulator.

Kconfig dependency fix for DW2002 card with ST STV0288 demodulator.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9067): Kconfig correction for USB card modification with SI2109/2110 demodul...
Igor M. Liplianin [Thu, 25 Sep 2008 01:48:53 +0000 (22:48 -0300)]
V4L/DVB (9067): Kconfig correction for USB card modification with SI2109/2110 demodulator.

Kconfig correction for USB card modification with SI2109/2110 demodulator.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9066): Pinnacle Hybrid PCTV Pro (pctv310c) DVB-T support
Stéphane Voltz [Fri, 5 Sep 2008 17:33:54 +0000 (14:33 -0300)]
V4L/DVB (9066): Pinnacle Hybrid PCTV Pro (pctv310c) DVB-T support

This patch against latest mercurial makes DVB-T working on Pinnacle
Hybrid PCTV Pro (pctv310c).

In cx88-dvb.c, a specific zl10353_config is created with the if2
inferred from the old comment in the currently used config. It is then
used for attach, and i2c_gate_ctrl is set to NULL.

The entry in cx88-cards.c is modified with GPIO gathered from windows
with regspy, and DVB enabled. The frontend is set to
XC3028_FE_ZARLINK456 to match the zl10353_config.

It is working great with the freeview channels I can receive.

Signed-off-by: Stéphane Voltz <stef.dev@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9065): saa7134: fix I2C remote controls on saa7134
Dmitri Belimov [Mon, 29 Sep 2008 05:25:40 +0000 (02:25 -0300)]
V4L/DVB (9065): saa7134: fix I2C remote controls on saa7134

This is patch for solve this regression. Load ir-kbd-i2c module when remote is i2c type.

Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9063): Add ADS Tech Instant HDTV PCI support
Adam Glover [Tue, 6 May 2008 06:20:27 +0000 (03:20 -0300)]
V4L/DVB (9063): Add ADS Tech Instant HDTV PCI support

Add PCI ID and device specific tables for ADS Tech Instant HDTV.

[mchehab@redhat.com: make checkpatch happy and fix merge conflicts]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9062): Add support for Prolink Pixelview Global Extreme
Mauro Carvalho Chehab [Mon, 29 Sep 2008 15:08:29 +0000 (12:08 -0300)]
V4L/DVB (9062): Add support for Prolink Pixelview Global Extreme

Thanks to Sidney Matias <sidney.matias@gmail.com> for getting GPIO
values and testing on this device.

Cc: Sidney Matias <sidney.matias@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9061): saa7134: Add support for Real Audio 220
Mauro Carvalho Chehab [Thu, 26 Jun 2008 20:03:00 +0000 (17:03 -0300)]
V4L/DVB (9061): saa7134: Add support for Real Audio 220

Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) for sponsoring
this development.

Signed-off-by: Gilberto <gilberto@sistemafenix.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9060): saa7134: Add support for Avermedia PCI pure analog (M135A)
Mauro Carvalho Chehab [Thu, 26 Jun 2008 20:03:00 +0000 (17:03 -0300)]
V4L/DVB (9060): saa7134: Add support for Avermedia PCI pure analog (M135A)

Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) for sponsoring
this development.

Signed-off-by: Gilberto <gilberto@sistemafenix.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9059): saa7134: Add support for Encore version 5.3 board
Mauro Carvalho Chehab [Thu, 26 Jun 2008 20:03:00 +0000 (17:03 -0300)]
V4L/DVB (9059): saa7134: Add support for Encore version 5.3 board

Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) for sponsoring
this development.

Signed-off-by: Gilberto <gilberto@sistemafenix.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9058): spca561: while balance -> white balance typo
Shane [Thu, 11 Sep 2008 19:14:09 +0000 (16:14 -0300)]
V4L/DVB (9058): spca561: while balance -> white balance typo

Cc: Jean-Francois Moine <moinejf@free.fr>
Cc: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9057): saa7134: Hauppauge HVR-1110, support for radio and analog audio in
David Bentham [Sun, 28 Sep 2008 19:29:51 +0000 (16:29 -0300)]
V4L/DVB (9057): saa7134: Hauppauge HVR-1110, support for radio and analog audio in

The audio switch is at 0x100 and radio on gpio 21.

Tested-by: Thomas Genty <tomlohave@gmail.com>
Signed-off-by: David Bentham <db260179@hotmail.com>
Reviewed-by: Hermann Pitton <hermann-pitton@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9055): tuner-xc2028: Do a better job selecting firmware type
Mauro Carvalho Chehab [Sun, 28 Sep 2008 05:24:44 +0000 (02:24 -0300)]
V4L/DVB (9055): tuner-xc2028: Do a better job selecting firmware type

Firmware selection is very tricky on this device. This patch do a better
selection of the proper firmware type, by using a code to hint if the
firmware to be loaded should be D2620 or D2633.

It also allows overriding the hint at the control structure.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9051): dib0700: use dvb_frontend->callback for xc5000 gpio reset
Michael Krufky [Thu, 25 Sep 2008 12:47:07 +0000 (09:47 -0300)]
V4L/DVB (9051): dib0700: use dvb_frontend->callback for xc5000 gpio reset

The tuner_callback function pointer from struct xc5000_config has been removed.
Use dvb_frontend->callback instead.

Also, mark function dib0700_xc5000_tuner_callback as static int.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback
Michael Krufky [Fri, 12 Sep 2008 16:31:45 +0000 (13:31 -0300)]
V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9048): add a general-purpose callback pointer to struct dvb_frontend
Michael Krufky [Wed, 10 Sep 2008 04:39:20 +0000 (01:39 -0300)]
V4L/DVB (9048): add a general-purpose callback pointer to struct dvb_frontend

Remove tuner_callback pointers from tuner driver configuration
and private state structures, replaced with a general-purpose
callback pointer within struct dvb_frontend.

A new parameter is added to the callback function, called
component. This allows us to use this callback pointer by
frontend components other than the tuner, if need be. So
far, this is only used by tuner drivers.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9047): [PATCH] Add remote control support to Nova-TD (52009)
Chris Rankin [Thu, 25 Sep 2008 09:52:24 +0000 (06:52 -0300)]
V4L/DVB (9047): [PATCH] Add remote control support to Nova-TD (52009)

This patch adds remote control support for the Hauppauge WinTV Nova-TD
(Diversity) model. (That's the 52009 version.) It also adds the
key-codes for the credit-card style remote control that comes with
this particular adapter.

Signed-off-by: Chris Rankin <rankincj@yahoo.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9046): Add support for Non-Pro version of Pinnacle PCTV HD USB Stick
Devin Heitmueller [Thu, 25 Sep 2008 09:22:23 +0000 (06:22 -0300)]
V4L/DVB (9046): Add support for Non-Pro version of Pinnacle PCTV HD USB Stick

Add USB ID for Pinnacle PCTV HD USB Stick.  According to the USB trace and
photos, the only difference is the removal of the port for the analog
S-video/audio input.

Thanks to Mike Pringle <oblongd@gmail.com> for providing the USB trace of the
device starting up, and testing the support.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9045): Add Pinnacle 801e dependencies to KConfig
Devin Heitmueller [Thu, 25 Sep 2008 09:21:11 +0000 (06:21 -0300)]
V4L/DVB (9045): Add Pinnacle 801e dependencies to KConfig

Support for the Pinnacle PCTV HD Pro 801e creates a dib0700 dependency on
the xc5000 tuner and s5h1411 demodulator drivers.  Update KConfig accordingly.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9044): Add support for Pinnacle PCTV HD Pro 801e (ATSC only)
Devin Heitmueller [Mon, 8 Sep 2008 08:42:42 +0000 (05:42 -0300)]
V4L/DVB (9044): Add support for Pinnacle PCTV HD Pro 801e (ATSC only)

Add digital support for the Pinnacle PCTV HD Pro 801e (usb id 2304:023a)

Thanks to Patrick Boettcher <patrick.boettcher@desy.de> for providing new
firmware fixing the issue with the i2c that prevented the xc5000 from working.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9042): Add support for Asus My Cinema U3000 Hybrid
Albert Comerma [Sun, 7 Sep 2008 15:43:33 +0000 (12:43 -0300)]
V4L/DVB (9042): Add support for Asus My Cinema U3000 Hybrid

This patch introduces support for dvb-t for the following dibcom based
cards: Asus My Cinema U3000 Hybrid (USB-ID: 0b05:1736)

Signed-off-by: Albert Comerma <albert.comerma@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
Daniel Oliveira Nascimento [Sun, 7 Sep 2008 15:39:44 +0000 (12:39 -0300)]
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)

This patch extends the dib0700 driver to support the DVB-part of the Asus notebook M51Sn tv-tunner (USB-ID 1164:1f08).

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9040): TTUSB-DEC DVB-S: claim to have lock
Peter Beutner [Sat, 6 Sep 2008 16:54:06 +0000 (13:54 -0300)]
V4L/DVB (9040): TTUSB-DEC DVB-S: claim to have lock

As reported by BOUWSMA Barry the readout of the signal status doesn't work
on dec3000-s models. Since we don't know how to do it better, revert back
to the old behaviour and always report a signal lock.

Reported by Barry Bouwsma

Signed-off-by: Peter Beutner <p.beutner@gmx.net>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9039): Add support for new i2c API provided in firmware version 1.20
Devin Heitmueller [Sat, 6 Sep 2008 16:45:27 +0000 (13:45 -0300)]
V4L/DVB (9039): Add support for new i2c API provided in firmware version 1.20

The Pinnacle PCTV HD Pro has an xc5000, which exposed a bug in the dib0700's
i2c implementation where it did not properly support a single i2c read request
(sending it as an i2c write request instead).  Version 1.20 of the firmware
added support for a new i2c API which supported such requests.

This change defaults to fw 1.20 for all devices, but does not default to using
the new i2c API (since initial testing suggests problems interacting with the
mt2060).  Maintainers can enable the use of the new i2c API by putting
the following into their frontend initialization:

struct dib0700_state *st = adap->dev->priv;
st->fw_use_new_i2c_api = 1;

Also note that the code expects i2c repeated start to be supported.  If the
i2c slave does not support repeated start, i2c messsages should have the
I2C_M_NOSTART flag set.

Thanks to Patrick Boettcher <patrick.boettcher@desy.de> for providing new
firmware fixing the issue as well as example i2c code utilizing the interface.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9038): Add support for the Gigabyte R8000-HT USB DVB-T adapter.
Finn Thain [Sat, 6 Sep 2008 16:42:47 +0000 (13:42 -0300)]
V4L/DVB (9038): Add support for the Gigabyte R8000-HT USB DVB-T adapter.

Thanks to Ilia Penev for the tip-off that this device is much the same as
(identical to?) a Terratec Cinergy HT USB XE, and for the firmware hints:
http://linuxtv.org/pipermail/linux-dvb/2008-August/028108.html

DVB functionality tested OK with xine using the usual dib0700 firmware.

This diff is based on the latest latest linuxtv.org v4l-dvb mercurial
repo.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9036): uvcvideo: Fix control cache access when setting composite auto-update...
Laurent Pinchart [Sat, 27 Sep 2008 23:54:02 +0000 (20:54 -0300)]
V4L/DVB (9036): uvcvideo: Fix control cache access when setting composite auto-update controls

Auto-update controls are never marked is loaded to prevent uvc_get_ctrl from
loading the control value from the cache. When setting a composite (mapped to
several V4L2 controls) auto-update UVC control, the driver updates the control
cache value before processing each V4L2 control, overwriting the previously
set V4L2 control.

This fixes the problem by marking all controls as loaded in uvc_set_ctrl
regardless of their type and resetting the loaded flag in uvc_commit_ctrl for
auto-update controls.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9035): uvcvideo: Declare missing camera and processing unit controls.
Laurent Pinchart [Mon, 22 Sep 2008 16:14:59 +0000 (13:14 -0300)]
V4L/DVB (9035): uvcvideo: Declare missing camera and processing unit controls.

This declares all missing UVC camera and processing unit controls. V4L2
mappings are not supported yet for those controls.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9034): With the recent patch to v4l2 titled "v4l2: use register_chrdev_region
David Ellingsworth [Sun, 21 Sep 2008 07:12:03 +0000 (04:12 -0300)]
V4L/DVB (9034): With the recent patch to v4l2 titled "v4l2: use register_chrdev_region

instead of register_chrdev", the internal reference count is no longer
necessary in order to free the internal stk_webcam struct. This patch
removes the reference counter from the stk_webcam struct and frees the
struct via the video_device release callback. It also fixes an
associated bug in stk_camera_probe which could result from
video_unregister_device being called before video_register_device.
Lastly, it simplifies access to the stk_webcam struct in several
places. This patch should apply cleanly against the "working" branch
of the v4l-dvb git repository.

This patch is identical to the patch I sent a couple of months back
titled "stk-webcam: Fix video_device handling" except that it has been
rebased against current modifications to stk-webcam and it no longer
depends on any other outstanding patches.

Acked-by: Jaime Velasco Juan <jsagarribay@gmail.com>
Signed-off-by: David Ellingsworth <david@identd.dyndns.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9033): drivers/media/video/tda9840.c: unbreak
Andrew Morton [Fri, 19 Sep 2008 02:26:35 +0000 (23:26 -0300)]
V4L/DVB (9033): drivers/media/video/tda9840.c: unbreak

drivers/media/video/tda9840.c: In function 'tda9840_command':
drivers/media/video/tda9840.c:152: warning: 'result' is used uninitialized in this function

[mchehab@redhat.com: Fix conflict with another patch that were meant to solve the warning]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB:usbvideo:don't use part of buffer for USB transfer #4
Ming Lei [Tue, 16 Sep 2008 06:32:20 +0000 (03:32 -0300)]
V4L/DVB:usbvideo:don't use part of buffer for USB transfer #4

The status[] is part of  uvc_device structure. We can't make sure
the address of status is at a cache-line boundary in all archs,so
status[] might share a cache-line with some fields in uvc_structure.
This can lead to some cache coherence issues(http://lwn.net/Articles/2265/).
Use dynamically allocated buffer instead.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9031): uvcvideo: Fix incomplete frame drop when switching to a variable...
Laurent Pinchart [Tue, 16 Sep 2008 01:24:29 +0000 (22:24 -0300)]
V4L/DVB (9031): uvcvideo: Fix incomplete frame drop when switching to a variable size format.

When streaming in a fixed size format the driver sets a flag in the uvc_queue
structure to drop incomplete incoming frames. The flag wasn't cleared when
switching to a variable size format, which resulted in a broken
'MJPEG after YUV'.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9030): uvcvideo : Add support for Advent 4211 integrated webcam
Laurent Pinchart [Tue, 16 Sep 2008 01:19:46 +0000 (22:19 -0300)]
V4L/DVB (9030): uvcvideo : Add support for Advent 4211 integrated webcam

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9028): saa7134: add support for the triple Asus Tiger 3in1
hermann pitton [Sun, 14 Sep 2008 20:49:14 +0000 (17:49 -0300)]
V4L/DVB (9028): saa7134: add support for the triple Asus Tiger 3in1

after looking it up, all rants about the 80 columns restriction seem to
be in vain. After changing the card's name it are now "only" seven new
lines in the tiny DVB-T/DVB-S switch function.

saa7130/34: v4l2 driver version 0.2.14 loaded
saa7133[0]: found at 0000:02:08.0, rev: 209, irq: 18, latency: 32, mmio: 0xfdef7000
saa7133[0]: subsystem: 1043:4878, board: Asus Tiger 3in1 [card=147,autodetected]
saa7133[0]: board init: gpio is 200000
tuner' 2-004b: chip found @ 0x96 (saa7133[0])
saa7133[0]: i2c eeprom 00: 43 10 78 48 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
saa7133[0]: i2c eeprom 10: ff ff ff 0f ff 20 ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08 ff 00 d7 ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 40: ff 28 00 c2 96 16 03 02 c0 1c ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c scan: found device @ 0x10  [???]
saa7133[0]: i2c scan: found device @ 0x16  [???]
saa7133[0]: i2c scan: found device @ 0x1c  [???]
saa7133[0]: i2c scan: found device @ 0x96  [???]
saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
tda829x 2-004b: setting tuner address to 61
tda829x 2-004b: type set to tda8290+75a
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0

DVB: registering new adapter (saa7133[0])
DVB: registering frontend 0 (Philips TDA10086 DVB-S)...

The board init gpio is 0x0, 0x200000 is from previously unloading with
antenna_switch = 1.

It needs firmware for the tda10046 and analog sound needs saa7134-alsa.

I have support for one more board and need to fix the first revision of
the Asus Tiger DVB-T hybrid. DVB-T currently hangs on the male radio
antenna input, also some small other stuff.

Please report any issues with this patch, the next are depending on this
one.

saa7134: add support for the triple Asus Tiger 3in1

Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9026): Add support for ST STV0288 demodulator and cards with it.
Igor M. Liplianin [Tue, 23 Sep 2008 18:43:57 +0000 (15:43 -0300)]
V4L/DVB (9026): Add support for ST STV0288 demodulator and cards with it.

Add support for ST STV0288 demodulator and cards with it,
such as TeVii S420.
Patch is co-authored with Georg Acher <acher@baycom.de>

Signed-off-by: Georg Acher <acher@baycom.de>
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9025): S2API: Deactivate the ISDB-T definitions
Steven Toth [Wed, 24 Sep 2008 01:21:26 +0000 (22:21 -0300)]
V4L/DVB (9025): S2API: Deactivate the ISDB-T definitions

We don't want to push the ISDB-T definitions into the kernel until
we have a high level of confidence in the ISDB-T API. More testing
is required before this code is released.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9024): S2API: Cleanup dtv_property remove unwanted fields.
Steven Toth [Wed, 24 Sep 2008 01:14:33 +0000 (22:14 -0300)]
V4L/DVB (9024): S2API: Cleanup dtv_property remove unwanted fields.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9023): cx88: HVR3000 / 4000 GPIO related changes
Steven Toth [Mon, 22 Sep 2008 04:48:13 +0000 (01:48 -0300)]
V4L/DVB (9023): cx88: HVR3000 / 4000 GPIO related changes

Patch by Darron Broad.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9022): cx88: Enable TDA9887 on HVR1300 / 3000 / 4000
Steven Toth [Mon, 22 Sep 2008 04:46:26 +0000 (01:46 -0300)]
V4L/DVB (9022): cx88: Enable TDA9887 on HVR1300 / 3000 / 4000

Patch provided by Darron Broad.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9021): S2API: Add Kconf dependency
Steven Toth [Mon, 22 Sep 2008 04:45:01 +0000 (01:45 -0300)]
V4L/DVB (9021): S2API: Add Kconf dependency

Patch provided by Darron Broad

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9020): Added support for TBS 8920 DVB-S/S2 card
Oleg Roitburd [Wed, 17 Sep 2008 14:58:33 +0000 (11:58 -0300)]
V4L/DVB (9020): Added support for TBS 8920 DVB-S/S2 card

Added support for TBS 8920 DVB-S/S2 card. The card
based on cx24116 demodulator.

Signed-off-by: Oleg Roitburd <oroitburd@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9019): Added support for Omicom SS4 DVB-S/S2 card
Oleg Roitburd [Wed, 17 Sep 2008 14:30:21 +0000 (11:30 -0300)]
V4L/DVB (9019): Added support for Omicom SS4 DVB-S/S2 card

Added support for Omicom SS4 DVB-S/S2 card. The card
based on cx24116 demodulator.

Signed-off-by: Oleg Roitburd <oroitburd@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9018): Add support for USB card modification with SI2109/2110 demodulator.
Igor M. Liplianin [Wed, 17 Sep 2008 22:19:19 +0000 (19:19 -0300)]
V4L/DVB (9018): Add support for USB card modification with SI2109/2110 demodulator.

Add support for USB card modification with SI2109/2110 demodulator.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9017): Add support for Silicon Laboratories SI2109/2110 demodulators.
Igor M. Liplianin [Tue, 16 Sep 2008 21:21:11 +0000 (18:21 -0300)]
V4L/DVB (9017): Add support for Silicon Laboratories SI2109/2110 demodulators.

Add support for Silicon Laboratories SI2109/2110 demodulator
and cards with it, such as DvbWorld PCI2002.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9016): HVR3000/4000 Hauppauge related IR cleanups
Darron Broad [Mon, 22 Sep 2008 03:54:59 +0000 (00:54 -0300)]
V4L/DVB (9016): HVR3000/4000 Hauppauge related IR cleanups

From the author:
This patch-set fixes remote control issues I have experienced
with hauppauge drivers in Linux since the PVR-350 and now
with both a NOVA-S+ and HVR-4000. It has also been confirmed
to work with an HVR-1300 user who had exactly the same issue.

Hauppage remote controls use RC5. RC5 has a bit-field which
represents the target device. The hauppauge windows drivers
have a registry key which can enable filtering, but the linux
drivers will accept any target device in this bit field for
internal processing.

This causes problems with setups such as mythtv where remote
control key presses destined for the TV (target = 0) are
interpreted by the kernel and subsequenctly LIRC then mythtv.

Of the remote controls I have to hand (wintv black, pvr/hvr
silver) the hauppauge remotes send one of two device targets
ids, these are interpreted by the patch which then filters
out any non hauppauge addresses.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9015): S2API: cx24116 register description fixes.
Darron Broad [Mon, 22 Sep 2008 03:47:20 +0000 (00:47 -0300)]
V4L/DVB (9015): S2API: cx24116 register description fixes.

From the author:
Here is a simple patch detailing some reverse engineered
register detail lost in my latest merge. The comments
in the code refer to this register but it is never
defined. This corrects this.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9014): History update: MPEG initialization in cx24116.
Igor M. Liplianin [Sun, 14 Sep 2008 10:43:53 +0000 (07:43 -0300)]
V4L/DVB (9014): History update: MPEG initialization in cx24116.

Adjust MPEG initialization in cx24116 in order to accomodate different
MPEG CLK position and polarity in different cards. For example, HVR4000
uses 0x02 value, but DvbWorld & TeVii USB cards uses 0x01. Without it MPEG
stream was broken on that cards for symbol rates > 30000 kSyms/s.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9013): S2API: cx24116 Rolloff changes, sysctls cleanup, isl power changes.
Darron Broad [Sun, 14 Sep 2008 13:45:58 +0000 (10:45 -0300)]
V4L/DVB (9013): S2API: cx24116 Rolloff changes, sysctls cleanup, isl power changes.

Remove the debugging sysctls.
Rolloff was broken, not it works as expected and has been tested in kaffeine.
Power related changes for the isl6421 are not implemented on the HVR4000/4000LITE.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9012): Add support for DvbWorld 2004 DVB-S2 PCI adapter
Igor M. Liplianin [Sat, 13 Sep 2008 23:56:59 +0000 (20:56 -0300)]
V4L/DVB (9012): Add support for DvbWorld 2004 DVB-S2 PCI adapter

Add support for DvbWorld 2004 DVB-S2 PCI adapter.
The card contains dm1105 PCI chip and cx24116 demodulator

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9011): S2API: A number of cleanusp from the last 24 months.
Darron Broad [Sat, 13 Sep 2008 22:42:16 +0000 (19:42 -0300)]
V4L/DVB (9011): S2API: A number of cleanusp from the last 24 months.

I was given these changes by Darron Broad and Igor Liplianin and represent a series
of patches they've been making to the cx24116 driver over the last two years.

Changes for handling symbolrates >30Ksps
Tone handling changes.
Diseqc support.
Sleep support, shutting down the clocks correctly.
Cleanup on ROLL_OFF and PILOT support.

*** ST - We need to cleanup the sysclt control, this is abnormal
    in a demod driver. We should work towards understanding the missing
    API's and ensure we have them in S2API.  ***

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9010): Add support for SDMC DM1105 PCI chip
Igor M. Liplianin [Sat, 13 Sep 2008 13:10:53 +0000 (10:10 -0300)]
V4L/DVB (9010): Add support for SDMC DM1105 PCI chip

Add support for SDMC DM1105 PCI chip. There is a lot of
cards based on it, like DvbWorld 2002 DVB-S , 2004 DVB-S2

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9009): Nova-se2 / Nova-s-plus Intersil6421 power fix to support switches.
Steven Toth [Sat, 13 Sep 2008 22:22:15 +0000 (19:22 -0300)]
V4L/DVB (9009): Nova-se2 / Nova-s-plus Intersil6421 power fix to support switches.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9008): S2API: Bugfix related to syncing the cache when used with the old...
Steven Toth [Sat, 13 Sep 2008 21:15:17 +0000 (18:15 -0300)]
V4L/DVB (9008): S2API: Bugfix related to syncing the cache when used with the old API.

Many thanks to Darron Broad for pointing out the obvious.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9007): S2API: Changed bandwidth to be expressed in HZ
Steven Toth [Sat, 13 Sep 2008 19:56:34 +0000 (16:56 -0300)]
V4L/DVB (9007): S2API: Changed bandwidth to be expressed in HZ

Also added some compat code for the older API.

Added more ISDB message/command suggestions, current not connected in dvb-core.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9006): S2API: Allow reliable use of old and new api on the same frontend...
Steven Toth [Sat, 13 Sep 2008 18:09:07 +0000 (15:09 -0300)]
V4L/DVB (9006): S2API: Allow reliable use of old and new api on the same frontend, regardless.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9005): Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error
Igor M. Liplianin [Fri, 12 Sep 2008 17:49:06 +0000 (14:49 -0300)]
V4L/DVB (9005): Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error

Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9004): S2API: Implement GET/SET handing to the demods
Steven Toth [Fri, 12 Sep 2008 04:37:37 +0000 (01:37 -0300)]
V4L/DVB (9004): S2API: Implement GET/SET handing to the demods

The frontends will be notified (if they chose) of all _get and _set commands
so they can help determine result or action. Results are now returned
to userspace correctly.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9003): S2API: Remove the DTV_SET_ and DTV_GET_ prefixes
Steven Toth [Fri, 12 Sep 2008 04:34:28 +0000 (01:34 -0300)]
V4L/DVB (9003): S2API: Remove the DTV_SET_ and DTV_GET_ prefixes

The API now assumes that ioctl calls for FE_SET_PROPERTY and all
set commands, and FE_GET_PROPERTY are get commands.

Simplification.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9002): S2API: Ensure cache->delivery_system is set at all times.
Steven Toth [Fri, 12 Sep 2008 03:53:50 +0000 (00:53 -0300)]
V4L/DVB (9002): S2API: Ensure cache->delivery_system is set at all times.

This helps complex demods which support different modulation types
be better informed.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9001): S2API: ISDBT_SEGMENT_NUM -> ISDBT_SEGMENT_IDX
Steven Toth [Fri, 12 Sep 2008 03:33:04 +0000 (00:33 -0300)]
V4L/DVB (9001): S2API: ISDBT_SEGMENT_NUM -> ISDBT_SEGMENT_IDX

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9000): S2API: Cleanup code that prepares tuning structures.
Steven Toth [Fri, 12 Sep 2008 03:27:13 +0000 (00:27 -0300)]
V4L/DVB (9000): S2API: Cleanup code that prepares tuning structures.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (8999): S2API: Reduce demod driver complexity by using a cache sync
Steven Toth [Fri, 12 Sep 2008 02:52:32 +0000 (23:52 -0300)]
V4L/DVB (8999): S2API: Reduce demod driver complexity by using a cache sync

For demod drivers, we want a single tuning function (set_frontend) to have
access to the properly constructed dvb_frontend_parameters structure, or
the cache values - regardless of whether the legacy or new API is being used.

This cuts down on redundant code in the demod drivers and ensures the
tuning parameters are consistent regardless of the API entry type.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (8998): s2api: restore DTV_UNDEFINED
Steven Toth [Fri, 12 Sep 2008 00:08:59 +0000 (21:08 -0300)]
V4L/DVB (8998): s2api: restore DTV_UNDEFINED

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (8997): S2API: Cleanup SYMBOLRATE, INNERFEC -> SYMBOL_RATE, INNER_FEC
Steven Toth [Thu, 11 Sep 2008 13:34:19 +0000 (10:34 -0300)]
V4L/DVB (8997): S2API: Cleanup SYMBOLRATE, INNERFEC -> SYMBOL_RATE, INNER_FEC

This is now consistent with the existing API.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (8996): S2API: typedefs replaced, _SEQ_'s removed, fixed 16 command arrays...
Steven Toth [Thu, 11 Sep 2008 13:23:01 +0000 (10:23 -0300)]
V4L/DVB (8996): S2API: typedefs replaced, _SEQ_'s removed, fixed 16 command arrays replaced

After discussion the following changes were made:
1. Removed the typedefs in frontend.h, use structures.
2. In the frontend.h, remove the 16 command limit on the API and
   switch to a flexible variable length API. For practical reasons
   a #define limits this to 64, this should be discussed.
3. Changed dvb-core ioctl handing to deal with variable sequences
   of commands.

tune-v0.0.3.c is required to use this API, it contains the interface changes.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (8995): S2API: tv_ / TV_ to dtv_ / DTV_ namespace changes
Steven Toth [Thu, 11 Sep 2008 13:19:27 +0000 (10:19 -0300)]
V4L/DVB (8995): S2API: tv_ / TV_ to dtv_ / DTV_ namespace changes

The group preferred dtv_ over tv_, this implements it.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>