There is some progress, I installed a different Pi (Pi2B) with a different DAC (Boss) and the latest image; right now I’m not seeing the errors starting irexec. However, the signals are still not being processed as it seems. When I list the processes (pstree) both lircd and irexec are showing now, so I think the other image might have been disrupted.
pstree
volumio@volumioboss:/$ pstree
systemd-+-2*[agetty]
|-avahi-daemon---avahi-daemon
|-dbus-daemon
|-dhcpcd
|-haveged
|-irexec
|-lircd
|-mpd-+-{decoder}
| |-{io}
| |-{output:alsa}
| `-{player}
|-netplugd
|-nmbd---nmbd
|-node-+-sh---node-+-3*[node-+-4*[{V8 WorkerThread}]]
| | | `-{node}]
| | |-4*[{V8 WorkerThread}]
| | `-{node}
| |-4*[{V8 WorkerThread}]
| `-7*[{node}]
|-ntpd
|-polkitd-+-{gdbus}
| `-{gmain}
|-rpc.idmapd
|-rpc.statd
|-rpcbind
|-shairport-sync---2*[{shairport-sync}]
|-smbd---smbd
|-sshd-+-sshd---sshd---sftp-server
| `-sshd---sshd---bash---pstree
|-systemd---(sd-pam)
|-systemd-journal
|-systemd-logind
|-systemd-udevd
|-udisks-daemon-+-udisks-daemon
| `-{gdbus}
|-udisks-glue
|-upmpdcli---7*[{upmpdcli}]
|-volumio-remote----2*[{volumio-remote-}]
`-winbindd---3*[winbindd]
Dmesg, the service and the journal don’t seem to be showing errors regarding lirc.
dmesg
volumio@volumioboss:/$ dmesg | grep lirc
[ 50.760549] lirc_dev: IR Remote Control driver registered, major 244
[ 50.768200] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 51.822520] lirc_rpi: auto-detected active low receiver on GPIO pin 27
[ 51.822866] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 51.822873] lirc_rpi: driver registered!
[ 53.108772] input: lircd as /devices/virtual/input/input3
service status
[code]volumio@volumioboss:/$ systemctl status lirc
â lirc.service - LSB: Starts LIRC daemon.
Loaded: loaded (/etc/init.d/lirc)
Active: active (running) since Fri 2018-05-04 19:25:17 UTC; 2min 6s ago
Process: 1039 ExecStart=/etc/init.d/lirc start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/lirc.service
ââ1053 /usr/sbin/lircd --driver=default --device=/dev/lirc0 --uinput
ââ1058 /usr/bin/irexec -d /etc/lirc/lircrc
May 04 19:25:17 volumioboss lirc[1039]: Loading LIRC modules:.
May 04 19:25:17 volumioboss lircd-0.9.0-pre1[1053]: lircd(default) ready, using /var/run/lirc/lircd
May 04 19:25:17 volumioboss lirc[1039]: Starting remote control daemon(s) : LIRC :.
May 04 19:25:17 volumioboss lircd-0.9.0-pre1[1053]: accepted new client on /var/run/lirc/lircd
May 04 19:25:17 volumioboss lirc[1039]: Starting execution daemon: irexec:.
May 04 19:25:17 volumioboss systemd[1]: Started LSB: Starts LIRC daemon…
[/code]
journal
volumio@volumioboss:~$ sudo journalctl -x | grep lirc
May 04 19:25:14 volumioboss sudo[980]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/dtoverlay lirc-rpi gpio_in_pin=27
May 04 19:25:14 volumioboss sudo[983]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 777 /etc/lirc/hardware.conf
May 04 19:25:14 volumioboss sudo[986]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chmod -R 777 /etc/lirc/hardware.conf /etc/lirc/lircd.conf /etc/lirc/lircmd.conf /etc/lirc/lircrc
May 04 19:25:14 volumioboss kernel: lirc_dev: IR Remote Control driver registered, major 244
May 04 19:25:14 volumioboss kernel: lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
May 04 19:25:15 volumioboss volumio[820]: info: lirc permissions set
May 04 19:25:15 volumioboss volumio[820]: info: lirc-rpi overlay enabled
May 04 19:25:16 volumioboss kernel: lirc_rpi: auto-detected active low receiver on GPIO pin 27
May 04 19:25:16 volumioboss kernel: lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
May 04 19:25:16 volumioboss kernel: lirc_rpi: driver registered!
-- Subject: Unit lirc.service has begun with start-up
-- Unit lirc.service has begun starting up.
May 04 19:25:17 volumioboss volumio[820]: info: lirc correctly updated
May 04 19:25:17 volumioboss lirc[1039]: Loading LIRC modules:.
May 04 19:25:17 volumioboss kernel: input: lircd as /devices/virtual/input/input3
May 04 19:25:17 volumioboss lircd-0.9.0-pre1[1053]: lircd(default) ready, using /var/run/lirc/lircd
May 04 19:25:17 volumioboss lirc[1039]: Starting remote control daemon(s) : LIRC :.
May 04 19:25:17 volumioboss lircd-0.9.0-pre1[1053]: accepted new client on /var/run/lirc/lircd
May 04 19:25:17 volumioboss lirc[1039]: Starting execution daemon: irexec:.
-- Subject: Unit lirc.service has finished start-up
-- Unit lirc.service has finished starting up.
What has not changed?
- controls are not being propagated to volumio, I’m not seeing anything when I tail the journal
- irw still gives me nothing as well, I think this should rule out a problem in Volumio?
I’m using an Apple A1156 remote and a TSOP38238 receiver wired to the GPIO27 pin on the Boss DAC @3.3V and mode2 shows activity when I press buttons.
Any tips for this tinkerer? I really don’t know how to debug/check the irexec, but if someone can tell me how, I’ll definitely give it a try.