This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: ir-ctl: make nec32 scancode encoding match kernel Author: Sean Young <s...@mess.org> Date: Tue Jul 17 22:33:04 2018 +0100 For the nec32 encoding, the kernel swaps in the "inverted" and normal address and command. This might not be the most logical scheme, but let's make it consistent. Signed-off-by: Sean Young <s...@mess.org> utils/common/ir-encode.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=4e160e6dfc8705fbc6867c880f445e69fcedcada diff --git a/utils/common/ir-encode.c b/utils/common/ir-encode.c index c7e319eb7ac6..ccc7503251ee 100644 --- a/utils/common/ir-encode.c +++ b/utils/common/ir-encode.c @@ -64,15 +64,10 @@ static int nec_encode(enum rc_proto proto, unsigned scancode, unsigned *buf) add_byte(~scancode); break; case RC_PROTO_NEC32: - /* - * At the time of writing kernel software nec decoder - * reverses the bit order so it will not match. Hardware - * decoders do not have this issue. - */ - add_byte(scancode >> 24); add_byte(scancode >> 16); - add_byte(scancode >> 8); + add_byte(scancode >> 24); add_byte(scancode); + add_byte(scancode >> 8); break; } _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits