hd44780/serial: Fix handling of keys for LoS-Panel (by M. Kirchner) and change

backlight handling:

Previously if keypad=yes was configured in LCDd.conf a value for the
backlight was sent, regardless of the configuration in hd44780-serial.c.

Now it decides upon the backlight flag from that file (enabling it in
LCDd.conf is still required). If the backlight flag indicates the device
supports backlight, the backlight_on / backlight_off values are sent (even
if they are 0x00)!
This commit is contained in:
mmdolze
2011-11-02 20:04:36 +00:00
parent 760ea0a21a
commit 0fdc92e156
4 changed files with 57 additions and 18 deletions
+20
View File
@@ -2004,6 +2004,26 @@ module <filename>ftdi_sio.ko</filename> that maps the USB port to a serial port
<sect3 id="hd44780-los-panel">
<title>LCD on Serial panel device "los-panel"</title>
<para>The LoS-Panel is a DIY device built using an Atmel ATtiny2313 and
supports the following features:
<itemizedlist>
<listitem><para>Drives displays with one controller.</para></listitem>
<listitem><para>Switchable backlight.</para></listitem>
<listitem><para>One 4x4 matrix keypad and 4 direct keys.</para></listitem>
</itemizedlist>
</para>
<note>
<para>
The direct keys are reported as a fifth column of a matrix keypad to LCDd.
</para>
<para>
Column and rows are reported reverse (column 1 / row 1 is in the lower
right corner) to LCDd which expects (1/1) to be the upper left corner.
You have to take this into account when configuring keys.
</para>
</note>
<para>
See <ulink url="http://www.xs4all.nl/~mlf/los/"></ulink>
for more information on this device.