[mythtv-users] lircd not starting on boot

Shane Hollaway shane.hollaway at gmail.com
Fri Mar 24 04:33:08 UTC 2006


The lirc section of the how to is here:
http://wilsonet.com/mythtv/fcmyth.php#lirc

And the step that I'd missed was:

UPDATE: I think I finally have a completely viable, universal fix to
get both ivtv and lirc modules (no matter which lirc module you're
using, as long as its in modprobe.conf) loading very early in the boot
process. I simply made a few changes to rc.sysinit, which you can add
to your system via a patch I've generated, which you can simply
download and apply:

# wget https://svn.wilsonet.com/svn/mythtvology/trunk/rc.sysinit-mm.diff
# patch /etc/rc.d/rc.sysinit < rc.sysinit-mm.diff


On 24/03/06, Brian Wood <beww at beww.org> wrote:
> Could you tell me or point me to the info on exactly what that is ?
> My Myth machine is happy in that regard but I have another box with
> some problems and it might save me comparing the files line by line.
>
> Thanks.
>
> Brian Wood
> beww at beww.org
>
>
>
> On Mar 23, 2006, at 8:32 PM, Shane Hollaway wrote:
>
> > Managed to get lirc running on boot up.  Turns out I missed a step in
> > the how to doco.  There is an update to /etc/rc.d/rc.sysinit that
> > fixes the problem and ensures that everything loads in the right order
> > to keep lirc happy.
> >
> > Thanks for the help.
> >
> > Shane.
> >
> > On 24/03/06, R. G. Newbury <newbury at mandamus.org> wrote:
> >> Al McIntosh wrote:
> >>> Shane Hollaway wrote:
> >>>
> >>>
> >>>> Hi,
> >>>>
> >>>> I have a problem where lircd is not automattically starting when I
> >>>> boot my FC4 MythTV box.  However it starts happily if I manually
> >>>> start
> >>>> it and my ir blaster springs into life.  After booting the
> >>>> status of
> >>>> lircd is:
> >>>>
> >>>> [root at htpc ~]# service lircd status
> >>>> lircd dead but subsys locked
> >>>>
> >>>> I've had a look through the /var/log/messages file and found the
> >>>> following lircd messages get generated on bootup:
> >>>>
> >>>> lircd-0.8.0[2809]: could not get file information for /dev/lirc
> >>>> lircd-0.8.0[2809]: default_init(): No such file or directory
> >>>> lircd-0.8.0[2809]: caught signal
> >>>>
> >>>> So based on this I thought the problem was that /dev/lirc did not
> >>>> exist.  I checked straight after booting and it seems to be there:
> >>>>
> >>>> [root at htpc dev]# ls -l lirc*
> >>>> lrwxrwxrwx  1 root   root     5 Mar 22 22:30 lirc -> lirc0
> >>>> crw-rw----  1 mythtv root 61, 0 Mar 22 22:30 lirc0
> >>>> srw-rw-rw-  1 root   root     0 Mar 22 22:30 lircd
> >>>>
> >>>> I'm starting to think that maybe lirc is trying to start before
> >>>> /dev/lirc is initialised?  (Got no idea how any of that works)
> >>>>
> >>>> I had this working on the weekend and the only thing that I've
> >>>> changed
> >>>> is that I've downgraded the nvidia drivers to version 7676 to
> >>>> try to
> >>>> smooth out the video playback.  Maybe this has effected the
> >>>> order that
> >>>> things are loaded at boot time?
> >>>>
> >>>> Anyway, I'm at a loss.  If anyone has any ideas on how to fix
> >>>> this it
> >>>> would be greatly appreciated.
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>> It looks as though the lirc kernel modules are not loaded when your
> >>> lircd init script runs. You need to
> >>> modprobe lirc_i2c before lircd starts.
> >>>
> >> You might also try changing the permissions/owners on the symbolic
> >> link
> >> lirc to match the socket lirc0.
> >>
> >> Geoff
> >> _______________________________________________
> >> mythtv-users mailing list
> >> mythtv-users at mythtv.org
> >> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >>
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>


More information about the mythtv-users mailing list