openwrt/staging/blogic.git
18 years agoV4L/DVB (3268): Use combined firmware for DVB-T and ATSC Bluebird FusionHDTV USB...
Michael Krufky [Mon, 9 Jan 2006 17:25:47 +0000 (15:25 -0200)]
V4L/DVB (3268): Use combined firmware for DVB-T and ATSC Bluebird FusionHDTV USB models.

- Now using firmware "dvb-usb-bluebird-01.fw",
  with combined support for atsc and dvb-t Bluebird models.
- Use usb alt setting 0 for EP4 transfer (dvb-t),
- Use usb alt setting 7 for EP2 transfer (atsc) */

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3266): Add support for DViCO FusionHDTV5 USB Gold
Michael Krufky [Mon, 9 Jan 2006 17:25:47 +0000 (15:25 -0200)]
V4L/DVB (3266): Add support for DViCO FusionHDTV5 USB Gold

- Adds Bluebird ATSC support to the cxusb driver,
  using dvb-usb-bluebird-atsc-01.fw firmware.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3261): msp3400.c cleanup (almost all cosmetic)
Hans Verkuil [Mon, 9 Jan 2006 17:25:46 +0000 (15:25 -0200)]
V4L/DVB (3261): msp3400.c cleanup (almost all cosmetic)

- Step 1 of the msp3400.c cleanup.
Most changes are all cosmetic (moved code around, renamed functions
and variables).
New additions:
- VIDIOC_LOG_STATUS for debugging.
- More user friendly messages on driver load.
- 'simple' renamed to 'autodetect'
- 'simpler' renamed to 'autoselect'

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3260): Using new firmware for the WideView Stick
Patrick Boettcher [Mon, 9 Jan 2006 17:25:45 +0000 (15:25 -0200)]
V4L/DVB (3260): Using new firmware for the WideView Stick

- A new firmware fixes VHF tuning issues. This changes the firmware file name in the driver.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3257): Add missing audiochip.h include.
Hans Verkuil [Mon, 9 Jan 2006 17:25:45 +0000 (15:25 -0200)]
V4L/DVB (3257): Add missing audiochip.h include.

- Add missing audiochip.h include.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3256): When in radio mode ignore VIDIOC_G_TUNER
Hans Verkuil [Mon, 9 Jan 2006 17:25:44 +0000 (15:25 -0200)]
V4L/DVB (3256): When in radio mode ignore VIDIOC_G_TUNER

- Detect when AUDC_SET_RADIO is called.
- When in radio mode ignore VIDIOC_G_TUNER.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3255): When in radio mode don't do anything with VIDIOC_G_TUNER.
Hans Verkuil [Mon, 9 Jan 2006 17:25:44 +0000 (15:25 -0200)]
V4L/DVB (3255): When in radio mode don't do anything with VIDIOC_G_TUNER.

- When in radio mode don't do anything with VIDIOC_G_TUNER.
Allow other devices to fill this.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3254): Don't reprogram the video standard if it is unchanged.
Hans Verkuil [Mon, 9 Jan 2006 17:25:43 +0000 (15:25 -0200)]
V4L/DVB (3254): Don't reprogram the video standard if it is unchanged.

- Don't reprogram the video standard if the new standard
equals the old standard.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3253): Add V4L2 commands to tvaudio
Hans Verkuil [Mon, 9 Jan 2006 17:25:43 +0000 (15:25 -0200)]
V4L/DVB (3253): Add V4L2 commands to tvaudio

- debug messages changed to be like the other modules
- Add V4L2 commands VIDIOC_S_TUNER, VIDIOC_G_TUNER,
VIDIOC_S_STD and VIDIOC_S_FREQUENCY.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3250): tea5767: move signal strength level to the 0-65535 range
Hans Verkuil [Mon, 9 Jan 2006 17:25:42 +0000 (15:25 -0200)]
V4L/DVB (3250): tea5767: move signal strength level to the 0-65535 range

- Move signal strength level to the 0-65535 range as per V4L2 spec.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3249): Generalized cx25840 video/audio input handling
Hans Verkuil [Mon, 9 Jan 2006 17:25:42 +0000 (15:25 -0200)]
V4L/DVB (3249): Generalized cx25840 video/audio input handling

- Added VIDIOC_S_AUDIO to set the audio inputs separately.
- Removed AUDC_SET_INPUT.
- Made the video inputs much more general.
- Removed cardtype CID and replaced with a CID to enable
the PVR150 workaround. The cardtype is no longer necessary
with the general video input change.
- Update VIDIOC_LOG_STATUS output to show the video and
audio inputs separately.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3214): Calculate the saa7115 AMCLK regs instead of using fixed values
Hans Verkuil [Mon, 9 Jan 2006 17:25:41 +0000 (15:25 -0200)]
V4L/DVB (3214): Calculate the saa7115 AMCLK regs instead of using fixed values

- Calculate the audio master clock registers from the actual
frequencies. This simplifies the code and it also prepares
for adding CGC2 support.
- VIDIOC_INT_AUDIO_CLOCK_FREQ now receives an u32 instead of
an enum. It is more generic and actually easier to implement.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3248): Add selected input to saa7115 VIDIOC_LOG_STATUS output.
Hans Verkuil [Mon, 9 Jan 2006 17:25:41 +0000 (15:25 -0200)]
V4L/DVB (3248): Add selected input to saa7115 VIDIOC_LOG_STATUS output.

- Add selected input to VIDIOC_LOG_STATUS output.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3247): Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO in wm8775.
Hans Verkuil [Mon, 9 Jan 2006 17:25:40 +0000 (15:25 -0200)]
V4L/DVB (3247): Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO in wm8775.

- Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO.
- Added V4L2_CID_AUDIO_MUTE.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3246): Use VIDIOC_S_AUDIO instead of AUDC_SET_INPUT in cs53l32a
Hans Verkuil [Mon, 9 Jan 2006 17:25:39 +0000 (15:25 -0200)]
V4L/DVB (3246): Use VIDIOC_S_AUDIO instead of AUDC_SET_INPUT in cs53l32a

- Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO.
- Added V4L2_CID_AUDIO_MUTE.
- Minimum volume is -96 dB, not -90.
- Show volume in VIDIOC_LOG_STATUS.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3245): Added some comments about multiple tuner support.
Hans Verkuil [Mon, 9 Jan 2006 17:25:39 +0000 (15:25 -0200)]
V4L/DVB (3245): Added some comments about multiple tuner support.

- Added some comments to make clearer how to use ioctl api to handle
multiple tuners at the same board.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3243): add firmware instructions for nxt2002 and nxt2004
Michael Krufky [Mon, 9 Jan 2006 17:25:39 +0000 (15:25 -0200)]
V4L/DVB (3243): add firmware instructions for nxt2002 and nxt2004

- add firmware instructions for nxt2002 and nxt2004

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3242): make the firmware dir docs consistent in the v4l-dvb tree.
Ville Skytt\ä [Mon, 9 Jan 2006 17:25:38 +0000 (15:25 -0200)]
V4L/DVB (3242): make the firmware dir docs consistent in the v4l-dvb tree.

- make the firmware dir documentation and comments consistent in the v4l-dvb tree.

Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3239): reorganize tuner-simple threshold structure.
Michael Krufky [Mon, 9 Jan 2006 17:25:38 +0000 (15:25 -0200)]
V4L/DVB (3239): reorganize tuner-simple threshold structure.

- Create an array containing frequency threshold and control byte.
- allows for an arbitrary amount of
frequency ranges to be set, like dvb-pll.
- improves code readability.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3234): Included advanced debug option to tvp5150.c
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:37 +0000 (15:25 -0200)]
V4L/DVB (3234): Included advanced debug option to tvp5150.c

- Included advanced debug option to tvp5150.c
- Now, advanced debug info is the first item at V4L menu.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3233): Fixed API to set I2S speed control
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:37 +0000 (15:25 -0200)]
V4L/DVB (3233): Fixed API to set I2S speed control

- Created a new ioctl to control I2S speed. Old calls to an
inadequate V4L2 API replaced.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3232): Several improvements at tvp5150 driver
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:36 +0000 (15:25 -0200)]
V4L/DVB (3232): Several improvements at tvp5150 driver

- Now reset do init tvp5150 registers to its default.
- Debug messages improved.
- Implemented video standard selection function.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3220): Add support for VP-3054 HDTV board
Chris Pascoe [Mon, 9 Jan 2006 17:25:35 +0000 (15:25 -0200)]
V4L/DVB (3220): Add support for VP-3054 HDTV board

- Added support for VP-3054 (aka DigitalNow DNTV Live! DVB-T Pro!).
- This board has a secondary I2C bus and remote control.
- Added a new module to handle secondary I2C bus on this board.

Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3218): Whitespace cleanups
Michael Krufky [Mon, 9 Jan 2006 17:25:34 +0000 (15:25 -0200)]
V4L/DVB (3218): Whitespace cleanups

- minor whitespace cleanups

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3216): saa7134 card #58 has a newer revision with a new subsystem ID
Ricardo Cerqueira [Mon, 9 Jan 2006 17:25:34 +0000 (15:25 -0200)]
V4L/DVB (3216): saa7134 card #58 has a newer revision with a new subsystem ID

- Added new ID for different revision of card #58. It's the same card,
but with a tda8275a instead of a tda8275

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3213): Add remote for Compro Videomate Gold+ Pal version.
Nickolay V. Shmyrev [Mon, 9 Jan 2006 17:25:33 +0000 (15:25 -0200)]
V4L/DVB (3213): Add remote for Compro Videomate Gold+ Pal version.

- Add remote.

Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3202): Initialize the dvb-usb-device-pointer to NULL
Patrick Boettcher [Mon, 9 Jan 2006 17:25:33 +0000 (15:25 -0200)]
V4L/DVB (3202): Initialize the dvb-usb-device-pointer to NULL

