I have compiled lirc 0.8.0 on an HLFS system.
I didn't install it as root, so these mknod command were done afterwards;
mknod /dev/lirc c 61 0
mknod /dev/lircd p
mknod /dv/lircm p
(taken from the makefile)
Now, I can run mode2 and see a lot of messages from my remote, so the
hardware (serial connection) works. I can start the lirc daemon with the
-nodaemon option and see the pid file and log file being created. However,
running irw or irsend do not work. I receive either: connection refused, or
file not found. The latter being caused by the removal of /dev/lircd.
I think the connection is refused because /dev/lircd should be a socket, but
I cannot make one with mknod. It is currently a FIFO device with the mknod p
I have tried changing the file permissions to 666 as root (chmod 666
/dev/lircd), or with the lircd -p 666 option, but the connection is still
One thing I noticed is that when I make the /dev/lircd device file, it
starts as 644. If I start lircd with the -p option of 666, there is no
change in the file permissions of /dev/lircd. So, I think that the lircd
daemon isn't actually using /dev/lircd, which is why irw and/or irsend
cannot make a connection. No server is actually listening.
Wiser men, please enlighten me.
Dont just search. Find. Check out the new MSN Search!