nocodo Posted May 9, 2020 Share Posted May 9, 2020 firmware version: Armbian_20.02.1_Orangepilite2_bionic_current_5.4.20.img ================= cmd log [dengzy@opl2 ~]$ sudo modprobe sunxi-cir [dengzy@opl2 ~]$ lsmod | grep cir 2:sunxi_cir 16384 0 3:rc_core 45056 1 sunxi_cir [dengzy@opl2 ~]$ ls /dev/input/ by-path event0 mice [dengzy@opl2 ~]$ evtest No device specified, trying to scan all of /dev/input/event* Not running as root, no devices may be available. Available devices: /dev/input/event0: axp20x-pek Select the device event number [0-0]: ^C [dengzy@opl2 ~]$ ================= Also no new log in dmesg when I excute modprobe, looks like sunxi-cir.ko failed to probe (dtb file not been modified) I also tried install lirc in armbian-config, it will create a uinput device, but still, when I use evtest to test my remote controler, nothing happend. Any help to make my controller work will be greatly appreciated! Link to comment Share on other sites More sharing options...
Igor Posted May 9, 2020 Share Posted May 9, 2020 I haven't play with IR recently so I don't really know if it works well on H6. Have you check https://linux-sunxi.org/IR Link to comment Share on other sites More sharing options...
nocodo Posted May 12, 2020 Author Share Posted May 12, 2020 Ok, turns out I need to enable the ir node in device tree manually: >sudo fdtput -t s /boot/dtb/allwinner/sun50i-h6-orangepi-lite2.dtb /soc/ir@7040000 status okay >sudo reboot After reboot the device appears in /dev/input My controller is working now, thanks! Link to comment Share on other sites More sharing options...
Werner Posted May 12, 2020 Share Posted May 12, 2020 https://github.com/megous/linux/blob/db5ec55d5a9448c472568a39a895dc89fb7ade20/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi#L1037 Disabled in upstream. Link to comment Share on other sites More sharing options...
Recommended Posts