openwrt/staging/blogic.git
18 years agoV4L/DVB (3405): TechnoTrend S-1500 card handling moved from budget.c to budget-ci.c
Perceval Anichini [Tue, 28 Feb 2006 12:52:44 +0000 (09:52 -0300)]
V4L/DVB (3405): TechnoTrend S-1500 card handling moved from budget.c to budget-ci.c

TechnoTrend S-1500 card handling moved from budget.c to budget-ci.c.

Signed-off-by: Perceval Anichini <perceval.anichini@streamvision.fr>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3404): Refactored LNBP21 and BSBE1 support
Oliver Endriss [Tue, 28 Feb 2006 12:31:16 +0000 (09:31 -0300)]
V4L/DVB (3404): Refactored LNBP21 and BSBE1 support

Moved duplicated code to separate files.
LNBP21 stuff rewritten from scratch, BSBE1 copied from av7110.c.
Modified budget driver to use the new routines.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3403): Workaround to fix initialization for Nexus CA
Marco Schluessler [Fri, 24 Feb 2006 21:53:00 +0000 (18:53 -0300)]
V4L/DVB (3403): Workaround to fix initialization for Nexus CA

Workaround for Nexus CA: Debi test fails unless first debi write is repeated.

Signed-off-by: Marco Schluessler <marco@lordzodiac.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3401): Coding style fixes in saa7134-dvb.c
Hartmut Hackmann [Tue, 28 Feb 2006 00:14:36 +0000 (21:14 -0300)]
V4L/DVB (3401): Coding style fixes in saa7134-dvb.c

deleted 2 semicolons at end of functions

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3400): Fixes for Lifeview Trio non fatal bugs
Hartmut Hackmann [Tue, 28 Feb 2006 00:08:07 +0000 (21:08 -0300)]
V4L/DVB (3400): Fixes for Lifeview Trio non fatal bugs

- Init message was sent to wrong slave address
- Deleted outdated comment

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3399a): cpia2/cpia2_v4l.c cleanups
Adrian Bunk [Tue, 28 Feb 2006 07:40:51 +0000 (04:40 -0300)]
V4L/DVB (3399a): cpia2/cpia2_v4l.c cleanups

- make 2 needlessly global functions static

- remove cpia2_setup(): the driver already allows setting parameters
  through module_param(), and there's no reason for having two different
  ways for setting the same parameters

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3197a): IR keymaps are exported by the ir-common module now
Ricardo Cerqueira [Fri, 3 Mar 2006 15:13:42 +0000 (12:13 -0300)]
V4L/DVB (3197a): IR keymaps are exported by the ir-common module now

Moved keymaps to the ir-common module, and export them from there, instead
of #including them in each module

Included missing files from V4L/DVB(3197).

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3399): ELSA EX-VISION 500TV: fix incorrect PCI subsystem ID
Michael Krufky [Mon, 27 Feb 2006 18:22:49 +0000 (15:22 -0300)]
V4L/DVB (3399): ELSA EX-VISION 500TV: fix incorrect PCI subsystem ID

- ELSA EX-VISION 500TV was incorrectly programmed to have the same
  subsystem ID as ELSA EX-VISION 300TV, (1048:226b)
- This changeset replaces the incorrect subsystem ID (1048:226b)
  with the correct one (1048:226a) for the ELSA EX-VISION 500TV.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3398): ELSA EX-VISION 700TV: fix incorrect PCI subsystem ID
Michael Krufky [Mon, 27 Feb 2006 17:38:17 +0000 (14:38 -0300)]
V4L/DVB (3398): ELSA EX-VISION 700TV: fix incorrect PCI subsystem ID

- Corrected autodetection for saa7130 card:
  subsystem: 1048:226c, board: ELSA EX-VISION 700TV

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3396): Add DVB-T support for the LifeView DVB Trio PCI card
Nico Sabbi [Fri, 3 Mar 2006 15:11:28 +0000 (12:11 -0300)]
V4L/DVB (3396): Add DVB-T support for the LifeView DVB Trio PCI card

This patch adds DVB-T support, no DVB-S yet

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>
18 years agoV4L/DVB (3395): Fixed Pinnacle 300i DVB-T support
Hartmut Hackmann [Fri, 3 Mar 2006 15:09:26 +0000 (12:09 -0300)]
V4L/DVB (3395): Fixed Pinnacle 300i DVB-T support

- fixed tda9886 port 2 setting
- turned remote control receiver off via saa7134 GPIO to avoid i2c hangs
- modified tda9886 client calls to direct i2c access to allow proper return
  to analog mode
- allow mode change to V4L2_TUNER_DIGITAL_TV in tuner VIDIOC_S_FREQUENCY
  client call

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3394): Bttv: correct bttv_risc_packed buffer size
Duncan Sands [Mon, 27 Feb 2006 03:09:48 +0000 (00:09 -0300)]
V4L/DVB (3394): Bttv: correct bttv_risc_packed buffer size

