summaryrefslogtreecommitdiff
path: root/v4l
AgeCommit message (Collapse)Author
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-01Kill pvrusb2 initialization bug involving saa711x and msp3400Mike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Mike Isely <isely@pobox.com>
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-01Patch pvrusb2 to compile again with centralized ioctl definitionsMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Mike Isely <isely@pobox.com>
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-01Added a test area to CVS.Mauro Carvalho Chehab
- Added a test area to CVS. - Included a small dumb app to test all ioctls. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
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-01added saa7127 msp3400 tvp5150 to insmod.sh script.Michael Krufky
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-01New I2C client handling implementation for pvrusb2 driverMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
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-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-28Adjust pvrusb2 driver to track VIDIOC_INT_AUDIO_CLOCK_FREQ API changeMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-28Prioritize PAL_BG over SECAM_LMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com> 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-27Script fixed to work properly after tuner-simple.c changes.Mauro Carvalho Chehab
- Script fixed to work properly after tuner-simple.c changes. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-27insmod.sh, debug mode- tuner_debug=1Michael Krufky
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-26add compat_ioctl32.ko to insmod.shMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-26Fixed some errors at gentree parsing.Mauro Carvalho Chehab
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-25fix build for 2.6.14, based on patch (hwmon: hwmon vs i2c, second round (01/11))Michael Krufky
- fix build for 2.6.14, based on: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9fc6adfa9adf2be84119a3c2592287f33bd1dff2 Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-25drop i2c_clientname()Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-25remove I2C_ALGO_BITMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-25Add v3tv experimental build environmentMichael Krufky
- Add v3tv experimental build environment, based on current pvrusb2 setup Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-25Merge V3TV driver from http://www.gilfillan.org/v3tv/v3tv-v4l2/Michael Krufky
From: Perry Gilfillan <perrye@linuxmail.org> - Merge V3TV driver from http://www.gilfillan.org/v3tv/v3tv-v4l2/ Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-25kernel-syncMichael Krufky
import linux-2.6.15-rc7/drivers/i2c/busses/i2c-voodoo3.c - imported from linux-2.6.15-rc7/drivers/i2c/busses/i2c-voodoo3.c - This will stay in experimental until the V3TV driver is ready for inclusion. Signed-off-by: Michael Krufky <mkrufky@m1k.net>