[mythtv-users] RS232 ir receiver for irbalster.info
jon at sd-6.org
Fri Mar 30 19:20:48 UTC 2007
Kevin Plew wrote:
> Jon wrote:
>> Kevin Plew wrote:
>>> I am trying to setup the referenced ir receiver.
>>> I have followed Jared's Guide, But lircd will not stay running.
>>> I looked at Keeto's guide and gave that a try-
>>> irrecord gives me the following error:
>>> # irrecord --driver=irman --device=/dev/ttyS1 ./directv.irman
>>> irrecord - application for recording IR-codes for usage with lirc
>>> Copyright (C) 1998,1999 Christoph Bartelmus(lirc at bartelmus.de)
>>> irrecord: could not init hardware (lircd running ? --> close it, check
>>> lircd is not running the serial port has 777 for permissions
>>> Any help would be appreciated.
>> modprobe lirc_serial
>> # start lircd
>> lircd -d /dev/lirc0
>> # Use irw to verify
>> # Press some keys.
>> # configure remote.
>> irrecord /etc/lirc/lircd.conf
> Got further but nothing from irw- tried several remotes.
> /var/log/messages shows:
> Mar 30 14:12:51 kojiki lircd-0.8.2-CVS: could not open config file '/etc/lircd.conf'
> Mar 30 14:12:51 kojiki lircd-0.8.2-CVS: No such file or directory
> Mar 30 14:12:51 kojiki lircd-0.8.2-CVS: lircd(userspace) ready
> Mar 30 14:12:59 kojiki lircd-0.8.2-CVS: accepted new client on /dev/lircd
> Mar 30 14:15:35 kojiki lircd-0.8.2-CVS: removed client
> Mar 30 14:19:52 kojiki lircd-0.8.2-CVS: accepted new client on /dev/lircd
Looks good. Program your remote to any sony code and try again.
Looks like lirc is looking for lird.conf in /etc instead of /etc/lircd.
Either change the irrecord command or move the file after you have
finished creating it.
More information about the mythtv-users