- Initialize the the dvb-usb-device-pointer in the -init function to NULL,
to be sure that a dvb-usb-device was really initialized.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3201): Remove #ifdef BTTV_BOARD_TWINHAN_VP3021
Michael Krufky [Mon, 9 Jan 2006 17:25:32 +0000 (15:25 -0200)]
V4L/DVB (3201): Remove #ifdef BTTV_BOARD_TWINHAN_VP3021

- As far back as the video4linux cvs repository goes, there is no mention
of BTTV_TWINHAN_VP3021.  It seems that this was done for the sake of
backwards compatability with some older v4l, but this can no longer be
necessary due to the v4l/dvb cvs merger, nor should this have ever
existed in the upstream kernel.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Acked-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3199): Removed some unneeded #ifdef's
Michael Krufky [Mon, 9 Jan 2006 17:25:30 +0000 (15:25 -0200)]
V4L/DVB (3199): Removed some unneeded #ifdef's

- Removed some unneeded #ifdef's

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3198): make cx25840 recover from some firmware load failures
Tyler Trafford [Mon, 9 Jan 2006 17:25:29 +0000 (15:25 -0200)]
V4L/DVB (3198): make cx25840 recover from some firmware load failures

- In the rare event that a 333MHz i2c firmware load fails after
writing some data, this fix makes the driver reset the DL_ADDR
registers to the proper values before continuing on with 100MHz
transfers.

Signed-off-by: Tyler Trafford <tatrafford@comcast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3196): correct Thomson DTT 761x frequency ranges
Michael Krufky [Mon, 9 Jan 2006 17:25:29 +0000 (15:25 -0200)]
V4L/DVB (3196): correct Thomson DTT 761x frequency ranges

- Corrected Thomson DTT 7611 tuner programming, based on spec sheet
- renamed to Thomson DTT 761x
- applies to DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A
(DTT 7610 is similar, but slightly different programming)
- corrected frequency ranges for analog and digital modes

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3193): Replace del_timer with del_timer_sync
Andrew Morton [Mon, 9 Jan 2006 17:25:28 +0000 (15:25 -0200)]
V4L/DVB (3193): Replace del_timer with del_timer_sync

- Replace del_timer with del_timer_sync

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3192): Fix bttv sub-device unregister
Christopher Pascoe [Mon, 9 Jan 2006 17:25:28 +0000 (15:25 -0200)]
V4L/DVB (3192): Fix bttv sub-device unregister

- Fixes sub-device release for BTTV. Without this, DVB modules can't be reloaded

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3179): Fix 64-bit compile warnings
Hans Verkuil [Mon, 9 Jan 2006 17:25:28 +0000 (15:25 -0200)]
V4L/DVB (3179): Fix 64-bit compile warnings

- Fix 64-bit compile warnings

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3178): bttv VBI fixes
Michael H. Schimek [Mon, 9 Jan 2006 17:25:27 +0000 (15:25 -0200)]
V4L/DVB (3178): bttv VBI fixes

- V4L2_(G|S|TRY)_FMT returned incorrect VBI start lines for PAL-M,
NTSC-JP, and PAL-60. They also returned an inaccurate VBI offset.
- V4L2_(G|S)_FMT and V4L2_TRY_FMT disagreed about the start of VBI
capturing in PAL and SECAM second field. Note the start line fixes
may break applications using VIDIOCSVBIFMT because this ioctl fails
when the driver does not support exactly the requested parameters.
- V4L2_TRY_FMT did not clear the reserved field in struct
v4l2_vbi_format.
- V4L2_(S|TRY)_FMT did not expect very large or small VBI start or
count values, returning wrong (but safe) counts due to an overflow.
- VIDIOCGVBIFMT confused V4L and V4L2 VBI flags. However this had no
effect because the flags have the same value and bttv never sets
them.
- In v4l_compat_translate_ioctl() the VIDIOC(G|S)VBIFMT code did not
expect V4L2 drivers supporting VBI formats besides V4L2_PIX_FMT_GREY.

Signed-off-by: Michael H. Schimek <mschimek@gmx.at>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3167): added ntsc parameter to tuner and more standardized debugs
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:27 +0000 (15:25 -0200)]
V4L/DVB (3167): added ntsc parameter to tuner and more standardized debugs

- Debug message changed to be coherent with other modules
- added ntsc parameter
- parameters moved to the beginning at the file
- tuner_status moved to a better position.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3162): Some fixes at cx88 controls
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:26 +0000 (15:25 -0200)]
V4L/DVB (3162): Some fixes at cx88 controls

- Now, default control values at cx88_cx8800_ctls are honored
- default value for contrast/saturation were changed to be
in line with available documentation for the chipset;
- Removed some bad coding at set_control;
- U/V Saturation now changes proportionally

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3166): "Philips 1236D ATSC/NTSC dual in" - fix typo.
Michael Krufky [Mon, 9 Jan 2006 17:25:26 +0000 (15:25 -0200)]
V4L/DVB (3166): "Philips 1236D ATSC/NTSC dual in" - fix typo.

