summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
AgeCommit message (Collapse)Author
2008-08-11anysee: support for Anysee E30 Combo PlusAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - add module parameter for selecting DVB-T / DVB-C mode Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-08-11anysee: unlock I2C-mutex in error caseAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - unlock I2C-mutex also in error case Priority: high Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-10-11af9013/m5602: Fix compilation at in-kernelMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This patch fixes a few errors that were breaking in-kernel compilation. The first one were at m5602 that were including "gspca.h" from another directory. A trivial change at m5602/Makefile fixed the issue. A harder to fix error were caused by the fact that both af9013 and m5602 were declaring an external var called 'debug'. If you compile both modules in-kernel, you'll have troubles. This is even worse, since there are two other drivers outside the subsystem with a similar mistake. To make things worse, gcc do a very great job of fooling the developers, by blaming the wrong lines anf files when such error occurs. So, I was having errors like: drivers/media/dvb/built-in.o: In function `dvb_usercopy': /home/v4l/tokernel/git/drivers/media/dvb/dvb-core/dvbdev.c:403: multiple definition of `debug' drivers/media/video/built-in.o:/home/v4l/tokernel/git/drivers/media/video/bt819.c:264: first defined here or: drivers/media/dvb/built-in.o: In function `dvb_usercopy': /home/v4l/tokernel/git/drivers/media/dvb/dvb-core/dvbdev.c:403: multiple definition of `debug' drivers/media/video/built-in.o:/home/v4l/tokernel/git/drivers/media/video/vpx3220.c:125: first defined here The two above errors caused by m5602 driver. After fixing m5602, I got this: drivers/built-in.o: In function `SiS_SetGroup2': /home/v4l/tokernel/git/drivers/video/sis/init301.c:6996: multiple definition of `debug' arch/x86/kernel/built-in.o:/home/v4l/tokernel/git/arch/x86/kernel/entry_32.S:810: first defined here This one caused by af9013. This patch fixes those erros by prefixing the debug vars with the name of the module, without changing the name of the parameter. Next time, please prepend all extern vars with the name of the module. To avoid bisect troubles, I've folded those changes with the original commits that added those modules at my -git tree. kernel-sync: CC: Jean-Francois Moine <moinejf@free.fr> CC: Antti Palosaari <crope@iki.fi> CC: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-06dib0700: fix bad assignment of dib0700_xc5000_tuner_callback after return callMichael Krufky
From: Devin Heitmueller <devin.heitmueller@gmail.com> Put callback definition before function return and cleanup callback: Fix a bug where the xc5000 callback was being set *after* the return call (essentially resulting in dead code). Also cleanup the callback function to detect unknown commands. Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-10-04merge: http://linuxtv.org/hg/~tmerle/cinergyT2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04merge: http://hg.jannau.net/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04Whitespace cleanupsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-30correct Makefile symbol for stv0288 frontendJanne Grunau
From: Janne Grunau <janne-dvb@grunau.be> Priority: high Signed-off-by: Janne Grunau <janne-dvb@grunau.be>
2008-09-19cinergyT2: add remote key repeat featureThierry MERLE
From: Thierry MERLE <thierry.merle@free.fr> Implement key repeat feature for the cinergyT2 remote controller. Priority: normal Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-09-19Alternative version of Terratec Cinergy T2 driverThierry MERLE
From: Tomi Orava <tomimo@ncircle.nullnet.fi> Alternative version of the Terratec Cinergy T2 driver that uses the dvb framework. Priority: normal Signed-off-by: Tomi Orava <tomimo@ncircle.nullnet.fi> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-10-01merge: http://www.linuxtv.org/hg/~stoth/s2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-25S2API: Add DTV_API_VERSION commandSteven Toth
From: Steven Toth <stoth@linuxtv.org> This allows application developers to query the dvb-core API version dynamically, helping developers understand whether certain features will be available. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-25S2API: Implement result codes for individual commandsSteven Toth
From: Steven Toth <stoth@linuxtv.org> This allows application developers to determine which particular command in a sequence is invalid, or failing with error. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-25Kconfig dependency fix for DW2002 card with ST STV0288 demodulator.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Kconfig dependency fix for DW2002 card with ST STV0288 demodulator. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-25Kconfig correction for USB card modification with SI2109/2110 demodulator.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Kconfig correction for USB card modification with SI2109/2110 demodulator. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-24Fix deadlock in demux codeMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> The functions dvb_dmxdev_section_callback, dvb_dmxdev_ts_callback, dvb_dmx_swfilter_packet, dvb_dmx_swfilter_packets, dvb_dmx_swfilter and dvb_dmx_swfilter_204 may be called from both interrupt and process context. Therefore they need to be protected by spin_lock_irqsave() instead of spin_lock(). This fixes a deadlock discovered by lockdep. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-24merge: http://www.linuxtv.org/hg/~stoth/s2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-24merge: http://linuxtv.org/hg/~mkrufky/sms1xxxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-24merge: http://linuxtv.org/hg/~anttip/af9015Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-24merge: http://linuxtv.org/hg/~mkrufky/xc2028Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-23Add support for ST STV0288 demodulator and cards with it.Igor M. Liplianin
From: Georg Acher <acher@baycom.de> From: Igor M. Liplianin <liplianin@me.by> Add support for ST STV0288 demodulator and cards with it, such as TeVii S420. Signed-off by: Georg Acher <acher@baycom.de> Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-23S2API: Deactivate the ISDB-T definitionsSteven Toth
From: Steven Toth <stoth@linuxtv.org> We don't want to push the ISDB-T definitions into the kernel until we have a high level of confidence in the ISDB-T API. More testing is required before this code is released. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-22dvb/budget: push adapter_nr mod option down to individual driversJanne Grunau
From: Janne Grunau <janne-dvb@grunau.be> adapter_nr mod option does not make sense for budget-core since it is only common code shared by all budget drivers Priority: normal Signed-off-by: Janne Grunau <janne-dvb@grunau.be>
2008-09-18Add support for USB card modification with SI2109/2110 demodulator.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Add support for USB card modification with SI2109/2110 demodulator. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-17Add support for Silicon Laboratories SI2109/2110 demodulators.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Add support for Silicon Laboratories SI2109/2110 demodulator and cards with it, such as DvbWorld PCI2002. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-21S2API: cx24116 register description fixes.Steven Toth
From: Darron Broad <darron@kewl.org> From the author: Here is a simple patch detailing some reverse engineered register detail lost in my latest merge. The comments in the code refer to this register but it is never defined. This corrects this. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-09-16sms1xxx: Add new USB product ID for Hauppauge WinTV MiniStickMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> 2040:5510 is the same hardware as 2040:5500 Priority: high Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-09-16replace xc3028 firmware filenames with defined default firmware namesMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-09-14History update: MPEG initialization in cx24116.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Adjust MPEG initialization in cx24116 in order to accomodate different MPEG CLK position and polarity in different cards. For example, HVR4000 uses 0x02 value, but DvbWorld & TeVii USB cards uses 0x01. Without it MPEG stream was broken on that cards for symbol rates > 30000 kSyms/s. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-14S2API: cx24116 Rolloff changes, sysctls cleanup, isl power changes.Steven Toth
From: Darron Broad <darron@kewl.org> Remove the debugging sysctls. Rolloff was broken, not it works as expected and has been tested in kaffeine. Power related changes for the isl6421 are not implemented on the HVR4000/4000LITE. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-09-14Add support for DvbWorld 2004 DVB-S2 PCI adapterIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Add support for DvbWorld 2004 DVB-S2 PCI adapter. The card contains dm1105 PCI chip and cx24116 demodulator Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-13S2API: A number of cleanusp from the last 24 months.Steven Toth
From: Darron Broad <darron@kewl.org> I was given these changes by Darron Broad and Igor Liplianin and represent a series of patches they've been making to the cx24116 driver over the last two years. Changes for handling symbolrates >30Ksps Tone handling changes. Diseqc support. Sleep support, shutting down the clocks correctly. Cleanup on ROLL_OFF and PILOT support. *** ST - We need to cleanup the sysclt control, this is abnormal in a demod driver. We should work towards understanding the missing API's and ensure we have them in S2API. *** Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-09-13Add support for SDMC DM1105 PCI chipIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Add support for SDMC DM1105 PCI chip. There is a lot of cards based on it, like DvbWorld 2002 DVB-S , 2004 DVB-S2 Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-13S2API: Bugfix related to syncing the cache when used with the old API.Steven Toth
From: Steven Toth <stoth@linuxtv.org> Many thanks to Darron Broad for pointing out the obvious. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-13S2API: Changed bandwidth to be expressed in HZSteven Toth
From: Steven Toth <stoth@linuxtv.org> Also added some compat code for the older API. Added more ISDB message/command suggestions, current not connected in dvb-core. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-13S2API: Allow reliable use of old and new api on the same frontend, regardless.Steven Toth
From: Steven Toth <stoth@linuxtv.org> Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-12Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return errorIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-12S2API: Implement GET/SET handing to the demodsSteven Toth
From: Steven Toth <stoth@linuxtv.org> The frontends will be notified (if they chose) of all _get and _set commands so they can help determine result or action. Results are now returned to userspace correctly. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-12S2API: Remove the DTV_SET_ and DTV_GET_ prefixesSteven Toth
From: Steven Toth <stoth@linuxtv.org> The API now assumes that ioctl calls for FE_SET_PROPERTY and all set commands, and FE_GET_PROPERTY are get commands. Simplification. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: Ensure cache->delivery_system is set at all times.Steven Toth
From: Steven Toth <stoth@linuxtv.org> This helps complex demods which support different modulation types be better informed. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: ISDBT_SEGMENT_NUM -> ISDBT_SEGMENT_IDXSteven Toth
From: Steven Toth <stoth@linuxtv.org> Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: Cleanup code that prepares tuning structures.Steven Toth
From: Steven Toth <stoth@linuxtv.org> Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: Reduce demod driver complexity by using a cache syncSteven Toth
From: Steven Toth <stoth@linuxtv.org> For demod drivers, we want a single tuning function (set_frontend) to have access to the properly constructed dvb_frontend_parameters structure, or the cache values - regardless of whether the legacy or new API is being used. This cuts down on redundant code in the demod drivers and ensures the tuning parameters are consistent regardless of the API entry type. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11sms1xxx: fix product name for Hauppauge WinTV MiniStickMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Priority: high Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-09-11S2API: Cleanup SYMBOLRATE, INNERFEC -> SYMBOL_RATE, INNER_FECSteven Toth
From: Steven Toth <stoth@linuxtv.org> This is now consistent with the existing API. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: typedefs replaced, _SEQ_'s removed, fixed 16 command arrays replacedSteven Toth
From: Steven Toth <stoth@linuxtv.org> After discussion the following changes were made: 1. Removed the typedefs in frontend.h, use structures. 2. In the frontend.h, remove the 16 command limit on the API and switch to a flexible variable length API. For practical reasons a #define limits this to 64, this should be discussed. 3. Changed dvb-core ioctl handing to deal with variable sequences of commands. tune-v0.0.3.c is required to use this API, it contains the interface changes. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: tv_ / TV_ to dtv_ / DTV_ namespace changesSteven Toth
From: Steven Toth <stoth@linuxtv.org> The group preferred dtv_ over tv_, this implements it. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-09Adjust MPEG initialization in cx24116Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Adjust MPEG initialization in cx24116 in order to accomodate different MPEG CLK position and polarity in different cards. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-09cx24116: Fix lock for high (above 30000 kSyms) symbol ratesIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> cx24116: Fix lock for high (above 30000 kSyms) symbol rates Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-09Kconfig corrections for DVBWorld 2104 and TeVii S650 USB DVB-S2 cardsIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Change menu item in Kconfig for DVBWorld 2104 and TeVii S650 USB DVB-S2 cards Signed-off-by: Igor M. Liplianin <liplianin@me.by>