Jump to content

orange pi lite2 IR problem


nocodo

Recommended Posts

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

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines