[mythtv-users] LCD doesn't work after kernel update

Jarod Wilson jarod at wilsonet.com
Tue Jul 7 03:38:55 UTC 2009


On Monday 06 July 2009 21:33:58 Jay Foster wrote:
> > > I can report some success in resolving this.  I
> > exited mythfrontend and then killed mythlcdserver.  I
> > then restarted mythlcdserver and the system time again
> > appeared on the LCD display.  I restarted mythfrontend
> > and the MythTV information is again displayed on the LCD
> > display.  My theory is that mythlcdserver only attempts
> > to connect to LCDd (lcd_proc) when it starts, which this
> > exercise seems to confirm.
> > > 
> > > So why does LCDd no longer start at boot time?
> > 
> > No clue, but yeah, that would appear to be your primary
> > problem. Is its
> > initscript actually set to run at boot time?
> > 
> > > I know that LCDd depends on /dev/lcd0.
> > 
> > Correct.
> > 
> > > I think /dev/lcd0 is created by lircd (lirc_dev,
> > lirc_imon).  So lircd MUST start before LCDd or LCDd
> > will fail.  I suspect that this is what is
> > happening.  How do I make lircd start before LCDd?
> > 
> > Incorrect. /dev/lcd0 is created when the lirc_imon module
> > loads, not
> > when lircd starts. lirc_imon should be loaded up after udev
> > or whatever
> > pokes through your system devices looking for drivers to
> > load up. lircd
> > starts after the module is loaded. LCDd isn't dependent on
> > lircd having
> > started up already, its only dependent on lirc_imon having
> > been loaded.
> > 
> 
> dmesg shows that lirc_dev and lirc_imon are getting loaded just fine (and if I manually start LCDd, it works).  Yes, my LCDd is configured to start.  That was the first thing I checked.
> 
> -rwxr-xr-x 1 root root 1205 2009-06-02 09:08 /etc/init.d/LCDd
> lrwxrwxrwx 1 root root   14 2009-07-06 18:05 /etc/rc0.d/K80LCDd -> ../init.d/LCDd
> lrwxrwxrwx 1 root root   14 2009-07-06 18:06 /etc/rc1.d/K80LCDd -> ../init.d/LCDd
> lrwxrwxrwx 1 root root   14 2009-07-03 17:29 /etc/rc2.d/S20LCDd -> ../init.d/LCDd
> lrwxrwxrwx 1 root root   14 2009-07-03 17:29 /etc/rc3.d/S20LCDd -> ../init.d/LCDd
> lrwxrwxrwx 1 root root   14 2009-07-03 17:29 /etc/rc4.d/S20LCDd -> ../init.d/LCDd
> lrwxrwxrwx 1 root root   14 2009-07-03 17:29 /etc/rc5.d/S20LCDd -> ../init.d/LCDd
> lrwxrwxrwx 1 root root   14 2009-07-06 18:05 /etc/rc6.d/K80LCDd -> ../init.d/LCDd
> 
> Yes, LCDd is configured to start BEFORE mythtv-backend.  My problem isn't that LCDd is starting at the wrong time, but that it isn't (apparently) starting at all on boot.  I can manually start it with no problems.

All I can suggest is 'chkconfig LCDd off; chkconfig LCDd on', to see if
maybe something is screwy with the init scripts setup (doesn't look
like that's the case), and then add some spew to the LCDd init script
so it outputs some info on what its doing (or not doing) at boot time.

-- 
Jarod Wilson
jarod at wilsonet.com


More information about the mythtv-users mailing list