summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-input.c
AgeCommit message (Collapse)Author
2006-11-29saa7134: add support for remote control of Hauppauge HVR1110Michael Krufky
From: Thomas Genty <tomlohave@gmail.com> This patch adds support for the remote control bundled with the Hauppauge HVR1110 Signed-off-by: Thomas Genty <tomlohave@gmail.com> Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Michael Krufky <mkrufky@linuxtv.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-13saa7134: Fix missing 'break' for avermedia card caseMichael Krufky
From: Linus Torvalds <torvalds@osdl.org> Commit 450efcfd2e1d941e302a8c89322fbfcef237be98 broke Avermedia 777 support. Added obvious missing "break" statement. kernel-sync ... from git commit 4dd7406e9c7e7a5422425ef699780463490b8745 Cc: Jose Suarez <j.suarez.agapito@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-12Remote support for Avermedia A16ARMauro Carvalho Chehab
From: pasky@ucw.cz <pasky@ucw.cz> The remote as well as the GPIO interface is the same as what comes with 777. For an example of mplayer lirc configuration, see http://pasky.or.cz/~pasky/dev/v4l/lircrc Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-12Remote support for Avermedia 777Mauro Carvalho Chehab
From: pasky@ucw.cz <pasky@ucw.cz> I didn't test it personally since I don't have this card, but A16AR uses the same interface and that one certainly does work perfectly (see the next patch). This patch was originally sent in http://marc.theaimsgroup.com/?l=linux-video&m=114743413825375&w=2 https://www.redhat.com/mailman/private/video4linux-list/2006-May/msg00103.html but never got applied. This version has some trivial modifications and drops the weird gpio hack (it's not clear what practical purpose does it serve). Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net> Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-10-13Make Remote control of the Pinnacle PCTV 310i workHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The remote control works, but we still need a better keymap. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-10-07Add support for AverMedia AverTV Studio 507Hartmut Hackmann
From: Mikhail Fedotov <mo_fedotov.mail.ru> This is just an additional analog board configuration. Signed-off-by: Mikhail Fedotov <mo_fedotov.mail.ru> Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-09-26Support for SAA7134-based AVerTV Hybrid A16ARMauro Carvalho Chehab
From: Petr Baudis <pasky@ucw.cz> This adds support for a hybrid PAL/DVB/FM card. Unfortunately I tested only the DVB since I don't have any proper antenna available and I can receive even the DVB just barely so; I can hear noise in the FM part but I couldn't catch any station, then again I don't have an FM antenna either. The PAL/FM and IR control data are based on what I harvested on the 'net. Perhaps I or someone else will fix them if they turn out to be wrong. Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-13saa7134: add card support for Proteus Pro 2309Michael Krufky
From: Michal Majchrowicz <mmajchrowicz@gmail.com> add card support for Proteus Pro 2309, based on saa7130 bridge Signed-off-by: Michal Majchrowicz <mmajchrowicz@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-05-18merge: from masterrmcc@localhost.localdomain
From: Ricardo Cerqueira <v4l@cerqueira.org> merging master changes Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-04-11Since we are not using CVS, $Id makes no sense anymoreMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-26Subject: Pinnacle PCTV grey remote control supportRicardo Cerqueira
From: Sylvain Pasche <sylvain.pasche@gmail.com> This adds support for the older (?) Pinnacle PCTV remotes (with all buttons colored in grey). There's no autodetection for the type of remote, though; saa7134 defaults to the colored one, to use the grey remote the "pinnacle_remote=1" option must be passed to the saa7134 module Signed-off-by: Sylvain Pasche <sylvain.pasche@gmail.com> Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-02-17LifeView FlyDVB-T Duo: add support for remote controlMichael Krufky
From: Rudo Thomas <rudo@matfyz.cz> The remote controller on the LifeView FlyDVB-T Duo card work flawlessly with the same settings as the LifeView FlyDVB-T LR301 card. Signed-off-by: Rudo Thomas <rudo@matfyz.cz> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-03Added support for the LifeView FlyDVB-T LR301 cardHartmut Hackmann
From: Giampiero Giancipoli <gianci@libero.it> Additionally to the card support, this changeset adds the option tda10046lifeview to get_dvb_firmware to download tda10046 firmware from LifeView's site. Signed-off-by: Giampiero Giancipoli <gianci@libero.it> Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-01-18Remove duplicated Avermedia keymaps.Nickolay V. Shmyrev
From: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2006-01-18Remove duplicated keymaps and add keymap for KWorld LTV883IR.Nickolay V. Shmyrev
From: Nickolay V. Shmyrev <nshmyrev@yandex.ru> * linux/drivers/media/common/ir-keymaps.c: * linux/drivers/media/video/bttv-input.c: (bttv_input_init): * linux/drivers/media/video/cx88/cx88-input.c: (cx88_ir_init): * linux/drivers/media/video/saa7134/saa7134-input.c: (saa7134_input_init1): * linux/include/media/ir-common.h: - Remove duplicated keymaps and add keymap for KWorld LTV883IR. Thanks to Jon Ferguson <jon@sd-6.org>. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2006-01-17IR cleanups and consistency adjustmentsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Changed all IR codes to hex, all, keymaps were renamed to ir_codes_<model>, and cleaned a duplicate entry Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-17IR keymaps are exported by the ir-common module nowRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Moved keymaps to the ir-common module, and export them from there, instead of #including them in each module Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-17Move all IR keymaps to a single header fileRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> All the keymaps have the same structure, and can be shared between different chips, so it makes no sense having them scattered between the input files. This aggregates them all in a new header. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-09disable IR_KEYTAB_TYPE flydvb_codes to prevent compile warningMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-08SAA7134: GPIO IRQ improvementsRicardo Cerqueira
From: Peter Missel <peter.missel@onlinehome.de> saa7134-core.c saa7134_irq(): Separate GPIO16 and GPIO18 handling. Call IR-remote-GPIO handler only if the GPIO IRQ is "owned" by it. Added infrastructure to branch out to a future I2C-IR IRQ handler. saa7134-core.c saa7134_hwinit2(): Enable only the one GPIO pin and edge to trigger an IRQ that is wired as keyup/keydown mask. IRQ will only be generated for an actual key-down event. saa7134-input.c flyvideo_codes[]: Replace numpad keys with normal ones. Put meaning to mystery keys. Change some key definitions to have their functions match their labels better. Fix typos. saa7134-input.c flydvb_codes[]: Added new table for the larger remote that comes with the LifeView FlyDVB series. saa7134-input.c build_key(): In IRQ mode, signal key-down and then key-up straight in one go. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-12-22Add remote for Compro Videomate Gold+ Pal version.Nickolay V. Shmyrev
From: Nickolay V. Shmyrev <nshmyrev@yandex.ru> * linux/drivers/media/video/saa7134/saa7134-cards.c: (saa7134_board_init1): * linux/drivers/media/video/saa7134/saa7134-input.c: (saa7134_input_init1): Add remote. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-12-07kernel-sync patches.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
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>
2005-11-27Revert previous two patches.Michael Krufky
Dmitry's upstream patch is broken in v4l-dvb cvs... Reverting for now. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-11-27fix build against kernels < 2.6.15Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-11-27kernel-syncMichael Krufky
- Fix an OOPS when initializing IR remote on saa7134 Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-11-08- The pinnacle handler & remote are common to saa7134 PCI boardsRicardo Cerqueira
and em28xx USB boards, so the keymap was moved to ir-common and the keyhandler is back to ir-kbd-i2c - request_module("ir-kbd-i2c") is no longer necessary at saa7134-core since saa7134.ko now depends on ir-kbd-i2c.ko to get the keyhandler Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-05- Use less-generic name for saa7134 card #79Ricardo Cerqueira
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-05 - SAA713x cards with i2c remotes now autoload ir-kbd-i2cRicardo Cerqueira
(disable_ir works, as it does for GPIO remotes) Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-03 * ../linux/Documentation/video4linux/CARDLIST.saa7134:Nickolay V. Shmyrev
* ../linux/drivers/media/video/saa7134/saa7134-cards.c: * ../linux/drivers/media/video/saa7134/saa7134-dvb.c: (philips_tda827xa_pll_set), (philips_tda827xa_pll_sleep): * ../linux/drivers/media/video/saa7134/saa7134-input.c: (saa7134_input_init1): - Remote and more info for PCTV Cardbus. Whitespace cleanup. Signed-off-by: Pavel Mihaylov <bin@bash.info>
2005-10-18 - Cleanup some unnecessary ALSA memory (de/)allocationsMauro Carvalho Chehab
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-18 - SAA713x keymaps and key builders were moved from ir-kbd-i2c.cMauro Carvalho Chehab
to saa7134-input.c - saa7134-i2c's attach now detects I2C IR and calls saa7134 specific code. - Small bugfix at ir-kbd-i2c. - disable_ir now unregisters i2c device. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16- Whitespaces Cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-04 * saa7134-cards.c: (saa7134_board_init1):Nickolay V. Shmyrev
* saa7134-input.c: (saa7134_input_init1): - Remote for KWorld Terminator. Signed-off-by: James R. Webb <jrwebb@qwest.net>
2005-10-03 * saa7134-cards.c: (saa7134_board_init1):Michael Krufky
* saa7134-input.c: (saa7134_input_init1): - enable support for the IR Remote on Compro Videomate T200 From: Andy Smith <linux-dvb@andrewsmith.plus.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-30From: Arnaud Patard <apatard@mandriva.com>Mauro Carvalho Chehab
- Added IR for LifeView FlyTV Platinum Mini2. Signed-off-by: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-09-30DVB/V4L bt8xx tree-merge is currently broken.Michael Krufky
If you need this feature, please use an older video4linux cvs: cvs co -D 9/29/05 video4linux
2005-09-28 * saa7134-cards.c: (saa7134_board_init1):Nickolay V. Shmyrev
* saa7134-input.c: (saa7134_input_init1): Add remote for DVB-T300 Remote. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-09-10 * saa7134-input.c:Nickolay V. Shmyrev
- Refine input handling for Manli/Beholder. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-09-08strip trailing whitespaceMichael Krufky
2005-09-07Fixed typosNickolay V. Shmyrev
2005-09-07 * saa7134-cards.c: (saa7134_board_init1):Nickolay V. Shmyrev
* saa7134-input.c: (saa7134_input_init1): * saa7134.h: - Added new card GoTView PCI 7135 Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Mike Baikov <lists@baikov.com>
2005-09-05Added Behold TV 409 FMNickolay V. Shmyrev
2005-09-02 - Makes the input event device created by the V4L drivers for theMauro Carvalho Chehab
infrared remote matchable by udev rules. Signed-off-by: Rudo Thomas <rudo@matfyz.cz> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-15 - linux/version.h removed at linux-2.6.13-rc3-mm1.Mauro Carvalho Chehab
- Removed remaining trailing spaces. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-22 * saa7134-cards.c, saa7134-input.c:Nickolay V. Shmyrev
- recover the original PAL tuner on Compro VideoMate Gold+ Pal - add remote support for Compro VideoMate gold+ II, Pal saa7134 chip Signed-off-by: Hermann Pitton <hermann.pitton@onlinehome.de>
2005-06-21 * saa7134-cards.c, saa7134-input.c, saa7134.h:Michael Krufky
* tuner-simple.c, tuner.h: * CARDLIST.saa7134, CARDLIST.tuner: - Add new card entry: Kworld Xpert TV PVR7134 Add new tuner entry: Tena TNF9533-B/DF Thanks to Hannibal <hannibal@megapolis.pl> - Replace // with /* */ - Fix tab/spacing problems Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-06-07Add new cardsNickolay V. Shmyrev
Kworld/Tevion V-Stream Xpert TV-PVR 7134 ADS Instant TV PCI (PTV-350) saa713x Fix FlyTV FM mini Thanks to Fabrice Aeschbacher <fabrice.aeschbacher@laposte.net> and to hermann pitton <hermann.pitton@onlinehome.de>