[mythtv-users] RS232 ir receiver for irbalster.info

Jon jon at sd-6.org
Fri Mar 30 20:21:55 UTC 2007



Kevin Plew wrote:
> Jon wrote:
>> 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 
>>>>> permissions)
>>>>>
>>>>> lircd is not running the serial port has 777 for permissions
>>>>>
>>>>> Any help would be appreciated.
>>>>>
>>>>> Kevin
>>>>>     
>>>>>         
>>>> modprobe lirc_serial
>>>> # start lircd
>>>> lircd -d /dev/lirc0
>>>> # Use irw to verify
>>>> irw
>>>> # Press some keys.
>>>> <ctrl+c>
>>>> # 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[4680]: could not open config file '/etc/lircd.conf'
>>> Mar 30 14:12:51 kojiki lircd-0.8.2-CVS[4680]: No such file or directory 
>>> Mar 30 14:12:51 kojiki lircd-0.8.2-CVS[4681]: lircd(userspace) ready
>>> Mar 30 14:12:59 kojiki lircd-0.8.2-CVS[4681]: accepted new client on /dev/lircd
>>> Mar 30 14:15:35 kojiki lircd-0.8.2-CVS[4681]: removed client
>>> Mar 30 14:19:52 kojiki lircd-0.8.2-CVS[4681]: 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.
>>
>>   
> Well.........
> Nothing. I've tried 3 different  brand remotes.
> 
> I modified my modprobe.conf:
> 
> *************modprobe.conf******
> alias char-major-61 lirc_serial
> options lirc_serial irq=4 io=0x2f8
> install lirc_serial /bin/setserial /dev/ttyS1 uart none ; /sbin/modprobe 
> --ignore-install lirc_serial
> alias eth0 skge
> alias eth1 sky2
> alias scsi_hostadapter ahci
> # ivtv modules setup
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
> alias char-major-81-1 ivtv
> # nvidia kernel module
> alias char-major-195 nvidia-1_0-9746
> alias nvidia nvidia-1_0-9746
> options snd cards_limit=8
> alias snd-card-0 snd-hda-intel
> options snd-hda-intel index=0
> *********end modprobe.conf*********
> 
> 
> My /etc/sysconfig/lircd is:
> 
> # Options to lircd
> LIRCD_OPTIONS=
> 
> 
> removed and reloaded lirc_serial and dmesg gave me:
> 
> lirc_serial: auto-detected active low receiver
> lirc_dev: lirc_register_plugin: sample_rate: 0
> 
> /var/log/messages has:
> 
> Mar 30 15:38:27 kojiki kernel: lirc_serial: auto-detected active low receiver
> Mar 30 15:38:27 kojiki kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
> 
> If this helps:
> 
> [root at kojiki sysconfig]# lsmod | grep lirc
> lirc_serial            15488  0
> lirc_i2c               12292  0
> lirc_dev               16804  2 lirc_serial,lirc_i2c
> i2c_core               26049  12 cx88xx,bttv,lirc_i2c,i2c_ec,wm8775,cx25840,tuner,ivtv,i2c_algo_bit,tveeprom,i2c_i801,nvidia
> 
> [root at kojiki sysconfig]# rpm -qa | grep lirc
> lirc-0.8.2-66_cvs20070301.fc6.at
> lirc-devices-0.8-3.fc6.at
> lirc-lib-0.8.2-66_cvs20070301.fc6.at
> lirc-kmdl-2.6.19-1.2911.6.4.fc6-0.8.2-66_cvs20070301.fc6.at
> 

Are you sure it's not connected to ttyS0(com 1)?


More information about the mythtv-users mailing list