Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


LIRC Problem
#6
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..
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
Has this changed for Buster ?
(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
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....
----------
bob
Reply


Messages In This Thread
LIRC Problem - by Paddy_B - 07-23-2019, 06:01 PM
RE: LIRC Problem - by DRONE7 - 07-27-2019, 04:37 AM
RE: LIRC Problem - by Paddy_B - 07-27-2019, 04:34 PM
RE: LIRC Problem - by Paddy_B - 08-02-2019, 02:06 PM
RE: LIRC Problem - by LeVolatile - 09-25-2020, 01:46 AM
RE: LIRC Problem - by LeVolatile - 09-25-2020, 02:29 AM
RE: LIRC Problem - by DRONE7 - 07-27-2019, 07:45 AM
RE: LIRC Problem - by TheOldPresbyope - 07-27-2019, 10:26 AM
RE: LIRC Problem - by DRONE7 - 07-27-2019, 08:20 PM
RE: LIRC Problem - by DRONE7 - 09-25-2020, 06:05 AM

Forum Jump: