summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2006-08-07LNB voltage control was inverted for the benefit of geniatech cards on KworldMauro Carvalho Chehab
From: Yeasah Pell <yeasah@schwide.com> 1) It sets LNBDCPol differently based on the card type. Now it should work properly for both the kworld and geniatech cards. 2) It stops returning an error for the SEC_VOLTAGE_OFF voltage command (the cx88-dvb level handles the actual voltage on/off, but it still passes the ioctl down to the cx24123 level, which previously rejected the OFF as invalid so the ioctl would report failure) Signed-off-by: Yeasah Pell <yeasah at schwide.net> Acked-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-07[av7110] Support Grundig DVB-T tuner for sub-system 13c2:0001Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Some DVB-T cards with Grundig 29504-401 tuner use subsystem id 13c2:0001 (reported by Stuart Butterfield). Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-08-06Improve hardware algorithm by setting the appropriate registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Hardware algorithm needs to be configured to: 1) Increase timeout constants, to detect weaker signals; 2) do a wider zigzag search. Acked-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-06Fix most Compat32 stuff on V4L2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Tested on x64 with a bttv board. Most Get ioctls are fixed. The only non-completely working one is VIDIOCGAUDIO. All other IOR ioctls give the same results on x86_64 and i386 architectures. Thanks to Alastair Poole <netstar@gatheringofgray.com> for part of this patch and tests on ppc64. Signed-off-by: Alastair Poole <netstar@gatheringofgray.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-06On some cases, depth were not returned.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-06merge: http://linuxtv.org/hg/~pb/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-06Remove debug-print from dib3000mcPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Removed and commented a small debug function. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-06merge from mainPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> merge from main Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-06flexcop/nxt200x attach fixChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Address another case where the test in dvb-pll to see if a tuner's PLL responds when attaching may fail. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-08-05cleanup whitespace in radio-cadet.cMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The old strip-trailing-whitespaces.sh script from v4l-dvb cvs found these. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-08-05whitespace cleanups for cx88-dvb and saa7134-dvbMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch cleans up some whitespace problems after the dvb_attach changes in cx88-dvb.c and saa7134-dvb.c, and converts some capitalized i2c address constants to lowercase. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-08-05fix dvb_pll_attach for nxt2004-based cardsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The test in dvb-pll to see if a tuner's PLL responds when attaching fails on NXT2004 based boards before the firmware is loaded. This patch allows us to avoid this test by not passing an I2C bus handle to the dvb_pll_attach routine, just as Chris Pascoe has done for MT352 and ZL10353 based boards when used in cx88-dvb. CC: Chris Pascoe <c.pascoe@itee.uq.edu.au> CC: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-08-05merge: http://linuxtv.org/hg/~pascoe/pending/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-05HW algoManu Abraham
Change this card to use HW ALGO tuning From: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-08-05Change BER configManu Abraham
Change the bit error counter configuration to be the actual BER. Originally it was reporting UCB From: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-08-05Soft decision thresholdManu Abraham
Set the Soft decision threshold properly for the specified FEC From: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-08-05Fix Circular dependenciesManu Abraham
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-08-05Check all errorsManu Abraham
From: Yeasah Pell <yeasah@schwide.com> Signed-off-by: Yeasah Pell <yeasah@shwide.com> Signed-off-by: Manu Abraham <manu@linuxtv.org> HGr changed linux/drivers/media/dvb/bt8xx/dst.c
2006-08-06dvb-pll support for MT352/ZL10353 based tuners.Chris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Typical wiring of MT352 and ZL10353 based tuners differs from dvb-pll's expectation that the PLL is directly accessible. On these boards, the PLL is actually hidden behind the demodulator, and as such can only be accessed via the demodulator's interface. It was failing to communicate with the PLL during an attach test and subsequently not connecting the tuner ops. By passing a NULL I2C bus handle to dvb_pll_attach, this accessibility check can be bypassed. Do this for the affected boards. Also fix a possible NULL dereference at sleep time, which would otherwise be exposed by this change. Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-08-03Quickcam_messenger compilation fixMauro Carvalho Chehab
From: Diego Calleja <diegocg@gmail.com> In bugzilla #6943, Maxim Britov reported: "I can enable Logitech quickcam support in .config, but it want be compile. I have to add into drivers/media/video/Makefile: obj-$(CONFIG_USB_QUICKCAM_MESSENGER) += usbvideo/" He's right, just enable that driver as module while disabling every other driver that gets into that directory, nothing will get compiled. This patch fixes the Makefile. Signed-off-by: Diego Calleja <diegocg@gmail.com> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-03merge: http://linuxtv.org/hg/~quincy/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-03Fix V4L1 Compat for VIDIOCGPICT ioctlMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-03From: Mauro Carvalho Chehab <mchehab@infradead.org>Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-03MT2060: turn on the VGAPatrick Boettcher
From: matthieu castet <castet.matthieu@free.fr> The VGA was not turned on after calling sleep. This lead to bad performance in difficult areas. Signed-off-by: matthieu castet <castet.matthieu@free.fr> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-03merge from mainPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> merge from main Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-03Another fix for attaching the DiB3000MCPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Another stupid fix for attaching the DiB3000MC. == 0 instead of != 0. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-03Fix tda826x detectionAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> The tda826x detection was (correctly) cleaned up earlier, but unfortunately changing the number of received i2c messages from 2 -> 1 was missed. This fixes it. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-02Add missing dvb-pll Kconfig infrastructure.+ CTL_SMC_PHY,Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Add missing dvb-pll Kconfig infrastructure. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-02merge: from mchehabMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-02Improved comment for AR device and fix some typosMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-02V4L2 Conversion: saa5246a, saa5249, vino, hexium_orion, hexium_geminiMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Just a few adjustments were required on those drivers to be V4L2 compliant. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-02DiB3000MC: set FE to NULL after being freedPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> DiB3000MC: set FE to NULL after being freed Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-02merge from mainPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> merge from main Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-02Attach the dib3000mc correctlyPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Flynn Marquardt found out that there is problem with the new dib3000mc-driver when using with the real dib3000mc. It resulted in a segfault. Fixed two things: use the correct I2C address and do not attach a tuner, when the demod was previously failing. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-02Fix a typo on the previous patchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-02Konicawc - handle errors from input_register_device()Mauro Carvalho Chehab
From: Dmitry Torokhov <dtor@insightbb.com> Compile-tested only (no hardware) Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-01Fix minor errors in build filesTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> In pwc Kconfig, change 'depends' to 'depends on' In dvb-core Makefile, change '=' to ':=' Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-01Turn on the Low Noise Amplifier of the Samsung tuners.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Without the LNA these tuners perform very poorly (read 'unwatchable') when the signal is weak. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-08-01Fix broken msp3400 module option 'standard'Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Due to a wrong statement order the 'standard' module option didn't work for 'G' model chips. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-08-01Add support for PAL-Nc in cx24850.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-08-01cx25840_read4 has wrong endianness.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> cx25840_read4 assembled the bytes in the wrong order. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-08-01Cleanups and fixes for dsbr100Mauro Carvalho Chehab
From: Alan Cox <alan@redhat.com> Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-31V4L2 conversion: dsbr100Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver conversion to V4L2 API. Not tested yet. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-31Fix V4L1 dependencies on compat_ioctl32Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Compat32 should be able to handle V4L1 ioctls if the old API support were selected. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-31Driver dsbr100 is a radio device, not a video one!Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-30Convert radio-cadet to V4L2 APIMauro Carvalho Chehab
From: Hans J. Koch <koch@hjk-az.de> This is a card with RDS capabilities. RDS specifications didn't change from V4L1 to V4L2, so that part should be OK. This patch changed the following stuff: * The device can be opened multiple times. That's necessary because there are at least a radio application and an RDS application (rdsd) that want to open() the device. * Added a poll() function. Every character device should have that, and rdsd expects it as it uses select() on that file descriptor. * Converted the ioctls to V4L2. MUTE is not implemented correctly as the card doesn't seem to have a special bit for that. Probably there are a few more ioctls that should at least return 0 or an error. As I do not own such a card, I couldn't test anything. If there is anybody out there who owns such an ancient card, please test and report. I just checked that the code compiles. Signed-off-by: Hans J. Koch <koch@hjk-az.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-30Add missing KConfig I2C dependenciesAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> This was breaking the build if i2c was not previously set Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30Use dprintk in tda826x.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> As opposed to printk() at the moment, which will fill logs uselessly Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30Fix budget-ci to use dvb_frontend_detach()Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> I missed one call during the dvb_attach() development. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-30Disable tda10086 debug by default.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Left on by accident. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>