summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/av7110_ir.c
AgeCommit message (Collapse)Author
2008-07-08v4l-dvb: remove support for kernels < 2.6.16Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 4 removes the compatibility support for kernels < 2.6.16. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-08v4l-dvb: remove support for kernels < 2.6.0Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> First phase of the backwards compatibility cleanup: stop supporting kernels older than 2.6.0. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-04-08media/dvb/ttpci replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-11-02backport changeset 1977f032722c27ee3730284582fd3991ad9ac81bMauro Carvalho Chehab
kernel-sync: Author: Jiri Slaby <jirislaby@gmail.com> Date: Thu Oct 18 23:40:25 2007 -0700 remove asm/bitops.h includes remove asm/bitops.h includes including asm/bitops directly may cause compile errors. don't include it and include linux/bitops instead. next patch will deny including asm header directly. From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-25[PATCH 24/30] dvb: remove some unneeded vmalloc() return value casts from av7110Oliver Endriss
From: Jesper Juhl <jesper.juhl@gmail.com> vmalloc() returns void * - no need to cast it. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-08-21Cleanup: remove linux/moduleparam.h from drivers/media filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Since at least kernel 2.6.12-rc2, module.h includes moduleparm.h. This patch removes all occurences of moduleparm.h from drivers/media files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-23Input: drivers/media - switch to using input_dev->dev.parentMichael Krufky
From: Dmitry Torokhov <dtor at mail.ru> In preparation for struct class_device -> struct device input core conversion switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor at mail.ru> Acked-by: Thierry Merle <thierry.merle@free.fr> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-13dvb-ttpci: Infrared remote initialization fixOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix bug introduced during infrared refactoring. Thanks to Johann Friedrichs for spotting this. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Thanks-to: Johann Friedrichs <johann.friedrichs@web.de>
2007-02-25dvb-ttpci: Support for MSC_RAW and MSC_SCAN remote control eventsOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Support for MSC_RAW and MSC_SCAN remote control events. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-02-25dvb-ttpci: Infrared remote control refactoringOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Infrared remote control support rewritten. Now each device provides its own event device, keymap, protocol, inversion and address setting. EVIOCGKEYCODE and EVIOCSKEYCODE ioctls are supported to read/modify a keymap. Keymaps may be loaded using - input tools (keyb etc.) - av7110_loadkeys (obsolete, for backward compatibility) New command line parameters: - ir_protocol: select infrared protocol: 0 RC5, 1 RCMM (default) - ir_inversion: signal inversion: 0 not inverted (default), 1 inverted - ir_device_mask: bitmask of infrared devices (default: accept all) Those parameters may be set anytime. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-02-06DVB: Use ARRAY_SIZE macro when appropriateMauro Carvalho Chehab
From: Ahmed S. Darwish <darwish.07@gmail.com> Use ARRAY_SIZE macro already defined in kernel.h Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-01-25dvb-ttpci: Set phys, bustype, version, vendor and product for input deviceOliver Endriss
From: Matthias Schwarzott <zzam@gentoo.org> Add phys-string, bustype, version, vendor and product to help udev and others using EVIOCPHYS ioctl to identify the input device node. Code taken (with little changes) from budget-ci.c Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
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-02-19dvb: fix __init/__exit section references in av7110 driverJohannes Stezenbach
From: Johannes Stezenbach <js@linuxtv.org> use __devinit/__devexit/__devexit_p() where appropriate Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2006-01-22drivers/media/dvb/: possible cleanupsMichael Krufky
From: Adrian Bunk <bunk@stusta.de> - make needlessly global code static - #if 0 the following unused global functions: - b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq() - b2c2/flexcop-dma.c: flexcop_dma_config_packet_count() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
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-10-08Adds a time-delay to IR remote button presses for av7110_ir input,Oliver Endriss
such that it acts more like a keyboard. A short press will be treated as a single button press. Holding down a button on the remote will respond like holding down a key on the keyboard, and result in a key-repeat. This just introduces a delay between the 1st press, and going into key-repeat so that it is possible to get a single 'up'. Signed-off-by: Noone Important <nxhxzi702 at sneakemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-08-11improved remote control support for av7110-based cards:Oliver Endriss
- extended rc5 protocol, firmware >= 0x2620 required - key-up timer slightly adjusted - completely moved remote control code to av7110_ir.c - support for multiple ir receivers - for now, all av7110 cards share the same ir configuration and event device
2005-04-27fixed debugging instructions: av7110_debug -> debugOliver Endriss
2005-03-19 - Patch by Olaf Titz: gcc 2.95 compile fixesKenneth Aafloy
2005-03-09 - FIX: don't do av7110_ir_exit if init was not doneKenneth Aafloy
2004-09-20- remove stupid DEB_* debugging macro horror from av7110 and budget drivers, ↵Michael Hunold
replace them with dprintk(level, msg) instead - remove whitespace and linefeed violations all over the place
2004-07-31merge back various cleanups from mainline kernel:Johannes Stezenbach
- sparse annotiations (viro) - NULL noise removal (viro) - #if where #ifdef should've been (saa7146) (viro) - convert private ABS() to kernel's abs() (rddunlap) - dvb_register_i2c_device() locking fix for -ENOMEM (akpm) - dvb_register_i2c_bus() locking fix for -ENOMEM (akpm)
2004-07-30 - More MODULE_PARM -> module_param changes, all should be corrected now.Kenneth Aafloy
- Remove unused av7110 DEBUG_VARIABLE.
2004-07-29 - MODULE_PARM -> module_param* for dvb-ttpci and budget-core,Kenneth Aafloy
debug parameters is writeable in sysfs (w/2.6.7+) and the rest is read-only.
2004-05-26kill keyup_timer in av7110_ir_exit()Johannes Stezenbach
2004-05-03- remove 2.4 compat code, expect for ttusb_dec.cMichael Hunold
(Alex, do you take care of that one?)
2004-01-06minor whitepsace / coding style cleanupJohannes Stezenbach
2004-01-05Split av7110.c into a few separate modules:Johannes Stezenbach
- av7110.c: initialization and demux stuff - av7110_hw.c: lowlevel hardware access and firmware interface - av7110_ca.c: CI and ECD - av7110_av.c: audio/video MPEG decoder and remuxing stuff - av7110_v4l.c: v4l interface It's all still ugly and needs lots of namespace and coding-style cleanups. It's probably broken, too. But it's a start. (My main motivation is easier porting to the V4 API).
2003-06-18When I submitted the last patchset for the 2.5 kernel series,Michael Hunold
Alan Cox reformatted the code to follow his coding style when he fixed the merge bugs. This patch now introduces these coding style changes, so that we don't wipe out his changes with the next patchset.
2003-05-21KEY_MHP -> KEY_BACKHolger Waechtler
2003-05-02Replace simple memcpy() from user buffer by copy_from_user() construction.Michael Hunold
2003-04-01improved autorepeat: Create autorepeat events using the key repeats ofOliver Endriss
the remote control. (The autorepeat feature of the input driver cannot be used, since it requires *reliable* key-up events.)
2003-03-31reduce key-up timer to HZ/7, a better solution will follow laterOliver Endriss
2003-03-31RC5: check toggle bitOliver Endriss
2003-03-30check device address of remote control transmitter (optional)Oliver Endriss
enable autorepeat in the input driver
2003-03-28don't interpret the down bit anymoreHolger Waechtler
2002-12-30Next chunk of big splitup / cleanup:Michael Hunold
(tested on 2.4.18 and 2.5.53 -- the budget driver is untested, Holger will test it the next week) saa7146: - completely separated the saa7146 driver into a core-driver (saa7146.o) and a video/vbi part (saa7146_vv.o). this allows you to build the budget driver without av7110 and videodev bloat (see below) The following thinks have been approved by Holger Waechtler: av7110 (now ttpci): - for 2.5.x: removed the av7110 directory and put everything into ttpci. - removed all budget card support from this driver - compile and build fixes for the saa7146 changes ttpci-budget (new): - for 2.5.x: created a new ttpci-budget directory, added a new driver for the budget cards mxb: - compile and build fixes for the saa7146 changes Changed the build and compile files for both 2.5.x and build-2.4 of course...