[mythtv-users] lirc almost solved

Rich West Rich.West at wesmo.com
Tue Mar 27 15:48:36 UTC 2007


Brian Bosch wrote:
> On 3/26/07, Claude Gélinas agr. <claude at phyto.qc.ca> wrote:
>   
>> Le lundi 26 mars 2007 à 05:56 +0100, Nick Morrott a écrit :
>>     
>>>> I'm not sure if lircd is starting automatically. should I chamge
>>>> something in the /etc/modprobe.conf ??
>>>>         
>>> On Fedora I just put a simple modprobe script in
>>> /etc/sysconfig/modules/ and it gets loaded early on in the boot
>>> process.
>>>
>>> Nick
>>>       
>> I've downloaded the little script from Jarod's guide
>> into /etc/sysconfig/modules/ as follow:
>>
>> wget http://wilsonet.com/mythtv/lirc.modules
>> chmod +x lirc.modules
>>
>> Then I added :
>>
>> /sbin/chkconfig lircd on
>>
>>
>> NOw lirc should load early and start lircd.
>>
>> Thanks to Nick and Brian
>>     
>
> Thank-you too!  You inspired me to take one more try at this.  I
> followed those instructions and removed the following from rc.local
> (again):
> /sbin/modprobe lirc_i2c
> /sbin/service lircd start
>
> Reboot and lircd is working just fine.
>
> I appreciate the tip!

Heh.. I had completely forgotten about that step.  Yes, I have that file
too. :)  That script is the one that loads up the module:
#!/bin/sh

for module in `/sbin/modprobe -c | awk
'/^alias[[:space:]]+char-major-61+[[:space:]]/ { print $3 }'`; do
        /sbin/modprobe $module
done

-Rich


More information about the mythtv-users mailing list