@hiassoft:
"
It was added about 6 years ago, in early kernel 3.x days, probably meant to fix an issue with Nvidia ION, but rejected upstream - see discussion here
https://mailman.alsa-project.org/pipermail/alsa-devel/2013-February/059570.html
I think we should drop it as it could cause issues. If there's some issue remaining it needs to be handled properly without downstream patches
"
Sean Young figured out that the Xbox Remote sends 24 bits, the first 12 bits are repeated
and inverted so only 12 bits are used. Turns out this is a modified nec protocol.
For increased accuracy and compliance with the upstream, replace the historic 8 bit report
values with the proper 12 bit values.
Signed-off-by: Benjamin Valentin <benpicco@googlemail.com>
Signed-off-by: Sean Young <sean@mess.org>
The hack of just reverting an upstream commit has been in
OE/LE far too long. Time has come for a proper fix that can
go upstream.
If some non-MCE RC6 remotes use toggle bits then that has to be
done on a per-remote basis as blindly enabling toggle bit handling
on all 32-bit RC6 codes can break decoding if the remote doesn't
use a toggle bit.
This patch adds toggle bit support for the Kathrein RCU-676 remote.
See bugreport here: https://forum.libreelec.tv/thread/13086-get-kathrein-rcu-676-remote-to-work-with-le9/
Signed-off-by: Matthias Reichl <hias@horus.com>
Straight pick of commit 70c30b1ea706affcb117e3cd3065690abca5ba69
This fix is scheduled for stable but hasn't been added to 4.17 stable
tree yet. Once it hits 4.17 this patch can be dropped.
Signed-off-by: Matthias Reichl <hias@horus.com>
Backport of proposed patch https://patchwork.linuxtv.org/patch/49409/
Setting the IR timeout on the Topseed mceusb receiver 1784:0011
causes strange behaviour. Disable use of MCE_CMD_SETIRTIMEOUT
on that device and use a software implementation instead.
Signed-off-by: Matthias Reichl <hias@horus.com>
See https://www.spinics.net/lists/linux-media/msg131804.htmlhttps://patchwork.linuxtv.org/patch/48681/https://patchwork.linuxtv.org/patch/48680/https://patchwork.linuxtv.org/patch/48782/
The current IR decoding is much too slow. Many IR protocols rely on
a trailing space for decoding (e.g. rc-6 needs to know when the bits
end). The trailing space is generated by the IR timeout, and if this
is longer than required, buttons can feel slow to respond.
The other issue is the keyup timer. IR has no concept of a keyup message,
this is implied by the absence of IR. So, minimising the timeout for
this makes buttons less "sticky"; the are released much quicker.
With these patches in place, using IR with the builtin decoders is much
improved and feels very snappy.
Signed-off-by: Matthias Reichl <hias@horus.com>
The underlying issue seems to have been fixed since kernel 4.1
with commit 4e93b9a6abc0d028daf3c8a00cb77b679d8a4df4
"mmc: card: Don't access RPMB partitions for normal read/write"
This patch has also been removed from Debian kernels quite some
time ago
http://lists.alioth.debian.org/pipermail/kernel-svn-changes/2015-September/020884.html
Signed-off-by: Matthias Reichl <hias@horus.com>