07-27-2019, 08:20 PM
Progress to report.... the files now survive a reboot, irw and irexec both work as expected.
To get this far I used ...
https://www.raspberrypi.org/forums/viewt...p?t=235256
(Thank you Patrick for the link)
It was necessary to add several packages not shown in the tutorial...see page 2 of that thread... as the tutorial is for full Raspbian and moOde uses Lite.
The installs all complain about missing dependencies and I had to accept stable not testing repo then append -- fix missing to most installs as instructed by their error messages.
Used the Buster tutorial and ran both the pre and post commands then reran the last line of the install when it then completed without errors...
However, I only used a ir receiver and not a transmitter as well so it seemed to default to lirc0 and not lirc1 as instructions showed...so amended that in /etc/lirc/lirc_options.conf
After confirming all was well with..
I was then able to run irw and irexec successfully.
What I can't do is get lirc to start on boot using the previously working edit to systemctl...
Has this changed for Buster ?
(Previously here worked ..
http://moodeaudio.org/forum/showthread.p...69#pid2469
However, by editing /etc/rc.local
and adding
I can get lirc to start and run at boot... not ideal but may have to suffice until wiser heads can point out the solution to systemctl.
Any help appreciated....
To get this far I used ...
https://www.raspberrypi.org/forums/viewt...p?t=235256
(Thank you Patrick for the link)
It was necessary to add several packages not shown in the tutorial...see page 2 of that thread... as the tutorial is for full Raspbian and moOde uses Lite.
The installs all complain about missing dependencies and I had to accept stable not testing repo then append -- fix missing to most installs as instructed by their error messages.
Used the Buster tutorial and ran both the pre and post commands then reran the last line of the install when it then completed without errors...
However, I only used a ir receiver and not a transmitter as well so it seemed to default to lirc0 and not lirc1 as instructions showed...so amended that in /etc/lirc/lirc_options.conf
After confirming all was well with..
Code:
dmesg | grep lirc
ls -l /dev/lirc0
ps aux | grep lirc
I was then able to run irw and irexec successfully.
What I can't do is get lirc to start on boot using the previously working edit to systemctl...
Code:
sudo systemctl edit irexec
and add....
Code:
[Service]
User=pi
Group=pi
(Previously here worked ..
http://moodeaudio.org/forum/showthread.p...69#pid2469
However, by editing /etc/rc.local
and adding
Code:
sudo -u pi irexec -d
Any help appreciated....
----------
bob
bob