On the 3.14 and 4.9 kernel SPDIF sound is working, but there’s no /dev/lirc* device and irrecord command doesn’t receive signals, on 5.7 IR is working but there’s no sound at digital outputs.
I was playing also with fdt files but with no success (changing status from disable to okay in IR section on kernel 3.14).
Now I’m searching OS with mentioned things working or solution to reapir it.
What do you mean by no sound at digital output? I see i2c spdif, for this you will have to add its support yourself.
You can try the latest Manjaro arm image from our 20.08 release post.
Try and let me know if you want me to enable any module in the kernel.
I have tested the irc on vim2 with manjaro it does work as a remote
After some tests with Manjaro and Coreelec I conclude that I’m more familiar with Debian based systems and installed to EMMC Ubuntu with 4.9 kernel again. I accidentally noticed that VIM2 is receiving NEC remote codes through meson-remote kernel module, because I’m getting messages like these:
[75280.257181@1] meson-remote c8100580.rc: invalid custom:0xe21dfd02
[75280.260668@1] meson-remote c8100580.rc: cur_custom is nulll
[75280.266175@1] meson-remote c8100580.rc: no valid key to handle
where 0xe21d is key code and 0xfd02 is manufacturer code.
And now I’m thinking of 2 solutions:
-redirect received codes to Lirc (how?),
-add my remote to dtb file.
I’d preffer first option, because adding remote with irrecord is much better and quicker than editing dtb/dts files, especially the new remote, is this possible with stock firmware image or I have to compile my own?
grep "" /sys/class/input/event?/*/* | grep ir
/sys/class/input/event2/device/name:meson-ir
/sys/class/input/event2/device/phys:meson-ir/input0
/sys/class/input/event2/device/uevent:NAME="meson-ir"
/sys/class/input/event2/device/uevent:PHYS="meson-ir/input0"
check events from driver
evtest /dev/input/event2
....
need to create ir key config file cat /etc/ir-keytable.conf - sure u can assign any other rc code for your rc control - same possible to use multiply rc controls at same time there no limits
I’ve finally gave up with LIRC. I’ve tried Fenix build Jammy Kernel 6, with that version I was able to learn codes from NEC remote and it worked ok but after some time I’ve noticed that sometimes it was retrieveing bad codes, either with irw and irexec, no matter which key was pressed, the result was like from previous pressed key.
Now I’ve written a piece of custom software for AVR microcontroller connected to the system with CH340G adapter, all decoding is done in AVR which sends commands to (USB) serial.