summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2005-12-31msp3400.c cleanup (almost all cosmetic)Hans Verkuil
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>
2005-12-31Using new firmware for the WideView StickPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> A new firmware fixes VHF tuning issues. This changes the firmware file name in the driver. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-12-30cx88-alsa, now with rmmod goodnessRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> The module can now be removed and reloaded without problems, if the PCM isn't opened. PCM cleanup is still missing. Signed-off-by:
2005-12-30More cx88-alsa changes, still not workingRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Changed a few more things in the buffers and ALSA initialization code, but still no luck. No IRQ activity yet, even with the IRQ mask fixed. Signed-off-by:
2005-12-29Add missing audiochip.h include.Hans Verkuil
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-29When in radio mode ignore VIDIOC_G_TUNERHans Verkuil
- Detect when AUDC_SET_RADIO is called. - When in radio mode ignore VIDIOC_G_TUNER. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-29When in radio mode don't do anything with VIDIOC_G_TUNER.Hans Verkuil
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>
2005-12-29Don't reprogram the video standard if it is unchanged.Hans Verkuil
Don't reprogram the video standard if the new standard equals the old standard. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-28Add V4L2 commands to tvaudioHans Verkuil
- Use more general form for debug messages that works for both 2.4 and 2.6. - Add V4L2 commands VIDIOC_S_TUNER, VIDIOC_G_TUNER, VIDIOC_S_STD and VIDIOC_S_FREQUENCY. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-28tea5767: move signal strength level to the 0-65535 rangeHans Verkuil
- Move signal strength level to the 0-65535 range as per V4L2 spec. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-28Generalized cx25840 video/audio input handlingHans Verkuil
- 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>
2005-12-28Add selected input to saa7115 VIDIOC_LOG_STATUS output.Hans Verkuil
- Add selected input to VIDIOC_LOG_STATUS output. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-28Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO in wm8775.Hans Verkuil
- Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO. - Added V4L2_CID_AUDIO_MUTE. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-28Use VIDIOC_S_AUDIO instead of AUDC_SET_INPUT in cs53l32aHans Verkuil
- 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>
2005-12-28Added some comments about multiple tuner support.Mauro Carvalho Chehab
- 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>
2005-12-27Fixes Kconfig warning at saa7134 KconfigMauro Carvalho Chehab
- Fixes: Warning! Found recursive dependency: VIDEO_SAA7134_ALSA VIDEO_SAA7134_OSS VIDEO_SAA7134_ALSA Thanks-to: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-27add firmware instructions for nxt2002 and nxt2004Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-27make the firmware dir documentation and comments consistent in the v4l-dvb tree.Michael Krufky
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-27reorganize tuner-simple threshold structure.Michael Krufky
- 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>
2005-12-27dst_ca __user annotations, portability fixesMauro Carvalho Chehab
From: Al Viro <viro@zeniv.linux.org.uk> kernel-sync Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-26Make late module load fix looking the same as kernel version.Mauro Carvalho Chehab
kernel-sync. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-26Included advanced debug option to tvp5150.cMauro Carvalho Chehab
- 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>
2005-12-26Fixed API to set I2S speed controlMauro Carvalho Chehab
- 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>
2005-12-25Several improvements at tvp5150 driverMauro Carvalho Chehab
- 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>
2005-12-25replace <media/i2c-compat.h> with "i2c-compat.h"Michael Krufky
-#include <media/i2c-compat.h> +#include "i2c-compat.h" Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-24More changes to cx88-alsa buffersRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> the videobuf sequence now looks complete. Still no IRQ activity, though. Signed-off-by:
2005-12-23Newer module to handle vp3054 secondary I2C bus.Mauro Carvalho Chehab
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> - Newer module to handle vp3054 secondary I2C bus. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by:
2005-12-23Add support for VP-3054 HDTV boardMauro Carvalho Chehab
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> - 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>
2005-12-22minor whitespace cleanups; fixed videodev.c broken backwards compat for ↵Michael Krufky
kernels < 2.6.12 - fixed videodev.c broken backwards compat for kernels < 2.6.12 - minor whitespace cleanups Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-22saa7134 card #58 has a newer revision with a new subsystem IDRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> 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:
2005-12-22Calculate the saa7115 AMCLK regs instead of using fixed valuesHans Verkuil
- 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>
2005-12-22Add remote for Compro Videomate Gold+ Pal version.Nickolay V. Shmyrev
From: Nickolay V. Shmyrev <nshmyrev@yandex.ru> * linux/drivers/media/video/saa7134/saa7134-cards.c: (saa7134_board_init1): * linux/drivers/media/video/saa7134/saa7134-input.c: (saa7134_input_init1): Add remote. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-12-21Changes saa7134 DMA sound modules to late_initcall() to prevent oopsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Replaced module_init() with late_initcall() so sound core can be loaded before these modules, to prevent an oops when booting with them statically compiled into the kernel. Signed-off-by:
2005-12-20removed unnecessary "select" from KconfigRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> SND_PCM_OSS isn't necessary for the OSS driver Signed-off-by:
2005-12-20Give saa7134 DMA audio modules their own Kconfig optionsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> the saa7134 DMA sound modules now have their own Kconfig entries, and if built statically enforce exclusivity Signed-off-by:
2005-12-20Initialize the dvb-usb-device-pointer to NULLPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> 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>
2005-12-20Remove #ifdef BTTV_BOARD_TWINHAN_VP3021Michael Krufky
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>
2005-12-20Fix saa7134 ALSA/OSS collisionsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> When ALSA or OSS are loaded, check if the other is present Fixed hotplug notifiers cleanup on module removal Signed-off-by:
2005-12-20Removed some unneeded #ifdef'sMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-20make cx25840 recover from some firmware load failuresTyler Trafford
From: Tyler Trafford <tatrafford@comcast.net> * linux/drivers/media/video/cx25840/cx25840-firmware.c: (fw_write): - 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>
2005-12-20update comments to indicate which tuners are supported by TUNER_THOMSON_DTT761XMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-20correct Thomson DTT 761x frequency rangesMichael Krufky
From: Michael Krufky <mkrufky@m1k.net> - 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>
2005-12-19Fix for 64-bit compile warningHans Verkuil
Add the fix for the saa7146 64-bit compile warning (again). This time with comments and checked by Johannes Stezenbach. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-19Revert one 64-bit fix and improved other 64-bit fixesHans Verkuil
- Reverted objectionable fix in saa7146_hlp.c - Merged in improved dvb 64-bit fixes from Peter Beutner. Signed-off-by: Peter Beutner <p.beutner@gmx.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-18Replace del_timer with del_timer_syncRicardo Cerqueira
From: Andrew Morton <akpm@osdl.org> Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-18Fix bttv sub-device unregisterRicardo Cerqueira
From: Christopher Pascoe <c.pascoe@itee.uq.edu.au> Fixes sub-device release for BTTV. Without this, DVB modules can't be reloaded Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-18Fix CC outputHans Verkuil
- CC data was swapped the wrong way around. - Enabling CC disabled XDS and vice versa: these two should be independent from one another. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-18Fix a broken logic that didn't cover all standards.Mauro Carvalho Chehab
- Fix a broken logic that didn't cover all standards. - Fix compilation failure with gcc 2.95.3. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-18Fix a broken logic that didn't cover all standards.Mauro Carvalho Chehab
CC: Tyler Trafford <tatrafford@comcast.net> - Fix a broken logic that didn't cover all standards. - Fix compilation failure with gcc 2.95.3. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-18Fix compilation failure with gcc 2.95.3.Mauro Carvalho Chehab
Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>