firefly-linux-kernel-4.4.55.git
18 years agoV4L/DVB (4628): Fix VIDIOC_ENUMSTD ioctl in videodev.c
Sascha Hauer [Wed, 13 Sep 2006 16:26:11 +0000 (13:26 -0300)]
V4L/DVB (4628): Fix VIDIOC_ENUMSTD ioctl in videodev.c

Do not return -EINVAL for index=0 in VIDIOC_ENUMSTD, because it is a
valid index

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4627): Vivi crashes with mplayer
Sascha Hauer [Wed, 13 Sep 2006 16:26:03 +0000 (13:26 -0300)]
V4L/DVB (4627): Vivi crashes with mplayer

The vivi.current_norm field is not initialized in vivi.c, so a
VIDIOC_G_STD ioctl without a prior call to VIDIOC_S_STD gives
unpredictable results. mplayer does exactly this.

Signed-off-by Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4626): On saa7111/7113, LUMA_CTRL need a different value
Mauro Carvalho Chehab [Tue, 12 Sep 2006 23:02:09 +0000 (20:02 -0300)]
V4L/DVB (4626): On saa7111/7113, LUMA_CTRL need a different value

Also sends the proper saa71111 init table.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run()
Cedric Le Goater [Mon, 11 Sep 2006 19:31:45 +0000 (16:31 -0300)]
V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run()

Replaced kernel_thread() with kthread_run() since kernel_thread() is
deprecated in drivers/modules.
Removed the completion and the wait queue which are now useless with
kthread. Also removed the allow_signal() call as signals don't apply
to kernel threads.
Fixed a small race condition when thread is stopped.
Please check if the timer vs. thread still works fine without the wait
queue.

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4622): Copy-paste bug in videodev.c
Sascha Hauer [Mon, 11 Sep 2006 12:49:19 +0000 (09:49 -0300)]
V4L/DVB (4622): Copy-paste bug in videodev.c

This patch fixes a copy-paste bug in videodev.c where the vidioc_qbuf()
function gets called for the dqbuf ioctl.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4620): Fix AGC configuration for MOD3000P-based boards
Jose Alberto Reguero [Mon, 11 Sep 2006 07:34:31 +0000 (04:34 -0300)]
V4L/DVB (4620): Fix AGC configuration for MOD3000P-based boards

While converting the configuration for the old DiB3000MC-module to the new one
a wrong AGC configuration was introduced.
This is using the old one again.

Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4619): Fixes some I2C dependencies on V4L devices
Mauro Carvalho Chehab [Sun, 10 Sep 2006 15:47:50 +0000 (12:47 -0300)]
V4L/DVB (4619): Fixes some I2C dependencies on V4L devices

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4617): Problem with dibusb-mb.c USB IDs
Alistair Buxton [Sun, 10 Sep 2006 15:09:22 +0000 (12:09 -0300)]
V4L/DVB (4617): Problem with dibusb-mb.c USB IDs

There seems to be an off by one error in the dibusb-mb.c which causes
the "Artec T1 with AN2235" box to be detected as a totally different
box - but it only happens if the Artec is one with the correct USB
IDs. A patch is attached to the second post. However, even with this
patch, the box still won't tune. It will tune using a 2.6.12 kernel
though.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4616): [PATCH] Nebula DigiTV USB RC support
Allan Third [Sun, 10 Sep 2006 15:05:50 +0000 (12:05 -0300)]
V4L/DVB (4616): [PATCH] Nebula DigiTV USB RC support

Attached is a patch against latest HG which adds remote control support
to the DigiTV driver. It works for me;

Signed-off-by: Allan Third <allan.third@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4614): Export symbol saa7134_tvaudio_setmute from saa7134 for saa7134-alsa
Ricardo Cerqueira [Sat, 9 Sep 2006 15:24:08 +0000 (12:24 -0300)]
V4L/DVB (4614): Export symbol saa7134_tvaudio_setmute from saa7134 for saa7134-alsa

saa7134-alsa now unmutes/mutes the line when opening/closing the capture
device, and needs this symbol

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4613): Unmute/mute saa7134 when opening/closing the audio capture device.
Ricardo Cerqueira [Wed, 6 Sep 2006 09:25:38 +0000 (06:25 -0300)]
V4L/DVB (4613): Unmute/mute saa7134 when opening/closing the audio capture device.

This patch should enable unmuting the audio device when opening it (and
posterior muting when closing it), doing away with the need for unmute ioctls
or v4lctl usage.

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4611): Add module-init-tools version comment.
Andrew de Quincey [Thu, 7 Sep 2006 05:07:21 +0000 (02:07 -0300)]
V4L/DVB (4611): Add module-init-tools version comment.

I've just determined that module-init-tools >=3.2 is needed for dvb_attach
to work. This adds a comment to Kconfig about it.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4610): Add tua6100 config wrapper
Andrew de Quincey [Thu, 7 Sep 2006 03:31:55 +0000 (00:31 -0300)]
V4L/DVB (4610): Add tua6100 config wrapper

