Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Troubleshooting • Unable to get LIRC working with trixie 64 bit and raspberry pi 4 in an Argon pi 4 V2 case

$
0
0
Any advice?

I am not able to get LIRC working with Trixie 64 bit Raspberry Pi 4 in an Argon pi 4 V2 case

I installed using:

sudo spt update
sudo apt install lirc

added:
dtoverlay=lirc-rpi,gpio_in_pin=23,gpio_out_pin=14

to /boot/firmware/config.txt

Here is my /etc/lirc/lirc_options.conf

# These are the default options to lircd, if installed as
# /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8)
# manpages for info on the different options.
#
# Some tools including mode2 and irw uses values such as
# driver, device, plugindir and loglevel as fallback values
# in not defined elsewhere.

[lircd]
nodaemon = false
driver = default
device = /dev/lirc0
output = /var/run/lirc/lircd
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib/aarch64-linux-gnu/lirc/plugins
permission = 666
allow-simulate = No
repeat-max = 600
#effective-user =
#listen = [address:]port
#connect = host[:port]
#loglevel = 6
#release = true
#release_suffix = _EVUP
#logfile = ...
#driver-options = ...

[lircmd]
uinput = False
nodaemon = False

# [modinit]
# code = /usr/sbin/modprobe lirc_serial
# code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput
# code2 = ...


# [lircd-uinput]
# add-release-events = False
# release-timeout = 200
# release-suffix = _EVUP

This is the status:

dmoos@RBP4IR:~ $ sudo systemctl status lircd
● lircd.service - Flexible IR remote input/output application support
Loaded: loaded (/usr/lib/systemd/system/lircd.service; enabled; preset: enabled)
Active: active (running) since Mon 2025-12-01 13:14:21 MST; 45s ago
Invocation: 5bde2e21075441febea1f95ea9e71ebb
TriggeredBy: ● lircd.socket
Docs: man:lircd(8)
http://lirc.org/html/configure.html
Main PID: 934 (lircd)
Tasks: 2 (limit: 8742)
CPU: 56ms
CGroup: /system.slice/lircd.service
└─934 /usr/sbin/lircd --nodaemon

Dec 01 13:14:21 RBP4IR lircd[934]: lircd-0.10.2[934]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-64: Multiple values for same code: BTN_TRIGGER_HAPPY1
Dec 01 13:14:21 RBP4IR lircd-0.10.2[934]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-64: Multiple values for same code: BTN_SOUTH
Dec 01 13:14:21 RBP4IR lircd-0.10.2[934]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-64: Multiple values for same code: BTN_TOOL_PEN
Dec 01 13:14:21 RBP4IR lircd-0.10.2[934]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-64: Multiple values for same code: BTN_TRIGGER
Dec 01 13:14:21 RBP4IR lircd-0.10.2[934]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-64: Multiple values for same code: BTN_TRIGGER_HAPPY1
Dec 01 13:14:21 RBP4IR lircd[934]: lircd-0.10.2[934]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-64: Multiple values for same code: BTN_WHEEL
Dec 01 13:14:21 RBP4IR lircd-0.10.2[934]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-64: Multiple values for same code: BTN_WHEEL
Dec 01 13:14:21 RBP4IR lircd[934]: lircd-0.10.2[934]: Notice: lircd(default) ready, using /var/run/lirc/lircd
Dec 01 13:14:21 RBP4IR lircd-0.10.2[934]: Notice: lircd(default) ready, using /var/run/lirc/lircd
Dec 01 13:14:21 RBP4IR systemd[1]: Started lircd.service - Flexible IR remote input/output application support.

This is the error I get:

dmoos@RBP4IR:~ $ sudo systemctl stop lircd
Stopping 'lircd.service', but its triggering units are still active:
lircd.socket

dmoos@RBP4IR:~ $ sudo mode2 -d /dev/lirc0
Using driver default on device /dev/lirc0
Cannot initiate device /dev/lirc0

dmoos@RBP4IR:~ $ ls -al /dev/lirc*
ls: cannot access '/dev/lirc*': No such file or directory

Statistics: Posted by dmoos — Mon Dec 01, 2025 8:23 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles