[Lcdproc] Re: lcdproc-0.5.1 and serialized HD44780 on k-data wake-up 2.0 module
Bernd Büchs
bernd.buechs@freenet.de
Sat Jan 20 20:44:02 2007
--Boundary-00=_V4nsF/0TVnjFqPS
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Am Freitag, 19. Januar 2007 13:04 schrieb Peter Marschall:
> I have committed a first draft of the patch to the CVS.
> It will be in tonight's (tomorrow's ) nightly tar ball
>
> If you are impatient (such as me ;-), you may try the attached patch.
>
> Features / Limitations:
> - new ConnectionType=3Dvdr-wakeup
> - only supports LCDs with 1 HD44780
> (i.e. on LCDs > 20x4 only parts of the screen will be visisble)
> - no character mapping
> - no "full redraw" support
>
> Please test and report feedback.
> Peter
Hi Peter,
thank you that cool diff was more that I am expected :-).
Yes, I am impatient. I tried it and ...
1. compile failed (missing comma, see vdr-wakeup-changes.diff)
2. <syslog> Jan 19 22:51:01 jukebox2 LCDd: hd44780: unknown ConnectionType=
:=20
vdr-wakeup <syslog>, changes see vdr-wakup-changes.diff
3. success!
The test details are:
I got a fine LCDproc Server screen including hartbeat.=20
Next I tried "lcdproc M". The following screens looked fine (time, cpu, net=
=20
load, hd usage, server name). But every time the next (lcdproc server=20
screen?!) is displayed the backlight is tured off!
My LCDd.conf has "Backligth=3Dno"
The backligth of my LCD40x2 is attached to the wake-up board relais as=20
recommended. This relais is swichable with a programmed IR signal. In=20
addition the relais is supposed to be swichable via LCDproc...
The next screen is somehow "messy", i.e. it shows a mixture of different=20
screens (lcdproc server parts and the server name). I considder this as bei=
ng=20
ment with the limitation "no full redraw support".
Regards
Bernd
vdr-wakeup-changes.diff
My first diff. I am shure there are better parameter possible...
=2D-------------------
diff -r ./lcdproc-0.5.1-working/server/drivers/hd44780-drivers.h ./lcdproc-=
0.5.1/server/drivers/hd44780-drivers.h
46d45
< =A0=A0=A0=A0=A0=A0{"vdr-wakeup", hd_init_serial, "\tnone\n"},=A0=A0=A0=A0=
=A0
diff -r ./lcdproc-0.5.1-working/server/drivers/hd44780-serial.h ./lcdproc-0=
=2E5.1/server/drivers/hd44780-serial.h
31c31
< =A0=A0=A0=A0=A0=A0{ "vdr-lcd", =A0 =A0 =A0 0xFE, =A0 =A00, 0x00, 0x00, =
=A0 9600, =A0 4, 0, 0x00, 0, =A0=20
0 },
=2D--
> =A0=A0=A0=A0=A0=A0{ "vdr-lcd", =A0 =A0 =A0 0xFE, =A0 =A00, 0x00, 0x00, =
=A0 9600, =A0 4, 0, 0x00, 0, =A0=20
0 }
=2D---------------------
--Boundary-00=_V4nsF/0TVnjFqPS
Content-Type: text/x-diff;
charset="iso-8859-15";
name="vdr-wakeup-changes.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="vdr-wakeup-changes.diff"
diff -r ./lcdproc-0.5.1-working/server/drivers/hd44780-drivers.h ./lcdproc-0.5.1/server/drivers/hd44780-drivers.h
46d45
< {"vdr-wakeup", hd_init_serial, "\tnone\n"},
diff -r ./lcdproc-0.5.1-working/server/drivers/hd44780-serial.h ./lcdproc-0.5.1/server/drivers/hd44780-serial.h
31c31
< { "vdr-lcd", 0xFE, 0, 0x00, 0x00, 9600, 4, 0, 0x00, 0, 0 },
---
> { "vdr-lcd", 0xFE, 0, 0x00, 0x00, 9600, 4, 0, 0x00, 0, 0 }
--Boundary-00=_V4nsF/0TVnjFqPS--