linux/drivers/media/rc
A Sun 279c60fd89 media: mceusb: add IR learning support features (IR carrier frequency measurement and wide-band/short-range receiver)
Windows Media Center IR transceivers include two IR receivers;
wide-band/short-range and narrow-band/long-range. The short-range
(5cm distance) receiver is for IR learning and has IR carrier
frequency measuring ability.

Add mceusb driver support to select the short range IR receiver
and enable pass through of its IR carrier frequency measurements.

RC and LIRC already support these mceusb driver additions.

Test platform:

Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
mceusb 1-1.2:1.0: Registered Pinnacle Systems PCTV Remote USB with mce emulator interface version 1
mceusb 1-1.2:1.0: 2 tx ports (0x0 cabled) and 2 rx sensors (0x1 active)

Sony TV remote control

ir-ctl from v4l-utils

pi@raspberrypi:~ $ ir-ctl -V
IR raw version 1.12.3
pi@raspberrypi:~ $ ir-ctl -m -r
...
pulse 650
space 550
pulse 650
space 600
pulse 600
space 600
pulse 1200
space 600
pulse 650
space 550
pulse 650
space 600
pulse 600
space 600
pulse 550
carrier 40004
space 16777215
^C
pi@raspberrypi:~ $ exit

Signed-off-by: A Sun <as1033x@comcast.net>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-21 14:02:21 -04:00
..
img-ir media: img-ir-hw: fix one kernel-doc comment 2017-11-27 10:09:03 -05:00
keymaps media: rc: add new imon protocol decoder and encoder 2018-03-21 11:12:29 -04:00
ati_remote.c [media] media: rc: constify usb_device_id 2017-10-04 15:06:09 -03:00
ene_ir.c media: rc: Convert timers to use timer_setup() 2017-10-31 06:31:44 -04:00
ene_ir.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
fintek-cir.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
fintek-cir.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
gpio-ir-recv.c [media] media: rc: fix gpio-ir-receiver build failure 2017-10-05 10:16:21 -03:00
gpio-ir-tx.c media: rc: gpio-ir-tx: use ktime accessor functions 2017-08-31 05:35:54 -04:00
igorplugusb.c media: rc: Convert timers to use timer_setup() 2017-10-31 06:31:44 -04:00
iguanair.c media: rc: iguanair: simplify tx loop 2017-12-18 15:20:53 -05:00
imon_raw.c media: rc: new driver for early iMon device 2018-03-21 11:11:04 -04:00
imon.c media: imon: rename protocol from other to imon 2018-03-21 11:13:15 -04:00
ir-hix5hd2.c media: rc: ir-hix5hd2: fix error handling of clk_prepare_enable() 2018-02-14 13:35:05 -05:00
ir-imon-decoder.c media: rc: add new imon protocol decoder and encoder 2018-03-21 11:12:29 -04:00
ir-jvc-decoder.c media: rc: replace IR_dprintk() with dev_dbg in IR decoders 2018-02-14 14:14:32 -05:00
ir-mce_kbd-decoder.c media: rc: replace IR_dprintk() with dev_dbg in IR decoders 2018-02-14 14:14:32 -05:00
ir-nec-decoder.c media: rc: replace IR_dprintk() with dev_dbg in IR decoders 2018-02-14 14:14:32 -05:00
ir-rc5-decoder.c media: rc: replace IR_dprintk() with dev_dbg in IR decoders 2018-02-14 14:14:32 -05:00
ir-rc6-decoder.c media: rc: replace IR_dprintk() with dev_dbg in IR decoders 2018-02-14 14:14:32 -05:00
ir-rx51.c [media] ir-rx51: port to rc-core 2017-01-30 14:25:04 -02:00
ir-sanyo-decoder.c media: rc: replace IR_dprintk() with dev_dbg in IR decoders 2018-02-14 14:14:32 -05:00
ir-sharp-decoder.c media: rc: replace IR_dprintk() with dev_dbg in IR decoders 2018-02-14 14:14:32 -05:00
ir-sony-decoder.c media: rc: replace IR_dprintk() with dev_dbg in IR decoders 2018-02-14 14:14:32 -05:00
ir-spi.c media: rc: ir-spi: fix duty cycle 2018-02-14 13:36:00 -05:00
ir-xmp-decoder.c media: rc: replace IR_dprintk() with dev_dbg in IR decoders 2018-02-14 14:14:32 -05:00
ite-cir.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
ite-cir.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
Kconfig media: rc: add new imon protocol decoder and encoder 2018-03-21 11:12:29 -04:00
lirc_dev.c media: rc: no need to announce major number 2018-02-27 08:15:32 -05:00
Makefile media: rc: add new imon protocol decoder and encoder 2018-03-21 11:12:29 -04:00
mceusb.c media: mceusb: add IR learning support features (IR carrier frequency measurement and wide-band/short-range receiver) 2018-03-21 14:02:21 -04:00
meson-ir.c media: rc: meson-ir: lower timeout and make configurable 2018-03-21 13:59:38 -04:00
mtk-cir.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
nuvoton-cir.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
nuvoton-cir.h media: rc: nuvoton: remove rudimentary transmit functionality 2017-08-20 09:47:57 -04:00
pwm-ir-tx.c media: rc: pwm-ir-tx: add new driver 2017-08-20 09:46:18 -04:00
rc-core-priv.h media: rc: add new imon protocol decoder and encoder 2018-03-21 11:12:29 -04:00
rc-ir-raw.c media: rc: meson-ir: add timeout on idle 2018-03-21 13:54:51 -04:00
rc-loopback.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-main.c media: rc: add new imon protocol decoder and encoder 2018-03-21 11:12:29 -04:00
redrat3.c [media] media: rc: constify usb_device_id 2017-10-04 15:06:09 -03:00
serial_ir.c media: serial_ir: Convert timers to use timer_setup() 2017-10-27 17:38:54 +02:00
sir_ir.c media: rc: sir_ir: detect presence of port 2017-11-15 08:57:34 -05:00
st_rc.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
streamzap.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
sunxi-cir.c media: rc: update sunxi-ir driver to get base clock frequency from devicetree 2018-03-21 11:08:33 -04:00
tango-ir.c media: rc: Add driver for tango HW IR decoder 2017-10-11 12:41:08 -04:00
ttusbir.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
winbond-cir.c media: winbond-cir: Fix pnp_irq's error checking for wbcir_probe 2017-12-14 10:35:28 -05:00
zx-irdec.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00