- "Philips 1236D ATSC/NTSC dual in" - fix typo.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3161): ir-kbd-gpio is now part of bttv
Ricardo Cerqueira [Mon, 9 Jan 2006 17:25:25 +0000 (15:25 -0200)]
V4L/DVB (3161): ir-kbd-gpio is now part of bttv

- Merged ir-kbd-gpio into bttv as bttv-input, for consistency with other
input modules

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3160): Updates to the tveeprom eeprom checking
Steven Toth [Mon, 9 Jan 2006 17:25:25 +0000 (15:25 -0200)]
V4L/DVB (3160): Updates to the tveeprom eeprom checking

Updates to the tveeprom eeprom checking

Signed-of-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3159): Replaces MAX()/MIN() by kernel.h max()/min() macros
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:24 +0000 (15:25 -0200)]
V4L/DVB (3159): Replaces MAX()/MIN() by kernel.h max()/min() macros

- Replaces MAX()/MIN() by kernel.h max()/min() macros

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3154): TTUSB DEC driver patch roundup
Alex Woods [Mon, 9 Jan 2006 17:25:24 +0000 (15:25 -0200)]
V4L/DVB (3154): TTUSB DEC driver patch roundup

- Collection of patches from Peter Beutner addressing:
- add symbolrates to the DVB-S frontend description
- fix capability flags in DVB-S frontend describtion
- remove some void casts
- disable zig-zag scanning as it makes no sense for DVB-T
- set sensible min_delay value
- return an error for requested filter types the driver can't handle

Signed-off-by: Peter Beutner <p.beutner@gmx.net>
Signed-off-by: Alex Woods <linux-dvb@giblets.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2401): USB hot unplug Oops fix.
Deti Fliegl [Mon, 9 Jan 2006 17:25:23 +0000 (15:25 -0200)]
DVB (2401): USB hot unplug Oops fix.

- USB hot unplug Oops fix.

Signed-off-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3173): [PATCH] Decrease number of pointer derefs in flexcop-fe-tuner.c
Jesper Juhl [Mon, 9 Jan 2006 17:25:23 +0000 (15:25 -0200)]
V4L/DVB (3173): [PATCH] Decrease number of pointer derefs in flexcop-fe-tuner.c

- Here's a small patch to decrease the number of pointer derefs in
drivers/media/dvb/b2c2/flexcop-fe-tuner.c
Benefits of the patch:
- Fewer pointer dereferences should make the code slightly faster.
- Size of generated code is smaller
- Improved readability

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3145): syncronizes some changes between v4l and dvb
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:22 +0000 (15:25 -0200)]
V4L/DVB (3145): syncronizes some changes between v4l and dvb

- digitv_ctrl_msg() if (wo) test is reversed. fixed.
- usb timeout is in Hz, not in jiffies.
- NULL replaced by 0 to be coherent.
- removed uneeded headers.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3130): cx24123: cleanup timout handling
Steven Toth [Mon, 9 Jan 2006 17:25:22 +0000 (15:25 -0200)]
V4L/DVB (3130): cx24123: cleanup timout handling

- Cleanup timeout handling in cx24123_pll_writereg(), and
use a reasonable value for the timeout.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3129): correct FE_READ_UNCORRECTED_BLOCKS
Stephen Williams [Mon, 9 Jan 2006 17:25:21 +0000 (15:25 -0200)]
V4L/DVB (3129): correct FE_READ_UNCORRECTED_BLOCKS

- Make FE_READ_UNCORRECTED_BLOCKS reset the count after each call,
thus returning a momentary value like all other demods do,
instead of an absolute, ever increasing count.

Signed-off-by: Stephen Williams <stephen.williams@gmail.com>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3123b): syncs V4L subsystem tree with kernel
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:21 +0000 (15:25 -0200)]
V4L/DVB (3123b): syncs V4L subsystem tree with kernel

- This patch makes kernel in sync with v4l subsystem tree.
- some lines reordered to be sync.
- some reduntant codes removed.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3123a): remove uneeded #if from V4L subsystem
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:20 +0000 (15:25 -0200)]
V4L/DVB (3123a): remove uneeded #if from V4L subsystem

- some uneeded #if were introduced by a previous patch.
  this patch removes these.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3123): include reorder to be in sync with V4L tree
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:20 +0000 (15:25 -0200)]
V4L/DVB (3123): include reorder to be in sync with V4L tree

- include reorder to be in sync with V4L tree

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3118): Enable remote control on AVERTV STUDIO 303
George Gazurkoff [Mon, 9 Jan 2006 17:25:19 +0000 (15:25 -0200)]
V4L/DVB (3118): Enable remote control on AVERTV STUDIO 303

- Enable remote control on AVERTV STUDIO 303
- This patch adapted from a patch found on a website posted by
an anonymous user.  Thanks to original anonymous author for
creating this patch.  Tested successfully by George Gazurkoff.

Signed-off-by: George Gazurkoff <gazurkoff@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3117): Fix broken TV standard check.
Hans Verkuil [Mon, 9 Jan 2006 17:25:19 +0000 (15:25 -0200)]
V4L/DVB (3117): Fix broken TV standard check.

- Fix incorrect matching of TV standards leading to incorrect IFPCoff values.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3116): tda9887 improvements: better defaults, better configurability.
Hans Verkuil [Mon, 9 Jan 2006 17:25:18 +0000 (15:25 -0200)]
V4L/DVB (3116): tda9887 improvements: better defaults, better configurability.

- Set the tuner takeover point to 0x10 for NTSC/radio and 0x14 for PAL/SECAM.
- Allow override through TDA9887_SET_CONFIG
- PAL-N belongs with PAL-BG as does PAL-H. PAL-Nc belongs to PAL-M
- Add SECAM-BGH
- Set video freq to cVideoIF_38_90 for DK standards.
- Add cTunerGainLow to radio, change deemphasis to 75 for mono.
- Add ntsc module param for 'M' and 'J' (Japanese) standards.
- Fix module handling for 2.4.
- Now able to select all standards through pal/secam/ntsc module options

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3115): Add missing VIDEO_ADV_DEBUG config option.
Hans Verkuil [Mon, 9 Jan 2006 17:25:18 +0000 (15:25 -0200)]
V4L/DVB (3115): Add missing VIDEO_ADV_DEBUG config option.

- Add missing VIDEO_ADV_DEBUG config option.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3112): Several fixes for Hauppauge Roselyn Design (blackbird)
Steven Toth [Mon, 9 Jan 2006 17:25:17 +0000 (15:25 -0200)]
V4L/DVB (3112): Several fixes for Hauppauge Roselyn Design (blackbird)

- This patch adds eeprom awareness for the Roslyn. In effect, the
blackbird will query the tuner V4L2_STD_xxxx definitions to determine
whether it's connected to a NTSC or PAL tuner. Based on that, various
default values will change for blackbird encoding.
- Fixes back panel SVIDEO/COMPOSITE with audio, work properly.
- Fixes a problem with lip sync issues, due to bad framerate vs
audio rate assumptions.
- Fixed a problem with the GPIO configuration in cx88-cards.
- Removed the comments in cx88-cards that made no sense.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3110): Replace all uses of pci_module_init with pci_register_driver
Otavio Salvador [Mon, 9 Jan 2006 17:25:17 +0000 (15:25 -0200)]
V4L/DVB (3110): Replace all uses of pci_module_init with pci_register_driver

This patch replace all calls to pci_module_init, that's deprecated and
will be removed in future, with pci_register_driver that should be
the used function now.

Signed-off-by: Otavio Salvador <otavio@debian.org>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3108): tveeprom cleanup of hardcoded tuner format values.
Steven Toth [Mon, 9 Jan 2006 17:25:16 +0000 (15:25 -0200)]
V4L/DVB (3108): tveeprom cleanup of hardcoded tuner format values.

- Cleaned up the structure to use the V4L2_STD_xxx definitions
rather than a one off set of hardcoded values - which could
change in the future.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3105): Remove AUDC_CONFIG_PINNACLE horror, fix mt20xx radio support.
Hans Verkuil [Mon, 9 Jan 2006 17:25:16 +0000 (15:25 -0200)]
V4L/DVB (3105): Remove AUDC_CONFIG_PINNACLE horror, fix mt20xx radio support.

- Remove AUDC_CONFIG_PINNACLE horror. This also fixes radio support
for mt20xx tuners.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3104): MSP3400 miscelaneous fixes
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:15 +0000 (15:25 -0200)]
V4L/DVB (3104): MSP3400 miscelaneous fixes

- Removes obsoleted stuff
- Reorders some stuff to make it clearer to read
- Clears some debug messages

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3103): Add VIDIOC_LOG_STATUS to tuner-core.c
Hans Verkuil [Mon, 9 Jan 2006 17:25:15 +0000 (15:25 -0200)]
V4L/DVB (3103): Add VIDIOC_LOG_STATUS to tuner-core.c

- Mark tda9887.c status log values as hexadecimal (add 0x prefix).
Add VIDIOC_LOG_STATUS support to tuner-core.c.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3100): fix compile error, remove dead code and volume scaling
Hans Verkuil [Mon, 9 Jan 2006 17:25:14 +0000 (15:25 -0200)]
V4L/DVB (3100): fix compile error, remove dead code and volume scaling