This patch fixes the strange crashes I was seeing after using
bttv card, caused by a buffer overflow in bttv_risc_packed.
The instruction buffer size calculation contains two errors:
(a) a non-zero padding value can push the start of the next bpl
section to just before a page border, leading to more scanline
splits and thus additional instructions.
(b) the first DMA region can be smaller than one page, so there can
be a scanline split even if bpl*lines is smaller than PAGE_SIZE.
For example, consider the case where offset is 0, bpl is 2, padding
is 4094, lines is smaller than 2048, the first DMA region has size 1
and all others have size PAGE_SIZE, assumed to equal 4096.  Then
all bpl regions cross page borders and the number of instructions
written is 2*lines+2, rather than lines+2 (the current estimate).
With this patch the number of instructions for this example is
estimated to be 2*lines+3.
Also, the BUG_ON that was supposed to catch buffer overflows contained
a thinko causing it fire only if the buffer was overrun by a factor of
16 or more, so it fixes the the BUG_ON's (using sizeof rather than "4").

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3393): Cx88: reduce excessive logging
Ian Pickworth [Mon, 27 Feb 2006 03:09:45 +0000 (00:09 -0300)]
V4L/DVB (3393): Cx88: reduce excessive logging

- fix temporary debug code by changing printk to dprintk at level 1.
- move CORE_IOCTL messages from level 1 to level 2.
- this should help with selective debugging,
  while not filling people's logs up during normal use.

Signed-off-by: Ian Pickworth <ian@pickworth.me.uk>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3392a): XC3028 code removed from -git versions
Mauro Carvalho Chehab [Mon, 27 Feb 2006 03:09:41 +0000 (00:09 -0300)]
V4L/DVB (3392a): XC3028 code removed from -git versions

- Current xc3028 support is still experimental, requiring more work to be
  sent to mainstream. It will be kept only at mercurial tree on
  http://linuxtv.org/hg until fixed.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3392): Do a RESYNC for all cards
Manu Abraham [Mon, 27 Feb 2006 03:09:37 +0000 (00:09 -0300)]
V4L/DVB (3392): Do a RESYNC for all cards

After a FIFO corruptions occurrs (generally due to buffer overflow), FIFO
contents needs to be discarted.

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3391): Documentation update
Uwe Bugla [Mon, 27 Feb 2006 03:09:34 +0000 (00:09 -0300)]
V4L/DVB (3391): Documentation update

Signed-off-by: Uwe Bugla <uwe.bugla@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3390): Fix module parameters
Manu Abraham [Mon, 27 Feb 2006 03:09:32 +0000 (00:09 -0300)]
V4L/DVB (3390): Fix module parameters

Now, root may change parameters while module is running.
Thanks to Edgar Toerning

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3389): Fix broken IF-OUT Relay handling
Manu Abraham [Mon, 27 Feb 2006 03:09:29 +0000 (00:09 -0300)]
V4L/DVB (3389): Fix broken IF-OUT Relay handling

Fixed broken IF-OUT on pinnacle sat board.
Thanks to Edgar Toernig

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3388): Ignore DiSEqC messages > 6 and < 3
Manu Abraham [Mon, 27 Feb 2006 03:09:25 +0000 (00:09 -0300)]
V4L/DVB (3388): Ignore DiSEqC messages > 6 and < 3

Ignore invalid messages on cx24110 frontend.
Thanks to Edgar Toernig

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3386): Dvb-core: remove dead code
Peter Beutner [Mon, 27 Feb 2006 03:09:23 +0000 (00:09 -0300)]
V4L/DVB (3386): Dvb-core: remove dead code

The field "dvr" in struct dmxdev is competely unused. Remove
it and code which allocates, initializes and frees it.

Signed-off-by: Peter Beutner <p.beutner@gmx.net>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3385): Dvb: fix __init/__exit section references in av7110 driver
Johannes Stezenbach [Mon, 27 Feb 2006 03:09:20 +0000 (00:09 -0300)]
V4L/DVB (3385): Dvb: fix __init/__exit section references in av7110 driver

use __devinit/__devexit/__devexit_p() where appropriate

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3382): Fix stv0297 for qam128 on tt c1500 (saa7146)
Mattias Nordstrom [Mon, 27 Feb 2006 03:09:17 +0000 (00:09 -0300)]
V4L/DVB (3382): Fix stv0297 for qam128 on tt c1500 (saa7146)

I have a TT C1500 card (saa7146, STV0297) which had problems tuning
channels at QAM128 (like the ones in the Finnish HTV / Welho network).
A fix which seems to work perfectly so far is to change the delay for
QAM128 to the same values as for QAM256 in stv0297_set_frontend(),

Signed-off-by: Mattias Nordstrom <nordstrom@realnode.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3380): TUV1236d: declare buffer as static const
Michael Krufky [Mon, 27 Feb 2006 03:09:14 +0000 (00:09 -0300)]
V4L/DVB (3380): TUV1236d: declare buffer as static const

Make buffer a static const

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3378): Restore power on defaults of tda9887 after tda8290 probe
Hartmut Hackmann [Mon, 27 Feb 2006 03:09:11 +0000 (00:09 -0300)]
V4L/DVB (3378): Restore power on defaults of tda9887 after tda8290 probe

The probing code for tda8290 changes the state of the tda9887 GP ports.
The patch assumes that if probing for tda8290 failed, this must be a
tda9887 and restores its power on defaults.
This should solve the module load order issue with some pinnacle cards.

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3377): Support for Satelco EasyWatch DVB-S light
Thilo Berger [Mon, 27 Feb 2006 03:09:08 +0000 (00:09 -0300)]
V4L/DVB (3377): Support for Satelco EasyWatch DVB-S light

Support for Satelco EasyWatch DVB-S light.

Signed-off-by: Thilo Berger <thilo_berger@gmx.net>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3376): Add cpia2 camera support
Alan Cox [Mon, 27 Feb 2006 03:09:05 +0000 (00:09 -0300)]
V4L/DVB (3376): Add cpia2 camera support

There has been a CPIA2 driver out of kernel for a long time and it has
been pretty clean for some time too. This is an import of the
sourceforge driver which has been stripped of
- 2.4 back compatibility
- 2.4 old style MJPEG ioctls
A couple of functions have been made static and the docs have been
repackaged into Documentation/video4linux.  The rvmalloc/free functions now
match the cpia driver again.  Other than that this is the code as is.
Tested on x86-64 with a QX5 microscope.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3375): Add AUDIO_GET_PTS and VIDEO_GET_PTS ioctls
Andreas Oberritter [Mon, 27 Feb 2006 03:09:00 +0000 (00:09 -0300)]
V4L/DVB (3375): Add AUDIO_GET_PTS and VIDEO_GET_PTS ioctls

Add two new ioctls to read the 33 bit presentation time stamp from audio
and video devices as defined in ITU T-REC-H.222.0 and ISO/IEC 13818-1.
Acked-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3374): Adds debuging v4l2_memory enum
Mauro Carvalho Chehab [Mon, 27 Feb 2006 03:08:58 +0000 (00:08 -0300)]
V4L/DVB (3374): Adds debuging v4l2_memory enum

Some cleanup on printing enum names.
v4l2_memory now translated also to name.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3373): Debug messages for ioctl improved
Mauro Carvalho Chehab [Mon, 27 Feb 2006 03:08:55 +0000 (00:08 -0300)]
V4L/DVB (3373): Debug messages for ioctl improved

Adds field and type name to debug message.
Also prints now format for type=capture.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3372): Fix a small bug when constructing fps and line numbers
Mauro Carvalho Chehab [Mon, 27 Feb 2006 03:08:52 +0000 (00:08 -0300)]
V4L/DVB (3372): Fix a small bug when constructing fps and line numbers

Previously, only NTSC and PAL/M were associated to 30fps and
525 lines, so, PAL/60 were not handled properly.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3371): Add debug to ioctl arguments.
Mauro Carvalho Chehab [Mon, 27 Feb 2006 03:08:49 +0000 (00:08 -0300)]
V4L/DVB (3371): Add debug to ioctl arguments.

Added a new function that allows printing ioctl arguments.
This makes easier to include debug code under v4l ioctl
handling.
Also fixed some declarations on internal ioctl.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3369): LifeView FlyDVB-T Duo: add support for remote control
Rudo Thomas [Mon, 27 Feb 2006 03:08:46 +0000 (00:08 -0300)]
V4L/DVB (3369): LifeView FlyDVB-T Duo: add support for remote control

The remote controller on the LifeView FlyDVB-T Duo card work flawlessly
with the same settings as the LifeView FlyDVB-T LR301 card.

Signed-off-by: Rudo Thomas <rudo@matfyz.cz>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3368): KWorld HardwareMpegTV XPert: update comments
Michael Krufky [Mon, 27 Feb 2006 03:08:43 +0000 (00:08 -0300)]
V4L/DVB (3368): KWorld HardwareMpegTV XPert: update comments

Standard video using the cx88 broadcast decoder is
working, but blackbird isn't working yet, audio is only
working correctly for television mode. S-Video and Composite
are working for video-only, so I have them disabled for now.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3366): Kworld ATSC110: initialize the tuner for analog mode on module load
Curt Meyers [Mon, 27 Feb 2006 03:08:39 +0000 (00:08 -0300)]
V4L/DVB (3366): Kworld ATSC110: initialize the tuner for analog mode on module load

- Enable the tuv1236 tuner on the Kworld-ATSC110 card so that the
  tuner can be identified when tuners.ko loads.
- With this change it is no longer necessary to remove and reload
  the tuner module in order to get the tuv1236 identified.
- This code was copied from the ATI HDTV Wonder init routine (in cx88-cards.c)
  which also uses the TUV1236D.

Signed-off-by: Curt Meyers <cmeyers@boilerbots.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3365): Kworld ATSC110: cleanups
Michael Krufky [Mon, 27 Feb 2006 03:08:36 +0000 (00:08 -0300)]
V4L/DVB (3365): Kworld ATSC110: cleanups

- There is no radio with this tuner card...
Thanks-to: Dwaine Garden <DwaineGarden@rogers.com>
- fixed capitalization in card name.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3363): Kworld ATSC110: enable composite and svideo inputs
Curt Meyers [Mon, 27 Feb 2006 03:08:32 +0000 (00:08 -0300)]
V4L/DVB (3363): Kworld ATSC110: enable composite and svideo inputs