I had forgotten to add the wrapper round the tua6100_attach function if its
disabled in Kconfig

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4609): Improved i2c performance on software bitbang algoritm
Mauro Carvalho Chehab [Wed, 6 Sep 2006 22:04:28 +0000 (19:04 -0300)]
V4L/DVB (4609): Improved i2c performance on software bitbang algoritm

Software I2C were using a very conservative value of udelay=16, meaning about
20Kbps. According with Philips I2C datasheet, the i2c should answer well for
times at the order of 4.7 us. So, using udelay=5 should work for all devices.
After this patch, the speed should be close to 66,67 Kbps, with the current
kernel software bitbang, with 30/60 duty cycle.
Anyway, added a new parameter (i2c_udelay) that would allow using conservative
values, if eventually a hardware doesn't support the datasheet values.
Thanks to Jean Delvare <khali@linux-fr.org> for pointing this improvement.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4608a): V4L1 API conversion not finished yet
Mauro Carvalho Chehab [Wed, 6 Sep 2006 12:29:00 +0000 (09:29 -0300)]
V4L/DVB (4608a): V4L1 API conversion not finished yet

Updates feature-removal-schedule.txt to reflect the current scheduled date
to convert all V4L1 drivers to V4L2.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4607): Port budget-av to use the new tua6100 driver
Andrew de Quincey [Tue, 5 Sep 2006 20:58:20 +0000 (17:58 -0300)]
V4L/DVB (4607): Port budget-av to use the new tua6100 driver

Port budget-av to use the new tua6100 driver

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4606): Add driver for TUA6100
Andrew de Quincey [Tue, 5 Sep 2006 20:53:06 +0000 (17:53 -0300)]
V4L/DVB (4606): Add driver for TUA6100

This driver was originally in budget-av.c, however I have extracted it into
a seperate file to permit reuse.
I also reworked the code to make it maintainable. I then examined the KNC1
windows drivers and rewrote the code in order to configure the PLL as they
do. This solves a lot of reported tuning problems.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4604): Fix broken pvrusb2 build
Mike Isely [Sun, 3 Sep 2006 16:33:10 +0000 (13:33 -0300)]
V4L/DVB (4604): Fix broken pvrusb2 build

Fix broken build when 24XXX support is not selected.  This is required
due to the requirement of removing 24XXX ifdef's from the driver
source.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4600): Fix DVB Front-End Signal Strength Inconsistency
Bradley Kite [Sun, 3 Sep 2006 00:14:27 +0000 (21:14 -0300)]
V4L/DVB (4600): Fix DVB Front-End Signal Strength Inconsistency

The cx22702 returns an 8 bit unshifted value for signal strength; this is
inconsistent with most other frontends

Signed-off-by: Bradley Derek Kite <bradley.kite@gmail.com>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4599): Adds Compro PS39U USB ID to Vicam driver
Bas Bloemsaat [Sun, 3 Sep 2006 12:47:41 +0000 (09:47 -0300)]
V4L/DVB (4599): Adds Compro PS39U USB ID to Vicam driver

Trivial patch to make Compro PS39U WebCam work with linux by using the
vicam driver.
The camera is just a vicam with another USB ID, so I added that ID to the
driver, and it works now.

Signed-off-by: Bas Bloemsaat <bas.bloemsaat@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4598): Fix a typo: VRES, instead o HRES
Mauro Carvalho Chehab [Sun, 3 Sep 2006 12:38:11 +0000 (09:38 -0300)]
V4L/DVB (4598): Fix a typo: VRES, instead o HRES

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4597): Improve resolution limit enforcements in pvrusb2
Mike Isely [Sun, 3 Sep 2006 01:37:52 +0000 (22:37 -0300)]
V4L/DVB (4597): Improve resolution limit enforcements in pvrusb2

The pvrusb2 driver resolution limits are now programmed the following
way, based on empirical measurements of the hardware:
  Vertical   max: 480 for NTSC, 576 otherwise
  Vertical   min: 75 for 24xxx, 17 otherwise
  Horizontal max: 720
  Horizontal min: 720 for 24xxx, 19 otherwise

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4596): Fix saa7115 miscalculation that breaks NTSC
Mike Isely [Sun, 3 Sep 2006 01:33:02 +0000 (22:33 -0300)]
V4L/DVB (4596): Fix saa7115 miscalculation that breaks NTSC

This repairs a problem introduced by a commit earlier applied.
Thanks-to: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4595): Remove CONFIG_VIDEO_PVRUSB2_24XXX from pvrusb2 driver
Mike Isely [Sat, 2 Sep 2006 18:56:33 +0000 (15:56 -0300)]
V4L/DVB (4595): Remove CONFIG_VIDEO_PVRUSB2_24XXX from pvrusb2 driver

