summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
AgeCommit message (Collapse)Author
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>
2005-12-17Reverted latest two patchesMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-17fix build error.Michael Krufky
- if (std & V4L2_STD_NTSC_M_443) { + if (std & V4L2_STD_NTSC_443) { Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-17Fix compilation failure with gcc 2.95.3 and corrected set video stdMauro Carvalho Chehab
From:: Jean Delvare <khali@linux-fr.org> - Fix compilation failure with gcc 2.95.3. - Corrected a bug at video std check at cx25840 module Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-17Fixed compiling with gcc 2.9xMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-15Fix tuner 100 definition for hauppauge eepromRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Tuner 100 is the TUNER_PHILIPS_FMD1216ME_MK3, not TUNER_ABSENT. This was causing the tuner module to be skipped, and rendered boards with this value in the eeprom (like the HVR1100) unable to tune Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-14bttv VBI fixesHans Verkuil
From: Michael H. Schimek <mschimek@gmx.at> - 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>
2005-12-14more videobuf stuff included ad dsp_buffer_init. Still no joy.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-14Several fixes at videobuf and alsa stuff. Still doesn't work.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-13several fixes at videobuf stuff.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-13Videobuf code in alsa now compilesMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brtubo.com.br>
2005-12-13More cx88-alsa changes. Doesn't crash on removal anymoreRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> - Bugfixes to allow the module to be removed without hard-locking the system Signed-off-by:
2005-12-11Makes v4l compile under 2.4 kernelsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> kernel-sync - Makes V4L compile with kernel 2.4 - em28xx doesn't compile with 2.4 kernels. Additional work is necessary to make it compile. Thanks-to: Stefan Leichter <Stefan.Leichter@camLine.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-11added ntsc parameter to tuner and more standardized debugsMauro Carvalho Chehab
- 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>
2005-12-11"Philips 1236D ATSC/NTSC dual in" - fix typo.Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-10Some fixes at cx88 controlsMauro Carvalho Chehab
- 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>
2005-12-10ir-kbd-gpio is now part of bttvRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Merged ir-kbd-gpio into bttv as bttv-input, for consistency with other input modules Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-10Updates to the tveeprom eeprom checkingMauro Carvalho Chehab
From: Steven Toth <stoth@hauppauge.com> Signed-of-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-10Replaces MAX()/MIN() by kernel.h max()/min() macrosMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-10Fixed some DMA handlers. Yet to be tested.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-10cx88-alsa now doesn't generate OOPS. Still doesn't work.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-10make tree to compile against kernel 2.5.31Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-09Make videodev.c compile under V4L/DVB treeMauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08Fixes some troubles at v4l2 compat stuffMauro Carvalho Chehab
From: Philippe De Muyter <phdm@macqel.be> - 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>
2005-12-08I2C ID renamed to I2C_DRIVERID_INFRAREDMauro Carvalho Chehab
I2C ID renamed to I2C_DRIVERID_INFRARED Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08VIDEO_CX88_DVB_CX24123 is boolean, NOT tristateMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-08more #if 0 / #if 1 fixes to be in sync with kernelMauro Carvalho Chehab
kernel-sync - more #if 0 / #if 1 fixes to be in sync with kernel Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08removed unneeded linux/version.hMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-08More input layer backportsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> kernel-sync (Bugfix at ir-kbd-gpio) Updated experimental bttv-input Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-08Fix tuner init for Pinnacle PCTV StereoRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> The Pinnacle PCTV Stereo needs tda9887 port2 set to 1 Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-07#elifs replaced since gentree.pl script is not able to handle elifs.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07Reverted a wrong commit at the previous patch.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07kernel-sync patches.Mauro Carvalho Chehab
- kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07kernel-sync patches.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07include reorder to be in sync with V4L treeMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07kernel-sync patches.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07Syncs bttv stuff with kernel version.Mauro Carvalho Chehab
kernel-sync - Syncs bttv stuff with kernel version. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07Adds 32-bit compatibility for v4l2 framegrabber ioctls.Mauro Carvalho Chehab
From: Philippe De Muyter <phdm@macqel.be> 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>
2005-12-06Enable remote control on AVERTV STUDIO 303Michael Krufky
- 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>
2005-12-05Fix broken TV standard check.Hans Verkuil
Fix incorrect matching of TV standards leading to incorrect IFPCoff values. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-05tda9887 improvements: better defaults, better configurability.Hans Verkuil
- 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>
2005-12-05Add missing VIDEO_ADV_DEBUG config option.Hans Verkuil
Add missing VIDEO_ADV_DEBUG config option. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-05Make em28xx page alloc compatible with kernels < 2.6.15Mauro Carvalho Chehab
From: Sascha Sommer <saschasommer@freenet.de> kernel-sync - Make em28xx page alloc compatible with kernels < 2.6.15 Signed-off-by: Sascha Sommer <saschasommer@freenet.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-05Convert em28xx to use vm_insert_page instead of remap_pfn_rangeMauro Carvalho Chehab
From: Sascha Sommer <saschasommer@freenet.de> - Convert em28xx to use vm_insert_page instead of remap_pfn_range Signed-off-by: Sascha Sommer <saschasommer@freenet.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-05Several fixes for Hauppauge Roselyn Design (blackbird)Mauro Carvalho Chehab
From: Steven Toth <stoth@hauppauge.com> - 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>
2005-12-04kernel-syncMichael Krufky
[PATCH 9/11] MEDIA: replace all uses of pci_module_init with pci_register_driver From: Otavio Salvador <otavio@debian.org> 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>
2005-12-04tveeprom cleanup of hardcoded tuner format values.Michael Krufky
From: Steven Toth <stoth@hauppauge.com> - 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>
2005-12-04Restore 2.4 support for msp3400.cHans Verkuil
Restore 2.4 support for msp3400.c. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-04Remove AUDC_CONFIG_PINNACLE horror, fix mt20xx radio support.Hans Verkuil
Remove AUDC_CONFIG_PINNACLE horror. This also fixes radio support for mt20xx tuners. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-04Backport of Dmitry Torokhov's input layer changes at mainline kernelRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> kernel-sync Ported changes by Dmitry Torokhov <dtor_core@ameritech.net> and added backwards compatibility checks for kernels < 2.6.15 Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>