Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2095765
  • 博文数量: 229
  • 博客积分: 7217
  • 博客等级: 上校
  • 技术积分: 3224
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-19 17:23
个人简介

个人主页https://xugaoxiang.com,微信公众号: Dev_Club 或者搜索 程序员Club

文章分类

全部博文(229)

文章存档

2017年(1)

2016年(20)

2015年(23)

2013年(1)

2012年(23)

2011年(68)

2010年(62)

2009年(31)

分类: LINUX

2010-03-18 11:24:22

    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
阅读(1657) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~