Rock PI 4B - IR Remote in Armbian (Ubuntu 22.04)

Hello good people on the internet!

Is there any way to use an IR-remote on my system? I am running Ubuntu, Jammy, 22.04, Armbian with Kernel 6.6.39. I use it for Home Assistant and Pi-hole. I have to use this, as older systems are not supported. I want to be able to use one GPIO pin as signal input for my IR-receiver.

I think it is active in the Kernel:

rock@rockpi-4b:/$ sudo modinfo gpio-ir-recv
filename: /lib/modules/6.6.39-current-rockchip64/kernel/drivers/media/rc/gpio-ir-recv.ko
license: GPL v2
description: GPIO IR Receiver driver
alias: of:NTCgpio-ir-receiverC*
alias: of:NTCgpio-ir-receiver
depends: rc-core
intree: Y
name: gpio_ir_recv
vermagic: 6.6.39-current-rockchip64 SMP preempt mod_unload aarch64

I don’t know how to use the overlays. I have been advised (by Radxa) to try this overlay: https://github.com/radxa-pkg/radxa-overlays/blob/main/arch/arm64/boot/dts/rockchip/overlays/rk3399-gpio-ir.dts

They do say my system is not supported by them, but they think this could work anyway. Suggestions as to how I use this?

Like in the original system, overlays are not controlled like this (From Radxa site): “Device Tree Overlays usage is controlled from /boot/hw_intfc.conf.” I can’t find this.

The dtbo-files are located in these places:

  1. /boot/dtb-6.6.39-current-rockchip64/rockchip/overlay

  2. /usr/lib/linux-image-6.6.39-current-rockchip64/rockchip/overlay

I have tried to compile the github-file (dts) to dtbo, but no success. I used device-tree-compiler.

Any thoughts?

Kind Regards,
Roar Andersen,
Norway