I guess I'm just too simple for this remote control stuff...
I dug out an Asus PC-39, which is RC5 and compatible with the sunxi receiver and part of the standard remotes...
no luck, well not completely, see what happens:
LibreELEC:~ # ir-keytable -c -w /usr/lib/udev/rc_keymaps/asus_pc39
Read asus_pc39 table
Old keytable cleared
Wrote 39 keycode(s) to driver
Protocols changed to rc-5
when I'm pressing a button nothing seems to happen on the big screen, but at least the button presses seem to arrive properly:
LibreELEC:~ # ir-keytable -p rc-5 -t
Protocols changed to rc-5
Testing events. Please, press CTRL-C to abort.
1835.957557: event type EV_MSC(0x04): scancode = 0x822
1835.957557: event type EV_KEY(0x01) key_down: KEY_EXIT(0x00ae)
1835.957557: event type EV_SYN(0x00).
1836.069036: event type EV_MSC(0x04): scancode = 0x822
1836.069036: event type EV_SYN(0x00).
1836.180619: event type EV_MSC(0x04): scancode = 0x822
1836.180619: event type EV_SYN(0x00).
1836.430065: event type EV_KEY(0x01) key_up: KEY_EXIT(0x00ae)
1836.430065: event type EV_SYN(0x00).
1840.541220: event type EV_MSC(0x04): scancode = 0x808
1840.541220: event type EV_KEY(0x01) key_down: KEY_UP(0x0067)
1840.541220: event type EV_SYN(0x00).
1840.652828: event type EV_MSC(0x04): scancode = 0x808
1840.652828: event type EV_SYN(0x00).
1840.764406: event type EV_MSC(0x04): scancode = 0x808
1840.764406: event type EV_SYN(0x00).
1841.010067: event type EV_KEY(0x01) key_up: KEY_UP(0x0067)
1841.010067: event type EV_SYN(0x00).
1842.109146: event type EV_MSC(0x04): scancode = 0x804
1842.109146: event type EV_KEY(0x01) key_down: KEY_DOWN(0x006c)
1842.109146: event type EV_SYN(0x00).
1842.220762: event type EV_MSC(0x04): scancode = 0x804
1842.220762: event type EV_SYN(0x00).
1842.332367: event type EV_MSC(0x04): scancode = 0x804
1842.332367: event type EV_SYN(0x00).
1842.580058: event type EV_KEY(0x01) key_up: KEY_DOWN(0x006c)
1842.580058: event type EV_SYN(0x00).
Display More
I guess I should call it a day and try again tomorrow, or maybe im firing up the raspi with some suitable RX, lets see...
OK giving up for today, found a second rc_maps.cfg in /etc , didn't manage making this editable, but keeping it another task for tomorrow, trying to add this line to the end:
neither irw nor LibreELEC:~ # irw /run/lirc/lircd produce any output, strange...