- corrected composite input.
- verified s-video input.

Signed-off-by: Curt Meyers <cmeyers@boilerbots.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3362): KWorld ATSC110: implement set_pll_input
Curt Meyers [Mon, 27 Feb 2006 03:08:27 +0000 (00:08 -0300)]
V4L/DVB (3362): KWorld ATSC110: implement set_pll_input

- When tuning VSB, use ANT input
- When tuning QAM, use CABLE input

Signed-off-by: Curt Meyers <cmeyers@boilerbots.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3361): Add support for Kworld ATSC110
Andrew Burri [Mon, 27 Feb 2006 03:08:23 +0000 (00:08 -0300)]
V4L/DVB (3361): Add support for Kworld ATSC110

Signed-off-by: Andrew Burri <andrew.burri@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3354): Fix maximum for the saturation and contrast controls.
Hans Verkuil [Mon, 27 Feb 2006 03:08:20 +0000 (00:08 -0300)]
V4L/DVB (3354): Fix maximum for the saturation and contrast controls.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3352): Cxusb: fix lgdt3303 naming
Michael Krufky [Mon, 27 Feb 2006 03:08:17 +0000 (00:08 -0300)]
V4L/DVB (3352): Cxusb: fix lgdt3303 naming

The following are specific to lgdt3303, and are being renamed to reflect this.
- cxusb_lgdt330x_config renamed to cxusb_lgdt3303_config.
- cxusb_lgdt330x_frontend_attach renamed to cxusb_lgdt3303_frontend_attach.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3349): Remote control codes for BTTV_BOARD_CONTVFMI
BoyZonder [Mon, 27 Feb 2006 03:08:15 +0000 (00:08 -0300)]
V4L/DVB (3349): Remote control codes for BTTV_BOARD_CONTVFMI

The remote control interface for this board is the same as the one for
BTTV_BOARD_CONCEPTRONIC_CTVFMI2

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3348): Fixed saa7134 ALSA initialization with multiple cards
Ricardo Cerqueira [Mon, 27 Feb 2006 03:08:11 +0000 (00:08 -0300)]
V4L/DVB (3348): Fixed saa7134 ALSA initialization with multiple cards

When multiple cards were installed, only the first card would have
audio initialized, because only the first position in the array parameter
defaulted to "1"
To make things worse, the "enable" parameter wasn't enabled, so there
was no workaround.

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3347): Pinnacle PCTV 40i: add filtered Composite2 input
Karsten Suehring [Mon, 27 Feb 2006 03:08:08 +0000 (00:08 -0300)]
V4L/DVB (3347): Pinnacle PCTV 40i: add filtered Composite2 input

This patch adds another composite input to the Pinnacle PCTV 100i
definition which filters the chrominace signal from the luma input. This
improves video quality for Composite signals on the S-Video connector of
the card.
In addition the name string of the card is changed to include PCTV 40i
and 50i since these cards are identical.

Signed-off-by: Karsten Suehring <ksuehring@gmx.net>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3346): Add saa713x card: ELSA EX-VISION 700TV (saa7130)
Tamuki Shoichi [Mon, 27 Feb 2006 03:08:04 +0000 (00:08 -0300)]
V4L/DVB (3346): Add saa713x card: ELSA EX-VISION 700TV (saa7130)

Add support for ELSA EX-VISION 700TV, which is the ELSA Japan's
flagship model of the software encoding TV capture card.
All inputs (Television, Composite1 and S-Video) have been tested.

Signed-off-by: Tamuki Shoichi <tamuki@linet.gr.jp>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3344): KWorld HardwareMpegTV XPert must set gpio2
Michael Krufky [Mon, 27 Feb 2006 03:08:01 +0000 (00:08 -0300)]
V4L/DVB (3344): KWorld HardwareMpegTV XPert must set gpio2

- KWorld HardwareMpegTV XPert must set gpio2

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3343): KWorld HardwareMpegTV XPert: Add radio support
Michael Krufky [Mon, 27 Feb 2006 03:07:58 +0000 (00:07 -0300)]
V4L/DVB (3343): KWorld HardwareMpegTV XPert: Add radio support

- add radio support for KWorld HardwareMpegTV XPert
- fix GPIO settings for tv and radio

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3341): Upstream sync - make 2 structs static
Adrian Bunk [Mon, 27 Feb 2006 03:07:55 +0000 (00:07 -0300)]
V4L/DVB (3341): Upstream sync - make 2 structs static

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3340): Make a struct static
Manu Abraham [Mon, 27 Feb 2006 03:07:52 +0000 (00:07 -0300)]
V4L/DVB (3340): Make a struct static

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3337): Drivers/media/dvb/frontends/mt312.c: cleanups
Adrian Bunk [Mon, 27 Feb 2006 03:07:49 +0000 (00:07 -0300)]
V4L/DVB (3337): Drivers/media/dvb/frontends/mt312.c: cleanups

