[Lcdproc] Feedback for CVS nightly build (20091227)...

Markus Dolze bsdfan at nurfuerspam.de
Sun Dec 27 21:45:25 UTC 2009


-------- Original-Nachricht --------
> Datum: Sun, 27 Dec 2009 19:32:35 +0100
> Von: "Thorsten Godau" <dl9sec at gmx.net>
> An: lcdproc at lists.omnipotent.net
> Betreff: [Lcdproc] Feedback for CVS nightly build (20091227)...

> Hi,
> 
> Markus suggested to use a more recent version of LCDproc to get
> my keypad running correctly.
> 
> So i did. I downloaded the nighly snap (20091227), decompressed
> it and configured it ( ./configure --enable-lcdproc-menus
> --enable-drivers='all').
> 
> "make" stops at the hd44780-i2c module with the following messages:
> 
> hd44780-i2c.c: In function ‘i2c_out’:
> hd44780-i2c.c:103: error: ‘drvthis’ undeclared (first use in this
> function)
> hd44780-i2c.c:103: error: (Each undeclared identifier is reported only
> once
> hd44780-i2c.c:103: error: for each function it appears in.)
> make[3]: *** [hd44780-hd44780-i2c.o] Fehler 1
> 
> I compared the file with that one from a stabel version and found a
> difference in line 57 of hd44780-i2c.c:
> 
> #include "report.h" instead of #include "shared/report.h"
> 
> I corrected the line and the package compiles.

Would you mind trying the attached patch with the downloaded nightly snapshot? I cannot test this myself as I am using a non-Linux OS.

BTW: This means no Linux user has tried a nightly snapshot for 3 months or they don't have the linux/i2c-dev.h file!

> 
> With this version the keymatrix is running great! All keys are correctly
> recognized.
> 

Great!

> I discovered, that sometimes the keys are not shown in the debug log. I
> had to press two times and stay a bit longer on the button to get an 
> output. Then i switched the heartbeat off via the menu and then the
> key recognition runs much faster. All keys appear with their first push.

This might be a drawback of the way LCDd works. It is single threaded and does reading from the client, input processing, and rendering one after another. As updating the screen may take a while, you have to press the key longer than that to be recognized.

> 
> Does somebody knows how to configure the package to get the same
> configuration as the debian package (all the pathes and startup
> scrips...)?
> 
> Regards, Thorsten

Within scripts/debian there is a version of the debian files needed to create a package. I synced these with the official ones for 0.5.3 release. But as we lack somebody who builds snapshot debian packages, I don't know if it works today or is in sync with the official package files.

Regards,
Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-hd44780-i2c.diff
Type: application/octet-stream
Size: 752 bytes
Desc: not available
URL: <http://lists.omnipotent.net/pipermail/lcdproc/attachments/20091227/fafc451d/attachment.obj>


More information about the LCDproc mailing list