[Lcdproc] LC16M imon + LCD 0.5.1
Peter Marschall
peter@adpm.de
Sun Nov 12 10:53:01 2006
Hi Matthew,
Please stay on the list (even if we hase some problems recently).
On Friday, 3. November 2006 00:54, you wrote:
> >> So what's happening here? Killing and restarting LCDd makes
> >> it all better. Where does my device go? It's really, truly
> >> there, and works the majority of the time.
> >
> > Unfortunately the strace output does not help me very much.
> > It makes it only more mysterious:
> > nanosleep does neither occur in the imon driver nor in the
> > server core. So I guess it is part of some included library.
> >
> > Can you try compiling LCDproc using the --enable-debug=yes
> > configure switch and running LCDd in gdb?
>
> I enabled debug - I'm not sure what I'm supposed to look for
> here - my gdb skills are minimal right now.
>
> Should I try to find some time to read through the LCDd
> source and start inserting printfs ? I'm wondering if I
> should just hack it up that when it receives a "ENODEV" that
> it closes the handle, and attempts a re-open. Or something
> that approximates me killing LCDd and restarting it.
Of course you should ;-))) [You did not expect me to answer differently,
did you.]
The ENODEV seens to indicate that the device gets disconnected somehow.
Why, I cannot tell, since I do not have the hardware myself.
Maybe the original author of the driver ior other people
contributing to it (John Saunders) can help.
> Any ideas how I can troubleshoot this more effectively?
Sorry, not more than listed above.
Peter
--
Peter Marschall
peter@adpm.de