Support for 24xxx devices was previously explicitly bracketed with
CONFIG_VIDEO_PVRUSB2_24XXX inside the code because we didn't trust the
stability of these changes.  We trust it now; so there's no reason to
leave this out of the driver anymore.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4594): Remove some dead data elements from pvrusb2 driver
Mike Isely [Sat, 2 Sep 2006 18:54:23 +0000 (15:54 -0300)]
V4L/DVB (4594): Remove some dead data elements from pvrusb2 driver

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4592): Fixes some troubles on saa7115
Mauro Carvalho Chehab [Sat, 2 Sep 2006 15:59:38 +0000 (12:59 -0300)]
V4L/DVB (4592): Fixes some troubles on saa7115

Scaling were not working fine;
Some reserved registers were wrong;
On some situations, saa7115 were not properly being initializated.
Removed some duplicated code.
Thanks-to: Hans Verkuil <hverkuil@xs4all.nl> for co-working on this
patch.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4586): Code were preventing saa7111 and saa7118 to work
Mauro Carvalho Chehab [Fri, 1 Sep 2006 21:39:05 +0000 (18:39 -0300)]
V4L/DVB (4586): Code were preventing saa7111 and saa7118 to work

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4585): VIDIOC_G_SLICED_VBI_CAP now accepts a v4l2_buf_type, make it IOWR
Hans Verkuil [Fri, 1 Sep 2006 21:36:48 +0000 (18:36 -0300)]
V4L/DVB (4585): VIDIOC_G_SLICED_VBI_CAP now accepts a v4l2_buf_type, make it IOWR

The VIDIOC_G_SLICED_VBI_CAP needs to receive the v4l2_buf_type field before
it can return a result. Hence this ioctl must be IOWR, not IOR. Since this
ioctl is still marked experimental we can make this change.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4584): Fix VIDIOC_S_FMT min/max check in pvrusb2
Hans Verkuil [Fri, 1 Sep 2006 21:36:10 +0000 (18:36 -0300)]
V4L/DVB (4584): Fix VIDIOC_S_FMT min/max check in pvrusb2

Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4582): VIDIOC_INT_S_REGISTER is IOW, not IOR.
Hans Verkuil [Fri, 1 Sep 2006 21:32:55 +0000 (18:32 -0300)]
V4L/DVB (4582): VIDIOC_INT_S_REGISTER is IOW, not IOR.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4573): Fix: There were some missing breaks at register check routine
Mauro Carvalho Chehab [Fri, 1 Sep 2006 12:37:11 +0000 (09:37 -0300)]
V4L/DVB (4573): Fix: There were some missing breaks at register check routine

Without the breaks, saa7115 were not initializing PLL2.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4565): Fix scaling calculus
Mauro Carvalho Chehab [Wed, 30 Aug 2006 22:52:14 +0000 (19:52 -0300)]
V4L/DVB (4565): Fix scaling calculus

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4561): Sync'ing dvb-usb-remote with changes in USB input subsystem
Unai Uribarri [Mon, 28 Aug 2006 02:01:24 +0000 (23:01 -0300)]
V4L/DVB (4561): Sync'ing dvb-usb-remote with changes in USB input subsystem

This patch fixes the physical address and takes into account recent
changes in the USB input subsystem.
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Unai Uribarri <unaiur@gmail.com>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4556): Fix a typo.
Mauro Carvalho Chehab [Wed, 30 Aug 2006 08:44:31 +0000 (05:44 -0300)]
V4L/DVB (4556): Fix a typo.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4555): Cleanup: removed hardcoded tables
Mauro Carvalho Chehab [Wed, 30 Aug 2006 08:34:36 +0000 (05:34 -0300)]
V4L/DVB (4555): Cleanup: removed hardcoded tables

saa7115 module is capable of calculating the proper FIR tables.
However, there were 4 hardcoded tables for the standard resolution.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4554): Renamed several common structs/functions to saa711x instead of saa7115
Mauro Carvalho Chehab [Wed, 30 Aug 2006 01:52:32 +0000 (22:52 -0300)]
V4L/DVB (4554): Renamed several common structs/functions to saa711x instead of saa7115

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4553): Add support for saa7111 and partial support for saa7118
Mauro Carvalho Chehab [Wed, 30 Aug 2006 01:07:03 +0000 (22:07 -0300)]
V4L/DVB (4553): Add support for saa7111 and partial support for saa7118

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4551): Added register aliases for saa711x registers, instead of using reg...
Mauro Carvalho Chehab [Mon, 28 Aug 2006 22:18:49 +0000 (19:18 -0300)]
V4L/DVB (4551): Added register aliases for saa711x registers, instead of using reg numbers

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4550): Make saa7115 to report the complete chipset name
Mauro Carvalho Chehab [Mon, 28 Aug 2006 11:25:29 +0000 (08:25 -0300)]
V4L/DVB (4550): Make saa7115 to report the complete chipset name

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4548): Better temporal filter handling.
Hans Verkuil [Sun, 27 Aug 2006 22:22:15 +0000 (19:22 -0300)]
V4L/DVB (4548): Better temporal filter handling.