- Fix compile error (missing '}') in em28xx-video.c. Remove dead code and
volume scaling from msp3400.c. Volume scaling does not belong there, it should
be done in the driver for the card that uses the msp3400 if needed, not in the
msp3400.c source. The volume scaling code gave problems with the ivtv driver
which does not need to do any scaling.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3099): Fixed device controls for em28xx on WinTV USB2 devices
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:14 +0000 (15:25 -0200)]
V4L/DVB (3099): Fixed device controls for em28xx on WinTV USB2 devices

- Controls now come from video and audio decoder driver for msp3400 and tvp5150.
- Added audio and sound controls as provided by msp3400 and tvp5150.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3092): Add support for another Nova-T-PCI PCI subdevice 0x9001
Steven Toth [Mon, 9 Jan 2006 17:25:13 +0000 (15:25 -0200)]
V4L/DVB (3092): Add support for another Nova-T-PCI PCI subdevice 0x9001

- Add support for another Nova-T-PCI PCI subdevice 0x9001

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3090): Cleanup check for dvb.
Michael Krufky [Mon, 9 Jan 2006 17:25:13 +0000 (15:25 -0200)]
V4L/DVB (3090): Cleanup check for dvb.

- Cleanup check for dvb.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3089): Adding support for the Hauppauge HVR1100 and HVR1100-LP products.
Steven Toth [Mon, 9 Jan 2006 17:25:12 +0000 (15:25 -0200)]
V4L/DVB (3089): Adding support for the Hauppauge HVR1100 and HVR1100-LP products.

- Add support for the Hauppauge HVR1100 and HVR1100-LP products.
- Add i2c_gate_ctrl callback function to dvb_frontend_ops struct.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3086): vfree(NULL) is legal.
Michael Krufky [Mon, 9 Jan 2006 17:25:12 +0000 (15:25 -0200)]
V4L/DVB (3086): vfree(NULL) is legal.

- vfree(NULL) is legal.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3084): Added a new debug msg to help identifying tuner Problems
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:12 +0000 (15:25 -0200)]
V4L/DVB (3084): Added a new debug msg to help identifying tuner Problems

- Added a new debug msg to help identifying tuner Problems

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3081): added offset parameter for adjusting tuner offset by hand
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:11 +0000 (15:25 -0200)]
V4L/DVB (3081): added offset parameter for adjusting tuner offset by hand

- added offset parameter for adjusting tuner offset by hand

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3065): Fix gcc-4.0.2 compile error in msp3400.c
Hans Verkuil [Mon, 9 Jan 2006 17:25:11 +0000 (15:25 -0200)]
V4L/DVB (3065): Fix gcc-4.0.2 compile error in msp3400.c

- Fix gcc-4.0.2 compile error in msp3400.c.
- msp_attach moved to reduce a prototype.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3064): Some cleanups on msp3400
Hans Verkuil [Mon, 9 Jan 2006 17:25:10 +0000 (15:25 -0200)]
V4L/DVB (3064): Some cleanups on msp3400

- Change function order to reduce usage of function
  prototypes.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3062): Fix wrong tuner.h define for tuner 46
Hans Verkuil [Mon, 9 Jan 2006 17:25:10 +0000 (15:25 -0200)]
V4L/DVB (3062): Fix wrong tuner.h define for tuner 46

- Fix wrong tuner.h define for tuner 46 (it's a Panasonic, not a Microtune).

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2390): Adds a time-delay to IR remote button presses for av7110 ir input,
Noone Important [Mon, 9 Jan 2006 17:25:09 +0000 (15:25 -0200)]
DVB (2390): Adds a time-delay to IR remote button presses for av7110 ir input,

- Adds a time-delay to IR remote button presses for av7110_ir input,
such that it acts more like a keyboard. A short press will be treated
as a single button press. Holding down a button on the remote will
respond like holding down a key on the keyboard, and result in a
key-repeat. This just introduces a delay between the 1st press, and
going into key-repeat so that it is possible to get a single 'up'.

Signed-off-by: Noone Important <nxhxzi702 at sneakemail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2454): Port code for SU1278/SH2 (TUA6100) from pre-refactored code
Andrew de Quincey [Mon, 9 Jan 2006 17:25:09 +0000 (15:25 -0200)]
DVB (2454): Port code for SU1278/SH2 (TUA6100) from pre-refactored code

- Port code for SU1278/SH2 (TUA6100) from pre-refactored code

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2451): Add support for KWorld DVB-S 100, based on the same chips as Hauppauge
Vadim Catana [Mon, 9 Jan 2006 17:25:08 +0000 (15:25 -0200)]
DVB (2451): Add support for KWorld DVB-S 100, based on the same chips as Hauppauge

- Add support for KWorld DVB-S 100, based on the same chips as Hauppauge
Nova-S Plus (CX23883/CX24123/CX24109), without the Intersil ISL6421,
which is used for LNB control.
- LNB voltage and tone are controled by LNBDC and LNBTone bits from
register 0x29 of the CX24123 demodulator.
- The MO_GP0_IO register from CX23883 is used to turn LNB power on and off.

