Lanner LCM patch file for lcdproc-0.5.2
=========================================
Contents
========
- In This Release
- Building and installation
- HOW-TO Test
- Support
In This Release
===============
This file describes how to implement Lanner Text LCM code on lcdproc project.
lcdproc (http://lcdproc.org) is a good software suite to display information
on various LCM. For more information on how to handle lcdproc is not in our
subject, please visit lcdproc website for details. Here, assume you have basic
knowledge to build and install lcdproc.
The function of Lanner patch file are
1. to create driver code in server/drivers
2. to modify LCDd.conf for setting Lanner Text LCM as default
3. to create demo.txt in clients/examples. this is just for testkeypad function.
Building and installation
=========================
Before building, please get lcdproc-0.5.2.tar.gz from http://lcdproc.org
1. untar lcdproc by
# tar -zxvf lcdproc-0.5.2.tar.gz
2. chnage working directory to lcdproc-0.5.2 and copy Lanner patch to here
# cd lcdproc-0.5.2
# cp <path_to_patch_file>/lcdproc-0.5.2-lanner-lcm.patch .
3. patch Lanner Text LCM code by
# patch -p1 < lcdproc-0.5.2-lanner-lcm.patch
4. Build and install lcdproc by
# ./configure --enable-drivers=all
# make clean
# make all
# make install
HOW-TO Test
===========
Once build/instll completed, launch lcdproc by
# LCDd -c ./LCDd.conf
LCM should display lcdproc information.
backlight
---------
To connect lcdproc server by telnet, send command to enable backlight on/off.
# telnet 127.0.0.1 13666
# hello
<... connect to lcdproc information ...>
# client_set -name lanner_test
<success>
# screen_add test
<success and ... listen information>
# screen_set test -backlight on
<backligh on>
# screen_set test -backlight off
<backlight off>
KeyPad
------
To test keypad function, change directory to clients/examples. Patch file had
created demo.txt for work with tail.pl, which display text on LCM. LCDd.conf
pre-define Up/Down/Left/Right key, programmer could re-define it.
Launch tail.pl with demo.txt by
# ./tail.pl demo.txt
Press any four keypad for display contents.