summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci
AgeCommit message (Collapse)Author
2006-11-22Fix TD1316 tuner for DVBCAndrew de Quincey
From: Thomas Kaiser <linux-dvb@kaiser-linux.li> If your device is using the philips tda1316 tuner, i think there is a problem in setting the correct Band. 162 MHz and above should be band 2 (Mid-Band). But in dvbc_philips_tdm1316l_tuner_set_params band 1 is set for frequencies below 200 MHz. Signed-off-by: Thomas Kaiser <linux-dvb@kaiser-linux.li> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 8/8] budget-ci IR: make debounce logic conditionalAndrew de Quincey
Change the debounce logic so that it is not used at all unless the debounce parameter has been set. This makes for a much "snappier" remote for most users as there is no timeout to wait for (the debounce logic has a 350ms timer for the next repeat, but with the RC5 protocol, one event per ~110ms is possible) Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 7/8] budget-ci IR: add IR debugging informationAndrew de Quincey
This adds a ir_debug parameter which is useful in tracking down IR decoding problems. Based on Darren Salt's dvb-ir patchset. Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 6/8] budget-ci IR: decode rc5 device byteAndrew de Quincey
Decode the RC5 device byte as well as the command byte. Introduce a parameter to set the device events to listen for. Default to try to auto-detect the proper device code, otherwise, listen to any device as the old code did. Based on Darren Salt's dvb-ir patchset. Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 5/8] budget-ci IR: integrate with ir-commonAndrew de Quincey
This converts the budget-ci driver so that it uses ir-common for some of its IR processing. In particular, the keymap for the Nova-T (sub 13c2:1011) is switched to the Hauppauge grey/black keymap, of which the keys on the supplied R808 remote control form a subset. The old budget-ci keymap is moved to ir-keymaps.c and is used for other remotes. The debounce logic for buggy remotes (i.e. Zenith) is made conditional the new debounce parameter and defaults to off (so that repeat keypresses aren't ignored for all working remotes). Some parts are based on Darren Salt's dvb-ir patchset. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 4/8] budget-ci IR: be more verbose in case of init failureAndrew de Quincey
Trivial change to help the user understand what went wrong. Taken from Darren Salt's dvb-ir patchset. Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 3/8] budget-ci IR: improve error checking in init and deinit functionsAndrew de Quincey
Improve the error checking in the IR init and deinit functions. Based on Darren Salt's dvb-ir patchset. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 2/8] budget-ci IR: support EVIOCGPHYSAndrew de Quincey
This patch adds a 'phys' string, of the same form as used by various other DVB cards' IR drivers, for access by any program which uses the EVIOCPHYS ioctl or may read /sys/class/input/*/phys (e.g. udev) to identify input device nodes. Taken from Darren Salt's dvb-ir patchset. Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 1/8] budget-ci IR: groundwork for following patchesAndrew de Quincey
This patch lays down some groundwork for later budget-ci patches. The bulk of this consists of moving a few members into a new struct and renaming a few of them. It also allocates extra space for the device name (the "name" field in /proc/bus/input/devices and in the relevant sysfs dir) to avoid truncation and uses snprintf rather than sprintf in case the extra space shouldn't be enough. Taken from Darren Salt's dvb-ir patchset Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22Correct budget.c permissionsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> budget.c permissions seem to have accidentally been changed to executable - this removes that Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-20whitespace cleanupMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - adhere to 80-column limit - replace some spaces with tabs Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-20merge: 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-11-20Handle errors from input_register_device()Mauro Carvalho Chehab
From: Dmitry Torokhov <dtor@insightbb.com> Also sprinkled some input_sync() throughout the code. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Ricardo Cerqueira <v4l@cerqueira.org> Acked-by: Oliver Endriss <o.endriss@gmx.de> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-19Support KNC1 DVBC cards with alternative tda10021 i2c addressAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> For some reason, some of these cards have the tda10021 configured to a different address. This adds support for such cards Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-19budget: diseqc_method module parameter for cards with subsystem-id 13c2:1003Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> New module parameter diseqc_method for cards with subsystem-id 13c2:1003. - 0: unreliable method, can be used by all board revisions (default) - 1: reliable method, works for newer board layouts only The parameter has no effect for cards with other subsystem-ids. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-11-17Patch for SATELCO EasyWatch PCI (DVB-C)Andrew de Quincey
From: Thomas Hamm <thhamm@t-online.de> Add support for Satelco EasyWatch PCI DVBC cards Signed-off-by: Thomas Hamm <thhamm@t-online.de> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-16Fix tuning on older budget DVBS cards.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Fixes to DISEQC on these cards inadvertently broke normal tone/voltage signalling. This restores the necessary function. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-10-31budget-ci: Inversion setting fixed for Technotrend 1500 TOliver Endriss
From: Raymond Mantchala <raymond.mantchala@streamvision.fr> Technotrend 1500 T card have "inverted inversion". This patch fixes that. Many thanks to Martin Zwickel from Technotrend for his confirmation and correction proposal. Signed-off-by: Raymond Mantchala <raymond.mantchala@streamvision.fr> Signed-off-by: Perceval Anichini <perceval.anichini@streamvision.fr> Thanks-to: Martin Zwickel <martin.zwickel@technotrend.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-10-28budget-ci: Change DEBIADDR_IR to a safer defaultOliver Endriss
From: David Härdeman <david@hardeman.nu> The IR chip has no address decoding, so the IR data is always present in the high byte when doing a read from the saa7146 chip. This means that the DEBI address used is irrelevant to the IR decoding logic. DEBI addresses 0x1XXX are mapped to the registers on the CI module itself, but only the lowest two bits are actually used (see EN50221, section A.2.2.1), meaning that 0x1234 is equivalent to 0x1000 which maps to register 0 (the data register). A read from the data register is supposed to be preceded by a read from the size register, so some CI modules will be confused (the AlphaCrypt CAM will hang completely). The attached patch changes the address used when reading the IR data to use 0x4000 instead. This is the CI version address, which is a safer default, works with the AlphaCrypt CAM and matches the behaviour of the Windows driver (AFAIK). Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-09-14av7110: remove V4L2_CAP_VBI_CAPTURE flagOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Implement fix suggested by Michael Hunold for a bug reported by Philipp Matthias Hahn: Starting "kdetv" on a Siemens DVB-C 1.x produced an oops because kdetv opened "/dev/vbi0". Remove the V4L2_CAP_VBI_CAPTURE flag because it does not work with this type of hardware anyway. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-09-14av7110: FW_LOADER depemdency fixedOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Do not select FW_LOADER unless it is really required. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-09-05Port budget-av to use the new tua6100 driverAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Port budget-av to use the new tua6100 driver Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-30Last patch wrongly applied. Reverting it...Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-30Fix encoder normMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Encoder API is still V4L1. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-12add support for knc one dvb-s plus with 1894:0011Andrew de Quincey
From: Christoph Pfister <christophpfister@gmail.com> Apparently there are two types of knc1 dvb-s plus cards with different tuners (as for the knc1 dvb-s ones). This patch adds support for those cards with subsystem id 1894:0011. Signed-off-by: Christoph Pfister <christophpfister@gmail.com> Successfully tested by: Benjamin Weber <benny1990@gmail.com> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-12Fix KNC1 DVBC supportAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> This actually needs the same configuration as the other DVBC cards; simply no one had managed to test before to find out. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-07remove null chars from dvb namesMauro Carvalho Chehab
From: Dave Jones <davej@redhat.com> DVB null terminates its device names, which seems odd, and should be unnecessary. Signed-off-by: Dave Jones <davej@redhat.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.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-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-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-30Add tda10086 support for TT DVB-S-1401Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Add the necessary code and makefile infrastructure Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-29merge: http://linuxtv.org/hg/~quincy/v4l-dvb-attachMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29Ttpci/: remove unneeded #include <linux/byteorder/swabb.h>'sMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Since av7110.c is the only file actually using something from this header, there's no reson for other files to Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-28Refactor dvb_detach calls into a single dvb_frontend_detach function.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Remove buggy dvb_detach() macro and replace with unified dvb_frontend_detach() call. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Add Kconfig infrastructure for dvb_attachAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Allow it to be en/disabled Disable it in < 2.6.17 due to symbol_xxx() bug Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Convert DVB devices to use dvb_attach()Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Only devices using > 1 frontend were ported; ones which did not are left using static binding. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Remove remaining static function callsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Rewrote _write() calls to use write() op. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Convert SEC drivers to new frontend APIAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert SEC drivers to new frontend API Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-19[PATCH] devfs: Remove the devfs_fs_kernel.h file from the treeMauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> Also fixes up all files that #include it. kernel-sync: backport from kernel to v4l/dvb tree Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19Remove obsolete #include <linux/config.h>Mauro Carvalho Chehab
From: Jörn Engel <joern@wohnheim.fh-wedel.de> kernel-sync: Kernel adds "-include include/linux/autoconf.h" for every file to be compiled, so, including config.h is not required. Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-19[budget/budget-av/budget-ci/budget-patch drivers] fixed DMA start/stop codeOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix bug reported by Andrew de Quincey: After cold boot the saa7146 DMA did not start if the demuxer was opened before the frontend has locked to the signal. DMA transfers will be started now if (and only if) the frontend is locked and data should be sent to the demuxer. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-07-10Fix typo in comment for TDA9819Andrew de Quincey
From: Marco Schluessler <marco@lordzodiac.de> Fix typo in comment for TDA9819 Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-07-10Fix unstable DISEQC behaviour on budget cards.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Use the stv0299 native DISEQC implementation instead of the bitbanging one as required by the ves1893. This was originally found by Oliver Endriss. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-06-29Fix CI interface on PRO KNC1 cardsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> The original driver had a restriction that if a card as an saa7113 chip, then it cannot have a CI interface. This is not the case. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-06-29Fix CI on old KNC1 DVBC cardsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> These cards do not need the tda10021 configuration change when data is streamed through a CAM module. This disables it for these ones. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-06-25av7110: analog sound output of DVB-C rev 2.3Oliver Endriss
From: Tim Kaiser <timkaiser@t-online.de> Added support for the msp34x5 audio dac. Analog sound output of Technotrend DVB-C 2300 (aka Hauppauge Nexus-CA) works now. Signed-off-by: Tim Kaiser <timkaiser@t-online.de> Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-06-17Fix problems with AV7110 firmware buildingMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> Fix missing $() on variable name in dvb/ttpci/Makefile, prevented AV7110 firmware from building. Remove unnecessary and problematic defines in cflags from v4l/Makefile, they conflict with the kernel's autoconf.h and are are overridden by v4l/config-compat.h anyway. Fix AV7110 firmware dependencies so that parallel builds work correctly. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-06Reverted a patch by commited without ackMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> As per Manu's request, patch "TT 1400 DVB-S Budget with different PCI subsystem ID" were reverted due lack of Endcriss ack. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-06TT 1400 DVB-S Budget with different PCI subsystem IDMichael Krufky
From: Helmut Auer <vdr@helmutauer.de> This patch adds support for a TT 1400 DVB-S Budget with PCI subsystem ID 0133:1000 Signed-off-by: Helmut Auer <vdr@helmutauer.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-06-06Support for new version of Satelco EasyWatch DVB-S lightMichael Krufky
From: Lothar Englisch <Lothar.Englisch@lycos.de> This patch adds support for Satelco EasyWatch DVB-S light card, a clone of the KNC 1, with PCI subsystem ID 1894:001e Signed-off-by: Lothar Englisch <Lothar.Englisch@lycos.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>