summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-02saa7134: add remote control support for LifeView FlyDVB-S LR300Michael Krufky
From: James Le Cuirot <chewi at aura-online.co.uk> It has been confirmed that the FlyDVB IR codes currently in the kernel work with the LifeView FlyDVB-S LR300. This one line addition adds it to the list of supported cards. Signed-off-by: James Le Cuirot <chewi at aura-online.co.uk> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-07-02merge: http://linuxtv.org/hg/~mkrufky/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-02Backport mutex changes to work with kernels <=2.6.15Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-02use mutex instead of semaphore in Virtual Video driverMauro Carvalho Chehab
From: Matthias Kaehlcke <matthias.kaehlcke@gmail.com> The Virtual Video driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-02Backport mutex changes to work with kernels <=2.6.15Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-02Use mutex instead of semaphore in Philips webcam driverMauro Carvalho Chehab
From: Matthias Kaehlcke <matthias.kaehlcke@gmail.com> The Philips webcam driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. -- Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-30bttv: fix v4l1 breaking the driverTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> If one uses a V4L *one* application, such as vlc or mplayer's v4l driver, as the first user after the driver is loaded, the driver wedges itself and will never capture properly. Even if one uses a V4L2 application later, it still won't work. If one uses a V4L *two* application first, such as tvtime or mplayer's v4l2 driver, then the driver will be ok. One can then run a V4L1 application, and it will work. It turns out the problem is with norm changing and the crop support that was added in 2.6.21. The driver defaults to PAL, and keeps the last norm it was set too across opens. If one changes the norm via V4L1, the cropping parameters are not reset like they should be, and they'll remain broken across device opens. This patch removes the direct setting of btv->tvnorm in the V4L1 ioctl VIDIOCSCHAN handler. The norm is set via the existing call to set_input(), which calls set_tvnorm(), which will reset the cropping values now that it is able to detect the norm change. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-06-28bttv: Add support for DBG_[SG]_REGISTER ioctlsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Adds the advanced debugging register read/write ioctl support to the bttv driver. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-06-28bttv: Be consistent in using symbolic names instead of constantsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> For svhs, tuner, and tuner_type, be consistent in using UNSET instead of -1. For tuner_type also consistently use the existing constants: 0 => TUNER_TEMIC_PAL 1 => TUNER_PHILIPS_PAL_I 2 => TUNER_PHILIPS_NTSC 4 => TUNER_ABSENT 5 => TUNER_PHILIPS_PAL 21 => TUNER_TEMIC_4039FR5_NTSC 25 => TUNER_LG_PAL_I_FM Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-06-28bttv: Fix problems with probing for non-existent tunersTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The bttv driver has code to detect if a tda9887 is present, that was previous used to auto-load the tda9887 driver. Now there is no tda9887 driver, so the code is pointless; it just figures out if it should load the driver and then does nothing. For cards that are defined as having no tuner, the init code would still do i2c probes for various tuner devices and auto-load the tuner module. That can be skipped for cards that don't need it. The code is made to understand that in addition to 'UNSET', 'TUNER_ABSENT' also means no tuner. The tuner into printk()s are also made nicer. Levels are added, INFO or WARNING, depending on the meaning. For cards with no tuner, or no tuner defined, a more informative message is printed. Card has no tuner, before patch: bttv0: tuner type=-1 or bttv0: tuner type=4 After patch: bttv0: tuner absent Card has a tuner, but the type isn't defined, before patch: bttv0: tuner type=-1 After patch: bttv0: tuner type unset [<- also warning now, as the tuner won't work right] Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-06-23compat: Add compat.h code for pci_match_device()Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The first argument changed in 2.6.13, but it can be make backward compatible with a macro. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-06-28bttv: add support for DViCO FusionHDTV 2Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> add analog video support for DViCO FusionHDTV 2 Thanks to Todd Ignasiak for donating the card. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Cc: Todd Ignasiak <ignasiak@gmail.com>
2007-06-28merge: ~mkrufky/fcv1236dMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-28Fix the last fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> It seems that I'm stressed... Ok, now, I hope everything will be fine. Thanks to Michel Krufky for pointing it to me. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-28Fix: Correct the checks for VIDEO_IR_I2CMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Hmm... I did two typos on my IR fix... It should be checking for I2C, in order to select VIDEO_IR_I2C. I've added a wrong check and at the wrong line. Ok, now, the test should work fine. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-28Fix: remove unused struct that could avoiding load the firmwareMauro Carvalho Chehab
From: Marco Gittler <g.marco@freenet.de> The dvb_usb_device* d is not used anymore and can be removed. Signed-off-by: Marco Gittler <g.marco@freenet.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-27tuner: update FCV1236D ranges to match the datasheetMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-27tuner: correct description of Philips FCV1236D tunerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The old description was "Philips 1236D ATSC/NTSC dual in", which can be confused with other Philips tuner models. This patch corrects the name to "Philips FCV1236D ATSC/NTSC dual in", and updates the range and params array names to match the description. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-26merge: http://linuxtv.org/hg/~mkrufky/tunerMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-26tuner: remove hardware-specific info from public headerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Move internal structures and debug macros to drivers/media/video/tuner-driver.h Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-25zr364xx: add support for Trust Powerc@m 970ZAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Add Trust Powerc@m 970Z (0x06d6:0x003b) to the list of supported devices. Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2007-06-25Fix Kbuild for kbd-ir-i2cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Potentially, all board types with I2C and IR support can use an i2c based IR. Currently, the driver is selected only if bt848 or saa7134 boards are selected. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-25Fix error handling for stv680Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-25Fix 3dfx Voodoo entries on CardlistMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-25cx88-input: cx88_ir_handle_key: convert nested if's to switch..caseMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> In the function, cx88_ir_handle_key: - convert nested if statement to a switch..case block Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-25cx88: add remote control support for Leadtek Winfast DTV1000Michael Krufky
From: Edgar Pisani <episani@onqweb.com.au> Signed-off-by: Edgar Pisani <episani@onqweb.com.au> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-25ir-kbd-i2c: add support for Hauppauge HVR1300 remoteMichael Krufky
From: Jan Frey <jfrey@gmx.de> - add support for the I2C based IR transceiver of the Hauppauge HVR-1300 - remove bad code from cx88-input.c Signed-off-by: Jan Frey <jfrey@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-25Revisited: 3dfx Voodoo TV 200 (US)Mauro Carvalho Chehab
From: Wade Berrier <wberrier@gmail.com> Fix support for 3dfx Voodoo TV 200 variant Signed-off-by: Wade Berrier <wberrier@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-24or51211: remove hardcoded fcv1236d tuner programmingMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Remove hardcoded fcv1236d tuner programmming from or51211.c - Alter dvb-bt8xx for the pcHDTV-2000 to use dvb-pll for fcv1236d support. Thanks to Jarom Hatch <jshatch@gmail.com> for testing this change. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Cc: Jarom Hatch <jshatch@gmail.com>
2007-06-22dibusb-mb: fix tuner autodetection regressionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> We must set i2c_msg.addr in order for the autodetection test to succeed! Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-22Fix excess of debug messages on cx88-mpegMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Closes the issue opened on Kernel bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=8383 There's no need to print timeout without debug turned on: Apr 27 23:02:14 video kernel: cx88[1]/2-mpeg: cx8802_timeout Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-22Updates on v4l/dvb README filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The previous README files were written when Mercurial tree usage started. Since then, the procedures were being maturated, but the docs were never updated to reflect the changes along the time. This patch updates with the procedures and best practices currently in use at LinuxTV. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-20merge: http://linuxtv.org/hg/~mkrufky/dvb-pllMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-20Hardware MPEG audio fix for SAA7134 based "KNC One TV-Station DVR" cardMauro Carvalho Chehab
From: Rafael Bilski <rafalbilski@interia.pl> With previous patch card is generating MPEG audio stream too. Unfortunatly I2S audio output is muted. Unmute it. Signed-off-by: Rafal Bilski <rafalbilski@interia.pl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-20Alsa fix for SAA7134 based "KNC One TV-Station DVR" cardMauro Carvalho Chehab
From: RafaƂ Bilski <rafalbilski@interia.pl> Sound recording doesn't work for this card because ACNI and ACPF are not set before snd_card_saa7134_capture_prepare(). As a result timeout occurs. These registers aren't poked because thread never gets wake up signal. ACNI initialization is done in the thread. Sound is muted when capture stops. Shouldn't be because it may be used during TV playback. Signed-off-by: Rafal Bilski <rafalbilski@interia.pl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-20Add another testing tool to v4l2-apps/testMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Michael Schimek gladly donated us a newer testing tool, capable of identify other API non-compliances, called pixfmt-test. Thanks Michael for this contribution. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-20merge: http://linuxtv.org/hg/~mkrufky/trivialMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-16ivtv: fix return code of VIDIOC_G/S_FBUF when no framebuffer is present.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-06-16ivtv: fix broken VBI output supportHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The old service_set_out setting was still tested, even though it no longer was ever set and was in fact obsolete. This meant that everything that was written to /dev/vbi16 was ignored. Removed the service_set_out variable altogether and now it works again. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-06-16ivtv: fix converity warningHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-06-15cx88: remove two unused pointers from struct cx8802_devMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The following two pointers in struct cx8802_dev are unused - remove them: void* fe_handle; int (*fe_release)(void *handle); Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-15get_dvb_firmware: update script for new location of sp8870 firmwareMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This url is no longer valid: http://www.technotrend.de/new/217g/tt_Premium_217g.zip Replace with: http://www.softwarepatch.pl/9999ccd06a4813cb827dbb0005071c71/tt_Premium_217g.zip Thanks-to: Tobias Stoeber <tobi@to-st.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-13ZC0301 driver updatesMauro Carvalho Chehab
From: Luca Risolia <luca.risolia@studio.unibo.it> - Make the driver depend on V4L2 only (KConfig) - Better and safe locking mechanism of the device structure on open(), close() and disconnect() - Use kref for handling device deallocation - Generic cleanups Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-13ET61x251 driver updatesMauro Carvalho Chehab
From: Luca Risolia <luca.risolia@studio.unibo.it> - Make the driver depend on V4L2 only (KConfig) - Better and safe locking mechanism of the device structure on open(), close() and disconnect() - Use kref for handling device deallocation - Generic cleanups Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-13SN9C1xx driver updatesMauro Carvalho Chehab
From: Luca Risolia <luca.risolia@studio.unibo.it> - Add support for pair OV7630+SN9C120 - Better and safe locking mechanism of the device structure on open(), close() and disconnect() - Use kref for handling device deallocation - Generic cleanups Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-12dvb: Remove static dependencies on dvb-pllMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch removes all static dependencies on the dvb-pll module. All exported dvb_pll_desc's have been UNexported, and the caller will reference the individual dvb_pll_desc by it's index in the pll_list array. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Acked-by: Oliver Endriss <o.endriss@gmx.de> Acked-by: Manu Abraham <manu@linuxtv.org>
2007-06-12dibusb-mb: fix broken 'tuner_pass_ctrl' functionalityMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> 'tuner_pass_ctrl' functionality of the dib3000-mb devices was broken in the previous changeset: "dibusb-mb: convert pll handling to properly use dvb-pll" This patch fixes this problem by assigning this functionality to the i2c_gate_ctrl callback Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-06-12dvb-usb: kill unused tuner/i2c functionsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> These two functions are no longer being used. kill dvb_usb_tuner_init_i2c kill dvb_usb_tuner_set_params_i2c This functionality has been taken over by dvb-pll Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-06-08A few improvements on v4l-dvb makefileMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> make commit: - It will now detect that the commit message were not changing, aborting commit. This avoids the need of doing a rollback every time you decide not commiting yet; - hg undo command is absent on newer versions of Mercurial. makefile changed to print, instead "hg rollback"; - removed uneeded messages printed on "make commit". make whitespace: - added an alias for make "whitespaces" to work. Since the log message presents "Cleaning bad whitespaces", a common typo mistake were using the parameter in plural. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-06-08Fix tea5761 unselectionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>