linux/drivers/media/rc
Sean Young 6eae57e9d5 [media] rc: unify nec32 protocol scancode format
There are two different encodings used for nec32:
 - The ir-nec-decoder.c decoder treats it as 32 bit msb first.
 - The img-ir decoder/encoder, winbond wakeup, dib0700, ir-ctl userspace,
   treat nec32 analogous to necx and nec: 4 bytes, each lsb first. So this
   format reverses the 4 bytes.

There are arguments to be had for both formats, but we should not use
different formats in different parts of the kernel. Selecting the second
format introduces the least code churn. It does mean that the TiVo keymap
needs updating.

This change was submitted before as "18bc174 [media] media: rc: change
32bit NEC scancode format", which was reverted because it was unclear
what scancode rc drivers produce. There are now more examples of drivers
which produce nec32 in lsb format.

The TiVo keymap is verified against the Nero Liquid TiVo remote. The
keymap is not for the Tivo DVR remote, which uses rc-5.

Signed-off-by: Sean Young <sean@mess.org>
Cc: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-01-30 12:17:19 -02:00
..
img-ir [media] rc: change wakeup_protocols to list all protocol variants 2017-01-30 12:15:12 -02:00
keymaps [media] rc: unify nec32 protocol scancode format 2017-01-30 12:17:19 -02:00
ati_remote.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ene_ir.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02: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] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02: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] rc: gpio-ir-recv: add timeout on idle 2015-11-19 07:46:33 -02:00
igorplugusb.c [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
iguanair.c [media] rc: allow software timeout to be set 2017-01-30 12:08:40 -02:00
imon.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ir-hix5hd2.c [media] ir-hix5hd2: make hisilicon,power-syscon property deprecated 2016-11-22 16:20:31 -02:00
ir-jvc-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-lirc-codec.c [media] lirc: LIRC_{G,S}ET_SEND_MODE fail if device cannot transmit 2017-01-30 11:53:02 -02:00
ir-mce_kbd-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-nec-decoder.c [media] rc: unify nec32 protocol scancode format 2017-01-30 12:17:19 -02:00
ir-rc5-decoder.c [media] rc5x: document that this is the 20 bit variant 2017-01-30 12:10:45 -02:00
ir-rc6-decoder.c [media] rc: rc6 decoder should report protocol correctly 2016-09-22 11:42:29 -03:00
ir-rx51.c ktime: Get rid of the union 2016-12-25 17:21:22 +01:00
ir-sanyo-decoder.c [media] sanyo decoder: address was being truncated 2016-11-22 10:34:55 -02:00
ir-sharp-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-sony-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-xmp-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ite-cir.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02: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] lirc_serial: move out of staging and rename to serial_ir 2016-11-22 06:11:46 -02:00
lirc_dev.c [media] lirc_dev: LIRC_{G,S}ET_REC_MODE do not work 2017-01-30 11:52:28 -02:00
Makefile [media] lirc_serial: move out of staging and rename to serial_ir 2016-11-22 06:11:46 -02:00
mceusb.c [media] mceusb: LIRC_SET_SEND_CARRIER returns 0 on success 2017-01-30 11:50:59 -02:00
meson-ir.c [media] rc: meson-ir: Fix module autoload 2016-11-16 13:20:11 -02:00
nuvoton-cir.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
nuvoton-cir.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
rc-core-priv.h [media] rc: refactor raw handler kthread 2017-01-30 11:46:55 -02:00
rc-ir-raw.c [media] rc: change wakeup_protocols to list all protocol variants 2017-01-30 12:15:12 -02:00
rc-loopback.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
rc-main.c [media] rc: Add scancode validation 2017-01-30 12:15:52 -02:00
redrat3.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
serial_ir.c [media] serial_ir: generate timeout 2017-01-30 12:04:56 -02:00
st_rc.c [media] media: st-rc: remove misuse of IRQF_NO_SUSPEND flag 2015-11-19 06:46:05 -02:00
streamzap.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
sunxi-cir.c [media] rc: sunxi-cir: support module autoloading 2016-03-03 12:42:34 -03:00
ttusbir.c [media] rc: allow software timeout to be set 2017-01-30 12:08:40 -02:00
winbond-cir.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00