linux/drivers/media/rc
Anssi Hannula 9d454d48eb [media] ati_remote: add support for Medion X10 Digitainer remote
Add support for another Medion X10 remote. This was apparently
originally used with the Medion Digitainer box, but is now sold
separately without any Digitainer labeling.

A peculiarity of this remote is a scrollwheel in place of up/down
buttons. Each direction is mapped to 8 different scancodes, each
corresponding to 1..8 notches, allowing multiple notches to the same
direction to be transmitted in a single scancode. The driver transforms
the multi-notch scancodes to multiple events of the single-notch
scancode.
(0x70..0x77 = 1..8 notches down, 0x78..0x7f = 1..8 notches up)

Since the scrollwheel scancodes are the same that are used for mouse on
some other X10 (ati_remote) remotes, the driver will now check whether
the active keymap has a keycode defined for the single-notch scancode
when a mouse/scrollwheel scancode (0x70..0x7f) is received. If set,
scrollwheel is assumed, otherwise mouse is assumed.

This remote ships with a different receiver than the already supported
Medion X10 remote, but they share the same USB ID. The only difference
in the USB descriptors is that the Digitainer receiver has the Remote
Wakeup bit set in bmAttributes of the Configuration Descriptor.
Therefore that is used to select the default keymap.

Thanks to Stephan Raue from OpenELEC (www.openelec.tv) for providing me
both a Medion X10 Digitainer remote+receiver and an already supported
Medion X10 remote+receiver. Thanks to Martin Beyss for providing some
useful information about the remote (including the "Digitainer" name).
This patch has been tested by both of them and myself.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Tested-by: Stephan Raue <stephan@openelec.tv>
Tested-by: Martin Beyss <Martin.Beyss@rwth-aachen.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-04-11 02:05:46 -03:00
..
keymaps [media] ati_remote: add support for Medion X10 Digitainer remote 2012-04-11 02:05:46 -03:00
ati_remote.c [media] ati_remote: add support for Medion X10 Digitainer remote 2012-04-11 02:05:46 -03:00
ene_ir.c treewide: Fix comment and string typo 'bufer' 2011-12-06 09:53:40 +01:00
ene_ir.h treewide: Fix comment and string typo 'bufer' 2011-12-06 09:53:40 +01:00
fintek-cir.c [media] fintek-cir: add support for newer chip version 2012-02-14 16:53:53 -02:00
fintek-cir.h [media] fintek-cir: add support for newer chip version 2012-02-14 16:53:53 -02:00
gpio-ir-recv.c [media] gpio-ir-recv: a couple signedness bugs 2012-03-19 15:45:01 -03:00
imon.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-02-24 12:32:51 -08:00
ir-jvc-decoder.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
ir-lirc-codec.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
ir-mce_kbd-decoder.c [media] ir-mce_kbd-decoder: include module.h for its facilities 2011-07-29 12:54:38 -03:00
ir-nec-decoder.c Merge tag 'v3.2-rc2' into staging/for_v3.3 2011-11-23 19:42:09 -02:00
ir-raw.c [media] [3.3.0] ir-raw: remove BUG_ON in ir_raw_event_thread 2012-04-10 15:41:21 -03:00
ir-rc5-decoder.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
ir-rc5-sz-decoder.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
ir-rc6-decoder.c [media] ir-rc6-decoder: Support RC6-6A variable length data 2011-11-23 22:23:15 -02:00
ir-sanyo-decoder.c [media] ir-sanyo-decoder.c doesn't compile 2011-11-24 12:13:09 -02:00
ir-sony-decoder.c [media] media: ir-sony-decoder: 15bit function decode fix 2012-03-08 11:16:21 -03:00
ite-cir.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-07-30 00:08:53 -07:00
ite-cir.h [media] ite-cir: 8709 needs to use pnp resource 2 2011-07-01 16:31:38 -03:00
Kconfig [media] rc: Add support for GPIO based IR Receiver driver 2012-03-08 11:14:10 -03:00
lirc_dev.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
Makefile [media] rc: Add support for GPIO based IR Receiver driver 2012-03-08 11:14:10 -03:00
mceusb.c [media] mceusb: add Formosa device ID 0xe042 2012-03-19 19:04:08 -03:00
nuvoton-cir.c [media] nuvoton-cir: simplify raw IR sample handling 2011-09-11 09:33:40 -03:00
nuvoton-cir.h [media] nuvoton-cir: simplify raw IR sample handling 2011-09-11 09:33:40 -03:00
rc-core-priv.h [media] rc/ir-raw: use kfifo_rec_ptr_1 instead of kfifo 2012-03-08 10:39:53 -03:00
rc-loopback.c [media] rc-core: lirc use unsigned int 2011-07-27 17:52:59 -03:00
rc-main.c [media] rc: Pospone ir raw decoders loading until really needed 2012-03-19 22:11:04 -03:00
redrat3.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-01-15 12:49:56 -08:00
streamzap.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
winbond-cir.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30