Adjust temporal filter if necessary. The problem with the temporal
filter is that it works well with full resolution capturing, but
not when the capture window is scaled (the filter introduces
a ghosting effect). So if the capture window changed, and there is
no updated filter value, then the filter is set depending on whether
the new window is full resolution or not.
For full resolution a setting of 8 really improves the video
quality, especially if the original video quality is suboptimal.
Also report VBI Format in VIDIOC_LOG_STATUS, it was missing.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4547): Add YUV HM12 and VBI IVTV format documentation.
Hans Verkuil [Sat, 26 Aug 2006 08:00:12 +0000 (05:00 -0300)]
V4L/DVB (4547): Add YUV HM12 and VBI IVTV format documentation.

README.hm12: documentation on the HM12 YUV format used by the cx23415/6 chip.
README.vbi: documentation on the V4L2_MPEG_STREAM_VBI_FMT_IVTV VBI format
used in MPEG streams.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4546): Add u32 argument to VIDIOC_INT_RESET.
Hans Verkuil [Sat, 26 Aug 2006 06:17:58 +0000 (03:17 -0300)]
V4L/DVB (4546): Add u32 argument to VIDIOC_INT_RESET.

The extra argument makes it possible to reset subsystems of a chip if
that is supported.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4545): Add missing v4l2_buf_type to struct v4l2_sliced_vbi_cap.
Hans Verkuil [Sat, 26 Aug 2006 06:05:17 +0000 (03:05 -0300)]
V4L/DVB (4545): Add missing v4l2_buf_type to struct v4l2_sliced_vbi_cap.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4533): Tda9887: add configuration setting for L standard PLL gating
Trent Piepho [Fri, 25 Aug 2006 01:43:45 +0000 (22:43 -0300)]
V4L/DVB (4533): Tda9887: add configuration setting for L standard PLL gating

Add a tuner config parameter for TDA9887, default_pll_gating_18, that
changes the L standard PLL gating value from 36% to 0% (datasheet says
0%, tda9887 code says 18%).
Turn this on for Microtune 4049FM5, as recomended by tuner datasheet.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4532): Isl6421: Release callback installed incorrectly
Trent Piepho [Fri, 25 Aug 2006 01:43:16 +0000 (22:43 -0300)]
V4L/DVB (4532): Isl6421: Release callback installed incorrectly

The release callback was installed in ops.release, it should have been
ops.release_sec.  This prevented to front-end release from getting
called.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4530): Another fix for the PID parsing
Patrick Boettcher [Mon, 21 Aug 2006 11:21:52 +0000 (08:21 -0300)]
V4L/DVB (4530): Another fix for the PID parsing

Still the pid_parse bit was erased.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4529): Keep the PID parse bit when resetting the output mode
Patrick Boettcher [Sat, 19 Aug 2006 19:13:53 +0000 (16:13 -0300)]
V4L/DVB (4529): Keep the PID parse bit when resetting the output mode

Matthieu Castet found that with the rewritten dib3000mc-driver the PID-parsing
was handled correctly. This changeset fixes it.
Thanks Matthieu

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4528): PATCH: Club 3D zap250mini
Jochen Issing [Sat, 19 Aug 2006 19:03:21 +0000 (16:03 -0300)]
V4L/DVB (4528): PATCH: Club 3D zap250mini

After some structural changes, here comes the updated patch for the Club 3D
zap250mini USB dvb device.
Adding support for a WideView-based device with a different "COLD" ID.

Signed-off-by: Jochen Issing <jochen.issing@isign-softart.de>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4525): Drivers/media/dvb/dvb-usb/dibusb-mb.c: NULL dereference
Adrian Bunk [Tue, 15 Aug 2006 14:38:40 +0000 (11:38 -0300)]
V4L/DVB (4525): Drivers/media/dvb/dvb-usb/dibusb-mb.c: NULL dereference

