Hello Khadas Community,
I’m having trouble getting IR remotes to work with my Khadas VIM1S running Android 11. Despite trying various remotes, the device does not seem to recognise any signals. Here’s a detailed summary of my system configuration and the steps I’ve taken so far to debug the issue:
System Details
uname -a
Linux localhost 5.4.125-android11-2-gb7479a45e76d #1 repo:r-amlogic SMP PREEMPT Thu Dec 12 14:12:47 CST 2024 armv8l
Observations:
- The IR hardware (
ir@8000
) is recognised in the device tree:
cat /proc/device-tree/ir@8000/status
okay
cat /proc/device-tree/ir@8000/compatible
amlogic,meson-ir
- The
meson_ir
driver is loaded:
lsmod | grep -i ir
meson_ir 57344 0
aml_irblaster 24576 0
- Monitoring
/dev/input/eventX
(event5
,event6
,event7
) shows no output when buttons are pressed on the remote:
cat /dev/input/event5
[No output]
cat /dev/input/event6
[No output]
cat /dev/input/event7
[No output]
-
Using Khadas Settings → Remote Controller Customize, the system does not recognise any of the IR remotes I’ve tried.
-
Running
dmesg
shows the following errors:
dmesg | grep -i ir
synth uevent: /devices/platform/fe084040.ir/input/input7: failed to send uevent
synth uevent: /devices/platform/fe084040.ir/input/input5: failed to send uevent
synth uevent: /devices/platform/fe084040.ir/input/input6: failed to send uevent
These errors indicate the driver is failing to send events to user-space for the IR input devices.
Steps I’ve Tried:
- Verified that the IR node is present and marked as
okay
in the device tree. - Reloaded the
meson_ir
driver and monitored kernel logs. - Attempted to test raw signals using:
cat /dev/input/event5
[No output]
cat /dev/input/event6
[No output]
cat /dev/input/event7
[No output]
-
Tested multiple IR remotes (including generic remotes and TV remotes) in both Khadas settings and direct input monitoring.
-
Verified that the remotes are emitting IR signals using a smartphone camera (flickering light observed).
Questions:
- Are there ways to confirm signal reception in software, such as debugging the
meson_ir
driver or monitoring memory-mapped registers for IR input? - Could the
synth uevent
errors point to a misconfiguration in the device tree or driver? How can I investigate this further in software? - Are there user-space commands or tools that could help capture or interpret raw IR signals directly?
I’d appreciate any insights or suggestions on how to proceed with diagnosing and resolving this issue. Thank you for your time and support!