After installing on Raspberry lirc-0.10.1 according to this instruction (Setup IR Remote Control Using LIRC for the Raspberry PI (RPi)), when you try to send data from any config file, the irsend -d /dev/lirc0 SEND_ONCE devinput-32 KEY_POWER command displays a message:
do_connect: could not connect to socket
connect: Connection refused
Cannot open socket /dev/lirc0: Connection refused
Devices /dev/lirc0 and /dev/lirc1 work (checked with ir-ctl). The transfer runs /dev/lirc0. Socket /var/run/lirc/lircd is writable and readable by everyone.
Why can't irsend work?