Re: LCDd won't start on boot but it works if started manually

Guillaume Membré <[email protected]> Sat, 17 Aug 2013 23:12:27 +0200
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <CAOvZyT4q7fd6KY8eAy-2kMSu0qLoHU=69Wpg-HYf8H8uxQtQ+g@mail.gmail.com>
On Sat, Aug 17, 2013 at 7:18 PM, A B <[email protected]> wrote:
> Hi all,
>        I'm having a strange problem with LCDd: it won't start at boot time
> but it works as expected if invoked by CLI.
>
>
> My hw is a Raspberry Pi rev.2 interfaced with a 20x4 LCD via i2c and
> MCP23017 port expander.
>
> I've sucessfully build & installed LCDproc from source CVS-current-20130410
> on a Raspbmc distro (Linux raspbmc 3.6.11 #2 PREEMPT Tue Jul 30 02:02:22 UTC
> 2013 armv6l GNU/Linux).
>
[...]

> I think LCDd tries to load and check if i2c-1 exist too early (maybe
> i2c-1 is created at some time after the LCDd check).
>
>
> What can I do  to solver the problem?

Hi

In the file /etc/init.d/LCDd, Could you try to change the line
beggining with # Required-Start to :
# Required-Start:    $all
and run insserv as root
it will change the order of launch of the script and restart to test.

Regards
Guillaume