This patch contains the following possible cleanups:
- update the Kconfig help to mention the VP310
- merge vp310_attach and mt312_attach into a new vp310_mt312_attach
  to remove some code duplication

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3336): Bt8xx documentation authors fix
Michael Krufky [Mon, 27 Feb 2006 03:07:46 +0000 (00:07 -0300)]
V4L/DVB (3336): Bt8xx documentation authors fix

- use one Author per line, which allows us to add more
  authors later without creating a mess.
- Add Michael Krufky due to -git commit
2cbeddc976645262dbe036d6ec0825f96af70da3

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3335): Fix in-kernel build
Michael Krufky [Mon, 27 Feb 2006 03:07:43 +0000 (00:07 -0300)]
V4L/DVB (3335): Fix in-kernel build

- remove tuner.ko build dependency on xc3028.o , which will be added again later.
- fix the following build error when using the "make kernel-links" build method to
  symlink the latest code from the v4l-dvb repository into the kernel source:
drivers/media/video/xc3028.c:31:20: em28xx.h: No such file or directory
drivers/media/video/xc3028.c: In function `xc3028_init':
drivers/media/video/xc3028.c:120: error: dereferencing pointer to incomplete type
drivers/media/video/xc3028.c:121: error: dereferencing pointer to incomplete type
drivers/media/video/xc3028.c:139: error: dereferencing pointer to incomplete type
drivers/media/video/xc3028.c:140: error: dereferencing pointer to incomplete type
make[3]: *** [drivers/media/video/xc3028.o] Error 1

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3334): Added ET61X251 fourcc type
Mauro Carvalho Chehab [Mon, 27 Feb 2006 03:07:40 +0000 (00:07 -0300)]
V4L/DVB (3334): Added ET61X251 fourcc type

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3332): XC3028 code marked with an special define option
Mauro Carvalho Chehab [Mon, 27 Feb 2006 03:07:37 +0000 (00:07 -0300)]
V4L/DVB (3332): XC3028 code marked with an special define option

- Current xc3028 support is still experimental, requiring more work to be
  sent to mainstream. So, it was marked inside some defines, in order to be
  removed by gentree.pl stript. Script also updated to remove it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3293): Fixed amux hauppauge hvr900/terratec hybrid xs
Markus Rechberger [Mon, 27 Feb 2006 03:07:34 +0000 (00:07 -0300)]
V4L/DVB (3293): Fixed amux hauppauge hvr900/terratec hybrid xs

Fixed amux hauppauge hvr900/terratec hybrid xs

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3292): Fixed xc3028 firmware extractor, added terratec fw support
Markus Rechberger [Mon, 27 Feb 2006 03:07:31 +0000 (00:07 -0300)]
V4L/DVB (3292): Fixed xc3028 firmware extractor, added terratec fw support

Fixed xc3028 firmware extractor for terratec's emBDA.sys firmware
Fixed delay in firmwareupload, now terratec's firmware also works

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3291): Added support for xc3028 analogue tuner (Hauppauge HVR900, Terratec...
Markus Rechberger [Mon, 27 Feb 2006 03:07:27 +0000 (00:07 -0300)]
V4L/DVB (3291): Added support for xc3028 analogue tuner  (Hauppauge HVR900, Terratec Hybrid XS)

Added support for xc3028 to v4l which adds support for:
 * Terratec Hybrid XS (analogue)
 * Hauppauge HVR 900 (analogue)

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3300b): .gitignore should also ignore StGit generated dirs
Mauro Carvalho Chehab [Mon, 27 Feb 2006 03:07:24 +0000 (00:07 -0300)]
V4L/DVB (3300b): .gitignore should also ignore StGit generated dirs

StGit genreates patches-* when you run stg export command.
It makes no sense to show such directories as changes on git status.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3300a): Removing personal email from DVB maintainers
Mauro Carvalho Chehab [Mon, 27 Feb 2006 03:07:21 +0000 (00:07 -0300)]
V4L/DVB (3300a): Removing personal email from DVB maintainers

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3326): Adding support for Terratec Prodigy XS
Markus Rechberger [Tue, 7 Feb 2006 05:14:16 +0000 (06:14 +0100)]
V4L/DVB (3326): Adding support for Terratec Prodigy XS

Adding support for Terratec Prodigy XS

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3325): Disabled debug on by default in tvp5150
Markus Rechberger [Tue, 7 Feb 2006 03:01:19 +0000 (04:01 +0100)]
V4L/DVB (3325): Disabled debug on by default in tvp5150

disabled debug on by default in tvp5150

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3324): Fix Samsung tuner frequency ranges
Hans Verkuil [Mon, 6 Feb 2006 21:52:24 +0000 (23:52 +0200)]
V4L/DVB (3324): Fix Samsung tuner frequency ranges

Forgot to take the NTSC frequency offset into account.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3318e): DVB: remove the at76c651/tda80xx frontends
Adrian Bunk [Tue, 7 Feb 2006 08:49:15 +0000 (06:49 -0200)]
V4L/DVB (3318e): DVB: remove the at76c651/tda80xx frontends

The at76c651 and tda80xx frontends are currently completely unused, IOW
their only effect is making the kernel larger for people accitentially
enabling them.

The current in-kernel drivers differ from the drivers at cvs.tuxbox.org,
and re-adding them when parts of the dbox2 project get merged should be
trivial.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3318c): fix saa7146 kobject register failure
Dave Jones [Tue, 7 Feb 2006 08:49:15 +0000 (06:49 -0200)]
V4L/DVB (3318c): fix saa7146 kobject register failure

Whoops.

kobject_register failed for hexium HV-PCI6/Orion (-13)
[<c01d3eb6>] kobject_register+0x31/0x47
[<c023a996>] bus_add_driver+0x4a/0xfd
[<c01de3c1>] __pci_register_driver+0x82/0xa4
[<d083400a>] hexium_init_module+0xa/0x47 [hexium_orion]
[<c013bdae>] sys_init_module+0x167b/0x1822
[<c01633f7>] do_sync_read+0xb8/0xf3
[<c0133fa3>] autoremove_wake_function+0x0/0x2d
[<c0145390>] audit_syscall_entry+0x118/0x13f
[<c0106ae2>] do_syscall_trace+0x104/0x14a
[<c0103d21>] syscall_call+0x7/0xb

slashes in kobject names aren't allowed.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3318b): sem2mutex: drivers/media/, #2
Ingo Molnar [Tue, 7 Feb 2006 08:49:14 +0000 (06:49 -0200)]
V4L/DVB (3318b): sem2mutex: drivers/media/, #2

Semaphore to mutex conversion.

The conversion was generated via scripts, and the result was validated
automatically via a script as well.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3318a): Makes Some symbols static.
Mauro Carvalho Chehab [Tue, 7 Feb 2006 08:49:14 +0000 (06:49 -0200)]
V4L/DVB (3318a): Makes Some symbols static.

Some symbols at cx88-alsa were global. Making those static.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3316): Add initial support for KWorld HardwareMpegTV XPert
Michael Krufky [Tue, 7 Feb 2006 08:49:14 +0000 (06:49 -0200)]
V4L/DVB (3316): Add initial support for KWorld HardwareMpegTV XPert

- Add initial support for KWorld HardwareMpegTV XPert.
- uses silicon tuner: tda8290 + tda8275
- standard video using cx88 broadcast decoder is working.
- blackbird mpeg encoder support (cx23416) not yet working.
- FM radio untested.
- audio is only working correctly in television mode,
  all other modes disabled.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3315): Added support for the Tevion DVB-T 220RF card
Peter Hartshorn [Tue, 7 Feb 2006 08:49:13 +0000 (06:49 -0200)]
V4L/DVB (3315): Added support for the Tevion DVB-T 220RF card

This is an analog / digital hybrid card.

Signed-off-by: Peter Hartshorn <p3r@users.sourceforge.net>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3314): Fixed em28xx based system lockup
Markus Rechberger [Tue, 7 Feb 2006 08:49:13 +0000 (06:49 -0200)]
V4L/DVB (3314): Fixed em28xx based system lockup

Fixed em28xx based system lockup, device needs to be initialized
before starting the isoc transfer otherwise the system will completly lock up.

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3313): FIX: Check if FW was downloaded or not + new firmware file
Patrick Boettcher [Tue, 7 Feb 2006 08:49:12 +0000 (06:49 -0200)]
V4L/DVB (3313): FIX: Check if FW was downloaded or not + new firmware file

- When a firmware was downloaded dvb_usb_device_init returns NULL for the
  dvb_usb_device, then nothing should be done with that pointer and device,
  because it will re-enumerate.
- A new firmware should be used with digitv devices.
- It should make "slave"-devices work and others, too.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3312): FIX: Multiple usage of VP7045-based devices
Patrick Boettcher [Tue, 7 Feb 2006 08:49:12 +0000 (06:49 -0200)]
V4L/DVB (3312): FIX: Multiple usage of VP7045-based devices

Reassigning function pointers in a static led to infinite loops when using
multiple VP7045-based device at the same time on one system. Using kmalloc'd
copies for reassignments is better.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3310): Use MT352 parallel transport function for all Bluebird FusionHDTV...
Michael Krufky [Tue, 7 Feb 2006 08:49:12 +0000 (06:49 -0200)]
V4L/DVB (3310): Use MT352 parallel transport function for all Bluebird FusionHDTV DVB-T boxes.

Use the parallel transport function of the MT352 demodulator in
TH7579 and LGZ201 -based FusionHDTV Bluebird usb boxes.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3308): Use parallel transport for FusionHDTV Dual Digital USB
Chris Pascoe [Tue, 7 Feb 2006 08:49:11 +0000 (06:49 -0200)]
V4L/DVB (3308): Use parallel transport for FusionHDTV Dual Digital USB

Use the parallel transport function of the MT352 in USB demodulator of the
Dual Digital board.

Signed-off-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>
18 years agoV4L/DVB (3307): Support for Galaxis DVB-S rev1.3
Oliver Endriss [Tue, 7 Feb 2006 08:49:11 +0000 (06:49 -0200)]
V4L/DVB (3307): Support for Galaxis DVB-S rev1.3

support for Galaxis DVB-S rev1.3 (subsystem 13c2:0004)

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3306): Fixed i2c return value, conversion mdelay to msleep
Markus Rechberger [Tue, 7 Feb 2006 08:49:11 +0000 (06:49 -0200)]
V4L/DVB (3306): Fixed i2c return value, conversion mdelay to msleep

fixed i2c return value, conversion mdelay to msleep

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3305): Added support for the ADS Instant TV DUO Cardbus PTV331
Hartmut Hackmann [Tue, 7 Feb 2006 08:49:10 +0000 (06:49 -0200)]
V4L/DVB (3305): Added support for the ADS Instant TV DUO Cardbus PTV331

Analog and DVB-T are working, Remote not yet.
This card is based on the new LifeView design, there should be many variants.

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3304): TDA10046 Driver update
Hartmut Hackmann [Tue, 7 Feb 2006 08:49:10 +0000 (06:49 -0200)]
V4L/DVB (3304): TDA10046 Driver update

- Set outputs to tristate in sleep mode
- Reduce dangerously high firmware download speed with 16MHz xtal
- added tda827x configuration with GPIOs low
- added comments to stupid looking IIC reads that work around bugs in
  the tda10046.
- some minor updates

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3303): TDA8290 update
Hartmut Hackmann [Tue, 7 Feb 2006 08:49:09 +0000 (06:49 -0200)]
V4L/DVB (3303): TDA8290 update

This patch
- works around a bug in the I2C bridge that makes the initialization
  of the TDA10046 fail on recent LifeView cards
- puts the AGC output to tristate in sleep mode. This is necessary for
  recent hybrid cards that switch the AGC via tristateing.

Signed-off-by: Hartmut Hackmann<hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3302): Added support for the LifeView FlyDVB-T LR301 card
Giampiero Giancipoli [Tue, 7 Feb 2006 08:49:09 +0000 (06:49 -0200)]
V4L/DVB (3302): Added support for the LifeView FlyDVB-T LR301 card

Additionally to the card support, this changeset adds the option
tda10046lifeview to get_dvb_firmware to download tda10046 firmware
from LifeView's site.

Signed-off-by: Giampiero Giancipoli <gianci@libero.it>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio.
Hans Verkuil [Tue, 7 Feb 2006 08:48:40 +0000 (06:48 -0200)]
V4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio.

South Korea uses NTSC-M but with A2 audio instead of BTSC. Several audio
chips need this information in order to set the correct audio processing
registers.

Acked-by: Mauro Carvalho Chehab <mauro_chehab@yahoo.com.br>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3299): Kconfig: DVB_USB_CXUSB depends on DVB_LGDT330X and DVB_MT352
Michael Krufky [Tue, 7 Feb 2006 08:45:33 +0000 (06:45 -0200)]
V4L/DVB (3299): Kconfig: DVB_USB_CXUSB depends on DVB_LGDT330X and DVB_MT352

- rename DVB_USB_CXUSB one-liner description to:
  Conexant USB2.0 hybrid reference design support.
- with the addition of bluebird support to dvb-usb-cxusb,
  it now depends on lgdt330x and mt352 modules.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3297): Add IR support to KWorld DVB-T (cx22702-based)
Marco Manenti [Tue, 7 Feb 2006 08:45:33 +0000 (06:45 -0200)]
V4L/DVB (3297): Add IR support to KWorld DVB-T (cx22702-based)

add IR support to KWorld DVB-T (cx22702-based)

Signed-off-by: Marco Manenti <marco_manenti@colman.it>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3294): Fix [Bug 5895] to correct snd_87x autodetect
Manu Abraham [Tue, 7 Feb 2006 08:45:30 +0000 (06:45 -0200)]
V4L/DVB (3294): Fix [Bug 5895] to correct snd_87x autodetect

With DVB drivers enabled snd_87x (ALSA) don't detect.

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3281): Added signal detection support to tvp5150
Markus Rechberger [Tue, 7 Feb 2006 08:38:24 +0000 (06:38 -0200)]
V4L/DVB (3281): Added signal detection support to tvp5150

- added signal detection support to tvp5150

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3280): Changed description of KWorld PVR TV 2800RF
Markus Rechberger [Tue, 7 Feb 2006 08:25:41 +0000 (06:25 -0200)]
V4L/DVB (3280): Changed description of KWorld PVR TV 2800RF

Changed description of KWorld PVR TV 2800RF

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3278): Show debug for tuners trying to use unsupported video standards
Michael Krufky [Tue, 7 Feb 2006 08:25:40 +0000 (06:25 -0200)]
V4L/DVB (3278): Show debug for tuners trying to use unsupported video standards

With tuner_debug enabled, if a tuner tries to use a video standard that doesn't
have a matching tuner_params defined, the IFPCoff value and tuner number will
be displayed, and the default tuner_params entry will be used.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3277): Use default tuner_params if desired_type not available
Michael Krufky [Tue, 7 Feb 2006 08:25:39 +0000 (06:25 -0200)]
V4L/DVB (3277): Use default tuner_params if desired_type not available

If a given tuner definition contains more than one tuner_params array members,
it will try to select the appropriate tuner_params based on the video standard
in use. If there is no tuner_params defined for the current video standard, it
will select the default, tuner_params[0]

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3276): Added terratec hybrid xs and kworld 2800rf support
Markus Rechberger [Tue, 7 Feb 2006 08:25:39 +0000 (06:25 -0200)]
V4L/DVB (3276): Added terratec hybrid xs and kworld 2800rf support

- Added terratec hybrid xs product/vendorid
- Added gpio audio initialization for kworld pvr 2800rf

Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3275): Allow SAA7134 to fall back to AM sound when there is NICAM-L
Hartmut Hackmann [Tue, 7 Feb 2006 08:25:37 +0000 (06:25 -0200)]
V4L/DVB (3275): Allow SAA7134 to fall back to AM sound when there is NICAM-L

This patch allows to select AM sound even if NICAM is detected.
Proposed by Alain Frappin

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3271): Update tuner comments
Michael Krufky [Tue, 7 Feb 2006 08:25:36 +0000 (06:25 -0200)]
V4L/DVB (3271): Update tuner comments

Right now, all tuners are using the first tuner_params[]
array element for analog mode. We are now ready to begin merging
similar tuner definitions together, such that each tuner definition
will have a tuner_params struct for each available video standard.
The tuner_params[] array element will be chosen based on the video
standard in use.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3270): Tuner_dbg will show tuner param and range selected
Michael Krufky [Tue, 7 Feb 2006 08:25:35 +0000 (06:25 -0200)]
V4L/DVB (3270): Tuner_dbg will show tuner param and range selected

- tuner_dbg will show tuner param and range selected

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3269): Allow multiple tuner params in each tuner definition
Michael Krufky [Tue, 7 Feb 2006 08:25:34 +0000 (06:25 -0200)]
V4L/DVB (3269): Allow multiple tuner params in each tuner definition

- allow multiple tuner params in each tuner definition.
- the correct tuner_params element will be chosen based on
  current video standard.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3268): Move video std detection to top of set_tv_freq function
Michael Krufky [Tue, 7 Feb 2006 08:25:33 +0000 (06:25 -0200)]
V4L/DVB (3268): Move video std detection to top of set_tv_freq function

- move video std detection to top of set_tv_freq function
- we must detect video std first, so that we can choose the correct
  tuner_params

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3267): Add support for the Avermedia 777 DVB-T card
Jose Alberto Reguero [Tue, 7 Feb 2006 08:25:14 +0000 (06:25 -0200)]
V4L/DVB (3267): Add support for the Avermedia 777 DVB-T card

Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3266): Fix NICAM buzz on analog sound
Marcin Rudowski [Mon, 6 Feb 2006 11:15:14 +0000 (09:15 -0200)]
V4L/DVB (3266): Fix NICAM buzz on analog sound

Apparently, having the number of lines fixed at 4 reduces (or even kills)
the buzz found in NICAM stereo with analog sound.

Signed-off-by: Marcin Rudowski <mar_rud@poczta.onet.pl>
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3265): Add count to tunertype struct
Michael Krufky [Mon, 6 Feb 2006 11:15:11 +0000 (09:15 -0200)]
V4L/DVB (3265): Add count to tunertype struct

The tuner_params element is an array of undefined length,
with each array member being a set of parameters for each
video standard type.
The number of members in the tuner_params array
will be stored in tuners[]->count

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3453a): Alters MAINTAINERS file to point to newer v4l-dvb email
Mauro Carvalho Chehab [Fri, 27 Jan 2006 18:32:02 +0000 (16:32 -0200)]
V4L/DVB (3453a): Alters MAINTAINERS file to point to newer v4l-dvb email

- V4L/DVB Maintainers list changed. This patch alters the email to the
  new address.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Acked-By: Johannes Stezenbach <js@linuxtv.org>
18 years agoV4L/DVB (3442): Allow tristate build for cx88-vp3054-i2c
Michael Krufky [Thu, 26 Jan 2006 06:37:19 +0000 (04:37 -0200)]
V4L/DVB (3442): Allow tristate build for cx88-vp3054-i2c

- allow tristate build for cx88-vp3054-i2c

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3439a): media video stradis memory fix
Jiri Slaby [Tue, 24 Jan 2006 21:15:06 +0000 (13:15 -0800)]
V4L/DVB (3439a): media video stradis memory fix

memset clears once set structure, there is actually no need for memset,
because configure function do it for us.  Next, vfree(NULL) is legal, so
avoid useless labels.

Thanks Dave Jones for reporting this.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3439): removed duplicated tuner_ranges
Michael Krufky [Mon, 23 Jan 2006 19:11:11 +0000 (17:11 -0200)]
V4L/DVB (3439): removed duplicated tuner_ranges

- removed duplicated tuner_ranges

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (3436): move config byte from tuner_params to tuner_range struct.
Michael Krufky [Mon, 23 Jan 2006 19:11:11 +0000 (17:11 -0200)]
V4L/DVB (3436): move config byte from tuner_params to tuner_range struct.

- Move config byte from tuner_params to tuner_range struct.
- dvb tuners must be able to set different config byte for each range.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>