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
ene_ir.h
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
ir-lirc-codec.c
ir-mce_kbd-decoder.c
ir-nec-decoder.c
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
ir-rc5-sz-decoder.c
ir-rc6-decoder.c
ir-sanyo-decoder.c
ir-sony-decoder.c [media] media: ir-sony-decoder: 15bit function decode fix 2012-03-08 11:16:21 -03:00
ite-cir.c
ite-cir.h
Kconfig [media] rc: Add support for GPIO based IR Receiver driver 2012-03-08 11:14:10 -03:00
lirc_dev.c
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
nuvoton-cir.h
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
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
winbond-cir.c