Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Sean Young <sean@mess.org>
|
|
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
|
|
These rc keymaps look like:
[[protocols]]
name = 'Beon_Colour_TV'
protocol = 'raw'
[[protocols.raw]]
keycode = 'KEY_POWER'
raw = [ 1324, 842, 6697, 26400, 1324, 842, 6697 ]
[[protocols.raw]]
keycode = 'KEY_MUTE'
raw = [ 1305, 865, 2357, 931, 3411, 26400, 1305, 865, 2357, 931, 3411 ]
So the incoming IR will be literally compared against the IR given, and only
if the entire array matches with no leading or trailing IR will the keycode
be reported.
This is analogous to lircd raw_codes support, so lircd2toml.py can also
convert raw_codes lircd.conf files. This means that the vast majority of
lircd files can now be converted.
This feature requires loops in BPF programs so this is only supported
in kernel 5.3 onwards.
Signed-off-by: Sean Young <sean@mess.org>
|
|
Rename the bpf protocol to match. Now we can use the generated keymap
for the XBox DVD remote.
Signed-off-by: Sean Young <sean@mess.org>
|
|
This remote has a small joystick which acts like a mouse. Support
decoding this.
Signed-off-by: Sean Young <sean@mess.org>
|
|
The rpm packaging system will try to extract debug information, which
fails since there is no build id. This can be avoided by removing
the execute permission.
BPF relocatable files are executable anyway so this is the right
thing to do.
See:
https://github.com/rpm-software-management/rpm/pull/604
Signed-off-by: Sean Young <sean@mess.org>
|
|
This uses a modified nec protocol, where 24 bits are sent and the first
12 bits are inverted.
Signed-off-by: Sean Young <sean@mess.org>
|
|
clang -idirafter /usr/local/include -idirafter
+/usr/lib/llvm-6.0/lib/clang/6.0.1/include -idirafter
+/usr/include/mips64el-linux-gnuabi64 -idirafter /usr/include
+-I../../../include -target bpf -O2 -c grundig.c
> In file included from grundig.c:5:
> In file included from ../../../include/linux/lirc.h:10:
> In file included from /usr/include/linux/types.h:9:
> In file included from /usr/include/linux/posix_types.h:36:
> In file included from
+/usr/include/mips64el-linux-gnuabi64/asm/posix_types.h:13:
> /usr/include/mips64el-linux-gnuabi64/asm/sgidefs.h:19:2: error: Use a Linux
+compiler or give up.
> #error Use a Linux compiler or give up.
This requires __linux__ to be defined.
Signed-off-by: Sean Young <sean@mess.org>
|
|
|
|
Add a few BPF protocols and infrastructure for building them.
Signed-off-by: Sean Young <sean@mess.org>
|