09-25-2020, 02:29 AM
[quote pid='11928' dateline='1564754761']
Hi Patrick:
I followed the link and tried to install LIRC on my RPi 4 with moOde release 6.7.0 (2020-07-19)
But when I try to test the installation with the following commands:
It returned
as expected. But when I issue this command:
It returns this error:
Cannot initiate device /dev/lirc0
[/quote]
So I tried to create a "dummy" lirc0 file with the nano text editor. No luck. Same error
Any idea?
Code:
I finally found out what's the solution for my problem and want to let know everybody who has the same problem.
Don't install the patch I've shared above on Raspbian Stretch!!!!!!!!!!!!!!!!!!!!!!!!
The patch is already included in the version 5.3.1 of Moode and it works without to do anything in additon.
When you install the patch irw will not work!!!!
All you have to do is to follow these instruction:
http://gernot-walzl.at/index.php?nav=.%2FDebian%2FRaspbian%2FLIRC
The command to start irrecord is sudo irrecord -n -d /dev/lirc0 and you have to start it at the pi direction.
It took me some time but I hope I am able to help anybody how struggles with this.
Best regards from Austria,
Patrick
I followed the link and tried to install LIRC on my RPi 4 with moOde release 6.7.0 (2020-07-19)
But when I try to test the installation with the following commands:
Code:
sudo /etc/init.d/lircd stop
Code:
Stopping lircd (via systemctl): lircd.serviceWarning: Stopping lircd.service, but it can still be activated by:
lircd.socket
as expected. But when I issue this command:
Code:
mode2 -d /dev/lirc0
It returns this error:
Cannot initiate device /dev/lirc0
[/quote]
So I tried to create a "dummy" lirc0 file with the nano text editor. No luck. Same error
Any idea?