The Coverity checker spotted the following "we dereference d->fe only
when we know it's NULL" bug:
<--  snip  -->
...
static int dibusb_dib3000mb_frontend_attach(struct dvb_usb_device *d)
{
...
if ((d->fe = dib3000mb_attach(&demod_cfg,&d->i2c_adap,&st->ops)) == NULL) {
d->fe->ops.tuner_ops.init = dvb_usb_tuner_init_i2c;
d->fe->ops.tuner_ops.set_params = dvb_usb_tuner_set_params_i2c;
return -ENODEV;
}
...
<--  snip  -->

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4523): Fix a warning caused by a typo (comma instead of dot-comma)
Mauro Carvalho Chehab [Wed, 23 Aug 2006 19:51:43 +0000 (16:51 -0300)]
V4L/DVB (4523): Fix a warning caused by a typo (comma instead of dot-comma)

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4519): Fixes Helper module dependencies against V4L APIs
Mauro Carvalho Chehab [Wed, 23 Aug 2006 13:08:41 +0000 (10:08 -0300)]
V4L/DVB (4519): Fixes Helper module dependencies against V4L APIs

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4568): Added missing KS0197 Kconfig item
Mauro Carvalho Chehab [Thu, 31 Aug 2006 18:31:07 +0000 (15:31 -0300)]
V4L/DVB (4568): Added missing KS0197 Kconfig item

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4518): Allow manually selecting the proper helper drivers
Mauro Carvalho Chehab [Tue, 22 Aug 2006 21:49:17 +0000 (18:49 -0300)]
V4L/DVB (4518): Allow manually selecting the proper helper drivers

There are several boards on V4L that can work with several different
helper modules for audio/video encoding/decoding and similar stuff.
This patch adds the capability of choicing between autoselecting the
pertinent helper modules for each driver, or to manually selecting
them.
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4516): Split audio/video encoders/decoders from main drivers
Mauro Carvalho Chehab [Tue, 22 Aug 2006 18:38:18 +0000 (15:38 -0300)]
V4L/DVB (4516): Split audio/video encoders/decoders from main drivers

Several audio/video encoders/decoders were just bound as if they were
part of the core driver.
In fact, they are generic enough to be used by other drivers as well,
since they use I2C event bus to communicate.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4515): Fixed module name, since it is, in fact, a decoder.
Mauro Carvalho Chehab [Tue, 22 Aug 2006 18:37:41 +0000 (15:37 -0300)]
V4L/DVB (4515): Fixed module name, since it is, in fact, a decoder.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4514): Add some comments for Kconfig encoders/decoders itens
Mauro Carvalho Chehab [Tue, 22 Aug 2006 15:21:18 +0000 (12:21 -0300)]
V4L/DVB (4514): Add some comments for Kconfig encoders/decoders itens

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4513): Split audio decoders from bttv
Mauro Carvalho Chehab [Fri, 1 Sep 2006 12:25:30 +0000 (09:25 -0300)]
V4L/DVB (4513): Split audio decoders from bttv

Several audio decoders were just bound as if they were part of
bttv driver. In fact, they are generic enough to be used by other
drivers as well, since they use I2C event bus to communicate.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4512): Ks0127: wire up i2c_add_driver() return value
Alexey Dobriyan [Tue, 22 Aug 2006 12:57:24 +0000 (09:57 -0300)]
V4L/DVB (4512): Ks0127: wire up i2c_add_driver() return value

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4510): Fix signedness error in drivers/media/video/vivi.c
Eric Sesterhenn [Mon, 21 Aug 2006 13:36:36 +0000 (10:36 -0300)]
V4L/DVB (4510): Fix signedness error in drivers/media/video/vivi.c

when checking the -Wextra signedness warnings issued by gcc 4.1
I came across this one:
drivers/media/video/vivi.c:1001: warning: comparison of unsigned expression < 0 is always false
Since videobuf_reqbufs() returns negative values on errors the current
code does no real error checking since gcc removes the comparison.
This patch fixes this issue by making ret a normal, signed integer.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4509): Added missing copyright
Mauro Carvalho Chehab [Mon, 21 Aug 2006 12:04:14 +0000 (09:04 -0300)]
V4L/DVB (4509): Added missing copyright

Several changes at register stuff were done since commit
b45009b0288a96a3458f4f8e93cb776678d41875, but I've forgot
to add the copyright line for this. Those changes allowed
cx88 to have multiple tuners, allowing it to support hardware with
separated radio and video tuners. It also allows binding a tuner to an
specific i2c address.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4508): Fix an array overflow on bt866
Mauro Carvalho Chehab [Fri, 18 Aug 2006 10:40:28 +0000 (07:40 -0300)]
V4L/DVB (4508): Fix an array overflow on bt866

The Coverity checker spotted the following two array overflows.
Registers 0xcc and 0xdc were cached on reg[] array, with only 128 elements,
instead of 256.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4507): Make tvp5150 an independent Kconfig item
Mauro Carvalho Chehab [Fri, 18 Aug 2006 10:31:22 +0000 (07:31 -0300)]
V4L/DVB (4507): Make tvp5150 an independent Kconfig item

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4506): TVP5150 routing logic were broken.
Mauro Carvalho Chehab [Fri, 18 Aug 2006 10:31:10 +0000 (07:31 -0300)]
V4L/DVB (4506): TVP5150 routing logic were broken.

As pointed by The Coverity checker, commit
c7c0b34c27bbf0671807e902fbfea6270c8f138d broked input selection.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4504): Enable audio DMA restart on channel change even when cx88-alsa is...
Ricardo Cerqueira [Thu, 17 Aug 2006 21:40:28 +0000 (18:40 -0300)]
V4L/DVB (4504): Enable audio DMA restart on channel change even when cx88-alsa is compiled

cx88-alsa can be compiled in (in distro built kernels, for example), but
not used. In those cases, the audio DMA restart is needed for proper sound
on NICAM channels.
This patch enables the DMA restart even with ALSA, but the functions now
check if cx88-alsa is really active.

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4501): Add support for knc one dvb-s plus with 1894:0011
Christoph Pfister [Sat, 12 Aug 2006 12:13:35 +0000 (09:13 -0300)]
V4L/DVB (4501): Add support for knc one dvb-s plus with 1894:0011

Apparently there are two types of knc1 dvb-s plus cards with different tuners
(as for the knc1 dvb-s ones). This patch adds support for those cards with
subsystem id 1894:0011.
Successfully tested by: Benjamin Weber <benny1990@gmail.com>

Signed-off-by: Christoph Pfister <christophpfister@gmail.com>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4500): Fix KNC1 DVBC support
Andrew de Quincey [Sat, 12 Aug 2006 12:09:44 +0000 (09:09 -0300)]
V4L/DVB (4500): Fix KNC1 DVBC support

This actually needs the same configuration as the other DVBC cards; simply
no one had managed to test before to find out.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4499): CONFIG_PM=n slim: drivers/media/video/*
Alexey Dobriyan [Sun, 13 Aug 2006 01:01:27 +0000 (22:01 -0300)]
V4L/DVB (4499): CONFIG_PM=n slim: drivers/media/video/*

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4498): Offset parameter permission were 0x666, instead of 0x664
Mauro Carvalho Chehab [Sun, 13 Aug 2006 00:59:19 +0000 (21:59 -0300)]
V4L/DVB (4498): Offset parameter permission were 0x666, instead of 0x664

Although not dangerous, it may allow a normal user with access to a machine
to untune a TV channel.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4497): Reset USB part of DViCO Dual Digital during PCI driver attach
Chris Pascoe [Thu, 10 Aug 2006 06:22:21 +0000 (03:22 -0300)]
V4L/DVB (4497): Reset USB part of DViCO Dual Digital during PCI driver attach

If the FX2 does not reset properly during reboot, it can present an
invalid USB device ID and fail to attach.  Prevent this situation
from occuring by resetting the USB part of the card when the PCI part
probes.
Also fix the GPIO configurations so that analog capture will not
inadvertantly reset the USB part.

Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4496): Tuning tweaks for ZL10353
Chris Pascoe [Thu, 10 Aug 2006 06:17:42 +0000 (03:17 -0300)]
V4L/DVB (4496): Tuning tweaks for ZL10353

More register setup which improves the ZL10353's tuning characteristics.

Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4495): Fix "no data from ZL10353 based USB tuner" problem
Chris Pascoe [Thu, 10 Aug 2006 06:17:16 +0000 (03:17 -0300)]
V4L/DVB (4495): Fix "no data from ZL10353 based USB tuner" problem

Force parallel transport stream output on the ZL10353 attached to a
bluebird device.
Addresses the problem where a frontend lock was observed, but no MPEG
transport data was received.

Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4493): [lnbp21] release callback fixed
Oliver Endriss [Tue, 8 Aug 2006 22:58:27 +0000 (19:58 -0300)]
V4L/DVB (4493): [lnbp21] release callback fixed

lnbp21 module must use fe->ops.release_sec, not fe->ops.release.
The release function of the frontend driver was never called for cards
with lnbp21...

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4492): [dvb_attach] dvb_frontend_detach fix
Oliver Endriss [Tue, 8 Aug 2006 22:51:04 +0000 (19:51 -0300)]
V4L/DVB (4492): [dvb_attach] dvb_frontend_detach fix

dvb_frontend_detach() used invalid config option CONFIG_DVB_DETACH,
so dvb_frontend_detach() did not call symbol_put_addr().
Replaced CONFIG_DVB_DETACH by CONFIG_DVB_CORE_ATTACH.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4490): Whitespace cleanup
Trent Piepho [Mon, 7 Aug 2006 23:01:01 +0000 (20:01 -0300)]
V4L/DVB (4490): Whitespace cleanup

from whitespace cleaning script

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4488): Fix possible crash in Hauppauge eeprom reading
Trent Piepho [Mon, 7 Aug 2006 22:43:21 +0000 (19:43 -0300)]
V4L/DVB (4488): Fix possible crash in Hauppauge eeprom reading

If an eeprom defined two tuners and they supported more than eight
standards combined (as opposed to each), it would overflow an array.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4485): Fix a warning on PPC64
Mauro Carvalho Chehab [Tue, 8 Aug 2006 18:21:47 +0000 (15:21 -0300)]
V4L/DVB (4485): Fix a warning on PPC64

drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c: In function 'set_standard':
drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c:33: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'v4l2_std_id'

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4484): Git-dvb: cadet build fix
Andrew Morton [Tue, 8 Aug 2006 13:52:22 +0000 (10:52 -0300)]
V4L/DVB (4484): Git-dvb: cadet build fix

drivers/media/radio/radio-cadet.c: In function 'cadet_do_ioctl':
drivers/media/radio/radio-cadet.c:362: warning: implicit declaration of function 'KERNEL_VERSION'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4481): Make the dibx000-common-module GPL
Patrick Boettcher [Sun, 6 Aug 2006 11:49:09 +0000 (08:49 -0300)]
V4L/DVB (4481): Make the dibx000-common-module GPL

Forget to put the MODULE-define and thus to give the license. Now GPL

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4480): Remove null chars from dvb names
Dave Jones [Mon, 7 Aug 2006 16:18:56 +0000 (13:18 -0300)]
V4L/DVB (4480): Remove null chars from dvb names

DVB null terminates its device names, which seems odd, and should be
unnecessary.
Acked-by: Alan Cox <alan@redhat.com>
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 (4479): LNB voltage control was inverted for the benefit of geniatech cards...
Yeasah Pell [Tue, 26 Sep 2006 15:30:14 +0000 (12:30 -0300)]
V4L/DVB (4479): LNB voltage control was inverted for the benefit of geniatech cards on Kworld

1) It sets LNBDCPol differently based on the card type. Now it should
work properly for both the kworld and geniatech cards.
2) It stops returning an error for the SEC_VOLTAGE_OFF voltage command
(the cx88-dvb level handles the actual voltage on/off, but it still
passes the ioctl down to the cx24123 level, which previously rejected
the OFF as invalid so the ioctl would report failure)

Acked-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Yeasah Pell <yeasah@schwide.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4478): [av7110] Support Grundig DVB-T tuner for sub-system 13c2:0001
Oliver Endriss [Mon, 7 Aug 2006 05:04:26 +0000 (02:04 -0300)]
V4L/DVB (4478): [av7110] Support Grundig DVB-T tuner for sub-system 13c2:0001

Some DVB-T cards with Grundig 29504-401 tuner use subsystem id 13c2:0001
(reported by Stuart Butterfield).

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4477): Improve hardware algorithm by setting the appropriate registers
Mauro Carvalho Chehab [Sun, 6 Aug 2006 20:03:50 +0000 (17:03 -0300)]
V4L/DVB (4477): Improve hardware algorithm by setting the appropriate registers

Hardware algorithm needs to be configured to:
1) Increase timeout constants, to detect weaker signals;
2) do a wider zigzag search.
Acked-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4475): Fix most Compat32 stuff on V4L2
Mauro Carvalho Chehab [Sun, 6 Aug 2006 13:16:27 +0000 (10:16 -0300)]
V4L/DVB (4475): Fix most Compat32 stuff on V4L2

Tested on x64 with a bttv board. Most Get ioctls are fixed. The only
non-completely working one is VIDIOCGAUDIO. All other IOR ioctls give the
same results on x86_64 and i386 architectures.
Thanks to Alastair Poole <netstar@gatheringofgray.com> for part of this
patch and tests on ppc64.

Signed-off-by: Alastair Poole <netstar@gatheringofgray.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4474): On some cases, depth were not returned.
Mauro Carvalho Chehab [Sun, 6 Aug 2006 12:10:06 +0000 (09:10 -0300)]
V4L/DVB (4474): On some cases, depth were not returned.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4472): Remove debug-print from dib3000mc
Patrick Boettcher [Sun, 6 Aug 2006 09:40:58 +0000 (06:40 -0300)]
V4L/DVB (4472): Remove debug-print from dib3000mc

Removed and commented a small debug function.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4470): MT2060: turn on the VGA
matthieu castet [Thu, 3 Aug 2006 09:36:17 +0000 (06:36 -0300)]
V4L/DVB (4470): MT2060: turn on the VGA

The VGA was not turned on after calling sleep. This lead to bad performance in difficult areas.

Signed-off-by: matthieu castet <castet.matthieu@free.fr>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4468): Another fix for attaching the DiB3000MC
Patrick Boettcher [Thu, 3 Aug 2006 09:04:16 +0000 (06:04 -0300)]
V4L/DVB (4468): Another fix for attaching the DiB3000MC

Another stupid fix for attaching the DiB3000MC. == 0 instead of != 0.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB: DiB3000MC: set FE to NULL after being freed
Patrick Boettcher [Tue, 8 Aug 2006 18:48:11 +0000 (15:48 -0300)]
V4L/DVB: DiB3000MC: set FE to NULL after being freed

DiB3000MC: set FE to NULL after being freed

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4464): FIX_ AverTV A800 trouble
Klaus Frahm [Sat, 29 Jul 2006 21:49:36 +0000 (18:49 -0300)]
V4L/DVB (4464): FIX_ AverTV A800 trouble

A new revision of the Avermedia A800 does not reenumerate after download the firmware.

Signed-off-by: Klaus Frahm <frahm@irsamc.ups-tlse.fr>
Signed-off-by: Martin Habbecke <M.Habbecke@gmx.de>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4463): New firmware for Nova-t-usb2
Patrick Boettcher [Sat, 29 Jul 2006 21:24:21 +0000 (18:24 -0300)]
V4L/DVB (4463): New firmware for Nova-t-usb2

Thomas Rokamp and others are reporting:
"I have now with success extracted a working firmware for the 93004 rev. C1A2."
This patch increments the firmware version to 2.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4465): Attach the dib3000mc correctly
Patrick Boettcher [Wed, 2 Aug 2006 11:44:31 +0000 (08:44 -0300)]
V4L/DVB (4465): Attach the dib3000mc correctly

Flynn Marquardt found out that there is problem with the new dib3000mc-driver
when using with the real dib3000mc. It resulted in a segfault.
Fixed two things: use the correct I2C address and do not attach a tuner, when
the demod was previously failing.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4461): Added missing dibx000-common code and headers
Patrick Boettcher [Sat, 29 Jul 2006 20:33:44 +0000 (17:33 -0300)]
V4L/DVB (4461): Added missing dibx000-common code and headers

The first commit omitted the common-code and header-files.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB: Complete rewrite of the DiB3000mc-driver
Patrick Boettcher [Tue, 8 Aug 2006 18:48:10 +0000 (15:48 -0300)]
V4L/DVB: Complete rewrite of the DiB3000mc-driver

A complete rewrite of the DiB3000MC/P driver has been done. It is now much more
easy to maintain and to get improvements inside.

Additionally the tuning time has been reduced and the usage of the driver is
much more understandable now.

Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
Signed-off-by: Francois KANOUNNIKOFF <fkanounnikoff@dibcom.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4457): Remove dib3000-common-module
Patrick Boettcher [Tue, 4 Jul 2006 16:47:16 +0000 (13:47 -0300)]
V4L/DVB (4457): Remove dib3000-common-module

removing the dib3000-common-module. The common stuff is not common anymore - it will be only used by the 3000mb-driver.
A new 3000mc/p-driver will be added which will share common stuff with dib7000.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB: Update for MT2060 to use dvb_tuner_ops
Olivier DANET [Tue, 8 Aug 2006 18:48:10 +0000 (15:48 -0300)]
V4L/DVB: Update for MT2060 to use dvb_tuner_ops

new tuner api
minor fixes for tuning

Signed-off-by: Olivier DANET <odanet@caramail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4454): Corrected debugging output of the mt2060
Patrick Boettcher [Sun, 14 May 2006 13:49:42 +0000 (10:49 -0300)]
V4L/DVB (4454): Corrected debugging output of the mt2060

When debugging was disabled at lot of empty lines where printed anyway.
Reported by Rolf Ahrenberg and Sergei Haller.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB: MT2060: Code cleanups, adding to new build-mechanism
Patrick Boettcher [Tue, 8 Aug 2006 18:48:10 +0000 (15:48 -0300)]
V4L/DVB: MT2060: Code cleanups, adding to new build-mechanism

Some minor code cleanups and added the MT2060 to new v4l-dvb-build-system, preliminarily under dvb/frontends.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4453): [PATCH] dibcom mod3000p + mt2060 -- remote control
Sergei Haller [Sun, 14 May 2006 13:47:21 +0000 (10:47 -0300)]
V4L/DVB (4453): [PATCH] dibcom mod3000p + mt2060 -- remote control

+ Added support for the remote control shipped with the pen drive size
  DVB-T receiver
  [ID 10b8:0bc7 DiBcom DiBcom USB2.0 DVB-T reference design (MOD3000P)]

Signed-off-by: Sergei Haller <sergei@sergei-haller.de>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB (4451): MT2060: IF1 Offset from EEPROM, several updates
Patrick Boettcher [Mon, 17 Apr 2006 16:22:15 +0000 (13:22 -0300)]
V4L/DVB (4451): MT2060: IF1 Offset from EEPROM, several updates

- AGC gain set to 3
- The tuning sequence has been changed to match the DibCom driver ( from I2C
  spy captures )
- For LITE-ON adapters : The IF1 frequency is now tuned according to the
  calibration values stored in EEPROM.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Olivier DANET <odanet@caramail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
18 years agoV4L/DVB: Added support for LeadTek DVB-T USB clone
Olivier DANET [Tue, 8 Aug 2006 18:48:09 +0000 (15:48 -0300)]
V4L/DVB: Added support for LeadTek DVB-T USB clone

Adding the USB ids for the LeadTek clone of the STK3000P-ref-design.

Signed-off-by: Olivier DANET <odanet@caramail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>