I installed lirc 0.8.6 to ubuntu alternate 9.10 and the new version requires /var/run/lirc/,but I find it missing after every reboot. It would have to exist before lircd start.
/var/run/lirc/lircd is the UNIX domain socket that clients use to connect to lircd,you should adjust the file permissions of it so others than root can connect to lircd.
sudo chmod 666 /var/run/lirc/lircd
|
In order to use the lirc after every restarting,do these
sudo mkdir /var/run/lirc/
sudo mknod /var/run/lirc/lircd p
sudo mknod /var/run/lirc/lircm p
|
Lire use the device /dev/lirc,if your system exists dev like lirc0 or something,do a software link
sudo ln -s /dev/lirc0 /dev/lirc
|
Also,you can do these in system startup script.
djstava
阅读(1694) | 评论(0) | 转发(0) |