From: John D. <joh...@gm...> - 2011-04-30 09:12:46
|
Доброе время суток, Jarod Wilson. Вы писали 30.04.2011 0:10 > Keep list cc'd please. > > On Apr 29, 2011, at 12:53 AM, john.99.doe wrote: > > ... >>>> root@jd-note:/etc/lirc# /usr/local/sbin/lircd --nodaemon >> --driver=devinput >>>> --output=/var/run/lirc/lircd --device=/dev/input/event10 >>>> lircd: lircd(devinput) ready, using /var/run/lirc/lircd >>> >>> Okay, doesn't look like a permissions thing then. >>> >>> >>>> in other console >>>> johndoe@jd-note:~$ irw >>>> >>>> in first console >>>> lircd: accepted new client on /var/run/lirc/lircd >>>> lircd: initializing '/dev/input/event10' >>>> >>>> create record in /var/log/lircd >>>> >>>> in second console irw does not respond to key press >>>> >>>> On what it is necessary to pay attention? >>> >>> I don't know. I haven't got an explanation here, looks to me >>> like things should be working... Remind me again though, what >>> lircd.conf are you using? It definitely needs to be the >>> devinput one. >>> >>> >>>> Should work but doesn't work >>>> witch script must create /var/run/lirc then lirc start? >>> >>> Depends. Historically, in Fedora, it was created at lirc >>> package installation time. With the move to a tmpfs based >>> /var/run in a number of distros, it has to be done other >>> ways, which vary depending on init system in use. >>> >> >> hardware.conf >> # /etc/lirc/hardware.conf >> # >> #Chosen Remote Control >> REMOTE="Media Center Ed. eHome Infrared Remote Transceiver (0471:0815)" >> REMOTE_MODULES="" >> REMOTE_DRIVER="devinput" >> REMOTE_DEVICE="/dev/input/event10" >> REMOTE_SOCKET="" >> REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf.devinput" > ... >> /etc/lirc/lircd.conf.devinput from lirc 0.0.9 source >> # generated by devinput.sh >> begin remote >> name devinput > > ... >> /etc/lirc/lircd.conf But it is not used, judging by configs >> # >> # brand: HP >> # model no. of remote control: TSGH-IR01 >> # devices being controlled by this remote: HP Slimline S3100y >> # >> # RC-6 config file > > Sigh. hardware.conf is NOT part of lirc, its a Debian (and derivates) > distro-specific thing, only parsed by the distro's lirc initscript. > When you're running lircd in the foreground in a console, you're not > giving it any args for config path, so the default one, which is > /etc/lirc/lircd.conf, is being used, NOT the devinput one. > > I hate hardware.conf, it causes way too many problems. I'm seriously > thinking that lirc needs to adopt a standard daemon config file of > late though. > Well. hardware.conf root of all evil. When I start manualy /usr/local/sbin/lircd - nodaemon - driver=devinput - output =/var/run/lirc/lircd - device =/dev/input/event10 It is not used and lircd.conf.devinput it is necessary to specify in arguments? How correctly to adjust lirc for mceusb and uses ~/.lircrc How then correctly to register in hardware.conf what worked automatically? |