summaryrefslogtreecommitdiff
path: root/linux/drivers/media
AgeCommit message (Collapse)Author
2006-01-02Added VIDIOC_QUERYCTRL to saa7115Hans Verkuil
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-02Added VIDIOC_QUERYCTRL to cx25840.Hans Verkuil
- Added VIDIOC_QUERYCTRL - Removed unnecessary inlines. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-02convert diagnostics over to the new v4l2-common.h macros.Hans Verkuil
- convert diagnostics over to the new v4l2-common.h macros. - deprecated tuner_debug option, the new option is debug. - renamed cx25840_debug to debug. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-02Fix incorrect filename reference in top commentsMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-02Added new diagnositics macros, convert msp3400 to the new macros.Hans Verkuil
- Added new v4l_err, v4l_warn, v4l_info and v4l_dbg macros to v4l2-common.h for use in v4l-dvb i2c drivers. This ensures a unique prefix for each device instance. - At a later stage these macros may be reimplemented using the device-generic macros from device.h. - Converted the msp3400 driver to the new macros. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-02Split msp3400.c into msp3400-driver.c and msp3400-kthreads.cHans Verkuil
- Split msp3400.c into msp3400-driver.c and msp3400-kthreads.c. - Removed experimental DFPREG ioctls. If this is really needed one day then it should be implemented using VIDIOC_G/S_REGISTER. - Added missing BALANCE control info for VIDIOC_QUERYCTRL. - Still more cleanup, clarified some kernel messages. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-01Small cxusb cleanupsMichael Krufky
- Add space after , in memcpy() - Initialize bpll array before memcpy() to pll_init. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-01more cleanups, simplify volume/balance/bass/treble handlingHans Verkuil
Continue cleanup effort: - more cosmetic changes - combine volume, balance, bass and treble into one audio function. Revert old 2.4 code that crept in. - print internal ioctls using new debug function. - marked all msp3400c (aka manual) functions as such. - removed some unused data structures. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-01ioctls cleanups.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> - Now, all internal ioctls are at v4l2-common.h - removed unused ioctl at saa6752hs.h - all debug ioctl code moved to v4l2-common.c - removed duplicated stuff from other cards Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-01Use combined firmware for DVB-T and ATSC Bluebird FusionHDTV USB models.Michael Krufky
- 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>
2006-01-01Add support for DViCO FusionHDTV5 USB GoldMichael Krufky
From: Michael Krufky <mkrufky@m1k.net> - 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>
2006-01-01Improve consistency between similar decoder and encoder API names.Hans Verkuil
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-01Made API names consistent.Hans Verkuil
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-01Add cx23415/6 firmware documentation and header.Hans Verkuil
- Added cx23415/6 firmware documentation from the ivtv project. - Added header containing the firmware API commands for use by all projects that use the cx2341x. First step towards a shared cx2341x driver. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-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>