Signed-off-by: Vadim Catana <skystar@moldova.cc>
Acked-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2446): Minor cleanups.
Johannes Stezenbach [Mon, 9 Jan 2006 17:25:08 +0000 (15:25 -0200)]
DVB (2446): Minor cleanups.

- Minor cleanups.

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2445): Added demodulator driver for Nova-S-Plus and Nova-SE2 DVB-S support.
Steve Toth [Mon, 9 Jan 2006 17:25:07 +0000 (15:25 -0200)]
DVB (2445): Added demodulator driver for Nova-S-Plus and Nova-SE2 DVB-S support.

- Added demodulator driver for Nova-S-Plus and Nova-SE2 DVB-S support.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2444): Implement frontend-specific tuning and the ability to disable zigzag
Andrew de Quincey [Mon, 9 Jan 2006 17:25:07 +0000 (15:25 -0200)]
DVB (2444): Implement frontend-specific tuning and the ability to disable zigzag

- Implement frontend-specific tuning and the ability to disable zigzag

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2441): Driver support for live-ac3, firmware >= 2621 required.
Dr. Werner Fink [Mon, 9 Jan 2006 17:25:07 +0000 (15:25 -0200)]
DVB (2441): Driver support for live-ac3, firmware >= 2621 required.

- Driver support for live-ac3, firmware >= 2621 required.

Signed-off-by: Dr. Werner Fink <werner@suse.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2440): Fixed mpeg audio on spdif from Nexus-CA card (rev 2.3),
Marco Schluessler [Mon, 9 Jan 2006 17:25:06 +0000 (15:25 -0200)]
DVB (2440): Fixed mpeg audio on spdif from Nexus-CA card (rev 2.3),

- Fixed mpeg audio on spdif from Nexus-CA card (rev 2.3),
definitions for sound chip MSP3415

Signed-off-by: Marco Schluessler <marco@lordzodiac.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2432): LNB power can now be switched off for Activy Budget-S rev GR/AL.
Oliver Endriss [Mon, 9 Jan 2006 17:25:06 +0000 (15:25 -0200)]
DVB (2432): LNB power can now be switched off for Activy Budget-S rev GR/AL.

- LNB power can now be switched off for Activy Budget-S rev GR/AL.
Dishnetwork support fixed for Nova-S with bsbe1/lnbp21 frontend and
Activy Budget-S rev AL.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2431): Fixed dishnetwork support for Nexus-S rev 2.3
Oliver Endriss [Mon, 9 Jan 2006 17:25:05 +0000 (15:25 -0200)]
DVB (2431): Fixed dishnetwork support for Nexus-S rev 2.3

- Fixed dishnetwork support for Nexus-S rev 2.3

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2428): Fixes for the topuptv/SCM mediaguard CAM module in KNC1 CI module
Andrew de Quincey [Mon, 9 Jan 2006 17:25:05 +0000 (15:25 -0200)]
DVB (2428): Fixes for the topuptv/SCM mediaguard CAM module in KNC1 CI module

- Fixes for the topuptv/SCM mediaguard CAM module in KNC1 CI module

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2421): Fixed oddities at firmware download
Hartmut Hackmann [Mon, 9 Jan 2006 17:25:04 +0000 (15:25 -0200)]
DVB (2421): Fixed oddities at firmware download

- Fixed oddities at firmware download
- more tolerant vs crystal frequency offset
- lower sampling clock

Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoDVB (2420): Makes integration of future devices easier
Patrick Boettcher [Mon, 9 Jan 2006 17:25:04 +0000 (15:25 -0200)]
DVB (2420): Makes integration of future devices easier

- To make the integration of future devices easier
- modified the dvb-usb-part to allow a device-specific firmware download
- added an option to specify whether a device reconnects after a firmware download or not.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (1021): Tuner description now follows the same CodingStyle as the others
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:03 +0000 (15:25 -0200)]
V4L (1021): Tuner description now follows the same CodingStyle as the others

- Tuner description now follows the same CodingStyle as the others

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (0988): Tuner cleanups by removing Video IF from tuners struct
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:03 +0000 (15:25 -0200)]
V4L (0988): Tuner cleanups by removing Video IF from tuners struct

- Video IF was removed from tuners struct.
- Each Video standard have its own Video IF frequency, so it
is related to video standard. Of course tuner also needs
saw filters for IF, but this way, similar tuners can be grouped
into just one entry, if they have the same cut-off freqs and
the same switch config and global config.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (1007): Add support for KWorld DVB-S 100
Vadim Catana [Mon, 9 Jan 2006 17:25:02 +0000 (15:25 -0200)]
V4L (1007): Add support for KWorld DVB-S 100

- Add support for KWorld DVB-S 100, based on the same chips as Hauppauge
Nova-S Plus (CX23883/CX24123/CX24109), without the Intersil ISL6421,
which is used for LNB control.
- LNB voltage and tone are controled by LNBDC and LNBTone bits from
register 0x29 of the CX24123 demodulator.
- The MO_GP0_IO register from CX23883 is used to turn LNB power on and off.

Signed-off-by: Vadim Catana <skystar@moldova.cc>
Acked-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (0990): Enable IR support for the Nova-S-Plus
Steven Toth [Mon, 9 Jan 2006 17:25:02 +0000 (15:25 -0200)]
V4L (0990): Enable IR support for the Nova-S-Plus

- Enable IR support for the Nova-S-Plus.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (0979): Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products
Steven Toth [Mon, 9 Jan 2006 17:25:02 +0000 (15:25 -0200)]
V4L (0979): Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products

- Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products.
- Basic DVB-S support is working, analog video inputs work.
- It has one or two fixme comments, primarily analog GPIOs (audio) and eeprom parsing.
- CX24123 code (in cx88-dvb.c) disabled until the
- cx24123 module is added to dvb-kernel cvs.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (1023): Added Hauppauge ImpactVCB board
Steven Toth [Mon, 9 Jan 2006 17:25:01 +0000 (15:25 -0200)]
V4L (1023): Added Hauppauge ImpactVCB board

- Modifications to bttv to support the Hauppauge ImpactVCB product
(Model #64900).

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (1019): Added basic support (tv + radio) for TerraTec Cinergy 250 PCI
Jörg Schummer [Mon, 9 Jan 2006 17:25:01 +0000 (15:25 -0200)]
V4L (1019): Added basic support (tv + radio) for TerraTec Cinergy 250 PCI

- Added "TerraTec Cinergy 250 PCI" board (tv and radio).
- svideo not tested
- IR yet not working

Signed-off-by: Jörg Schummer <joerg.schummer@web.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (0987): Added Secam L' std on tda9887 and common macros moved to videodev2.h
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:25:00 +0000 (15:25 -0200)]
V4L (0987): Added Secam L' std on tda9887 and common macros moved to videodev2.h

- Added SECAM L' video standard
- Common std macros moved to videodev2.h

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3152): Fixes some troubles at v4l2 compat stuff
Philippe De Muyter [Mon, 9 Jan 2006 17:25:00 +0000 (15:25 -0200)]
V4L/DVB (3152): Fixes some troubles at v4l2 compat stuff

- This patch fixes merge and typo problems in v4l2/compat, and fixes
VIDIOC_STREAMON, VIDIOC_STREAMOFF & VIDIOC_S_FBUF.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L/DVB (3120): Adds 32-bit compatibility for v4l2 framegrabber ioctls.
Philippe De Muyter [Mon, 9 Jan 2006 17:24:59 +0000 (15:24 -0200)]
V4L/DVB (3120): Adds 32-bit compatibility for v4l2 framegrabber ioctls.

- Adds 32-bit compatibility for v4l2 framegrabber ioctls.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (0978): 64-bit fixes for removing warnings on compat_ioctl32
Hans Verkuil [Mon, 9 Jan 2006 17:24:59 +0000 (15:24 -0200)]
V4L (0978): 64-bit fixes for removing warnings on compat_ioctl32

- 64-bit fixes for removing warnings on compat_ioctl32.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (0973): Another build fix for compat_ioctl32.c
MishalÅ Pytasz [Mon, 9 Jan 2006 17:24:59 +0000 (15:24 -0200)]
V4L (0973): Another build fix for compat_ioctl32.c

- Another build fix for compat_ioctl32.c

Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (0972): More build fixes for compat_ioctl32.c
Nickolay V. Shmyrev [Mon, 9 Jan 2006 17:24:58 +0000 (15:24 -0200)]
V4L (0972): More build fixes for compat_ioctl32.c

- More build fixes for compat_ioctl32.c

Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (963): Explicit compat_ioctl32 handler to em28xx
Mauro Carvalho Chehab [Mon, 9 Jan 2006 17:24:58 +0000 (15:24 -0200)]
V4L (963): Explicit compat_ioctl32 handler to em28xx

- Included explicit compat_ioctl32 handler.
- removed extra line on cardlist.

Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (957): Compat ioctl32 license fix
Ricardo Cerqueira [Mon, 9 Jan 2006 17:24:57 +0000 (15:24 -0200)]
V4L (957): Compat ioctl32 license fix

- Compat_ioctl32 license fix

Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
18 years agoV4L (926_2): Moves compat32 functions from fs to v4l subsystem
Arnd Bergmann [Mon, 9 Jan 2006 17:24:57 +0000 (15:24 -0200)]
V4L (926_2): Moves compat32 functions from fs to v4l subsystem

This moves the 32 bit ioctl compatibility handlers for
Video4Linux into a new file and adds explicit calls to them
to each v4l device driver.

Unfortunately, there does not seem to be any code handling
the v4l2 ioctls, so quite often the code goes through two
separate conversions, first from 32 bit v4l to 64 bit v4l,
and from there to 64 bit v4l2. My patch does not change
that, so there is still much room for improvement.

Also, some drivers have additional ioctl numbers, for
which the conversion should be handled internally to
that driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>