I am trying to configure LIRC to work with my Raspberry 2B and the circuit that I am building with a transistor and an IR transmitter, as described in this tutorial
After installing LIRC, I followed all the steps and I added these two lines to / etc / modules
lirc_dev lirc_rpi gpio_out_pin=36
Then I typed this in the /etc/lirc/hardware.conf file
LIRCD_ARGS="--uinput" LOAD_MODULES=true DRIVER="default" DEVICE="/dev/lirc0" MODULES="lirc_rpi" LIRCD_CONF="" LIRCMD_CONF=""
After rebooting, I added the configuration of my remote Samsung (BN59-00516A) to /etc/lirc/lircd.conf
Then I restarted LIRC again, but when I ran the command to send the IR frequency
irsend SEND_ONCE Samsung_BN59-00865A KEY_POWER
he complains about the following error:
irsend: failed to connect to socket
irsend: No such file or directory
I assume this is a problem with my device socket because in the hardware.conf file I installed
DEVICE = "/dev/lirc0"
(only because the tutorial is indicated in it), but the lirc0 file is not in the folder. I could not find another question related to this problem, and google did not help me either. Does anyone have a hint of this?
source share