pako Posted April 7, 2017 Posted April 7, 2017 I encountered a strange problem and I do not know what to do: When I am restarting my OPI with inserted USB audio card, then LIRC does not work. When I am restarting my OPI without inserted USB card and this USB card I put only later after a restart, then LIRC works. Can anyone advise how to proceed? I need to insert USB audio card permanently (it's inside the device).
pako Posted April 7, 2017 Author Posted April 7, 2017 So I figured it out. Maybe someone will have the same situation. The solution is simple: 1) command cat < /proc/bus/input/devices - it gives a different result, if the USB sound card is plugged (device "sunxi-ir" is shifted down) ! 2) I had to edit the file /etc/lirc/hardware.conf. There I originally had the line DEVICE="/dev/input/event2". Now (with attached USB sound card) I had to change it to DEVICE="/dev/input/event3".
Recommended Posts