Lanner NCA-4210 User Manual page 78

Hide thumbs Also See for NCA-4210:
Table of Contents

Advertisement

NCA-4210 User Manual
The LCD panel module (LCM) is designed to provide real-time operating status and configuration
information for the system. For sample LCM code, please contact Lanner's technical support.
The system supports the following 2 kinds of LCM:
• Parallel Text-based LCM: The LCM connects to the motherboard's parallel port. The LCD screen can display
2 lines, 16 (or 20) characters per line.
• USB and Serial Text or Graphic-based LCM: Our next generation LCM. Lanner engineers design a common
source code to be deployed on these two differently interfaced LCM modules. Jumpers are used to select
between text and graphic types. See next section.
For Parallel Text-based LCM
Build
To build program source code on Linux platform, please use the following steps as a guideline:
1 Extract the source file:
# tar -xzvf plcm_drv_v0XX.tgz
(0XX is the version of the program.)
2 Change directory to the extracted folder:
# cd plcm_drv_v0XX
(0XX is the version of the program.)
Note: Apply our Parallel Text-based LCM to the environment of virtualization, please use the version 013 or
above of the program.
3 Type "make" to build source code:
# make
After compiling, the executable programs (plcm_test, plcm_cursor_char, ppdev_test, Test) and the driver
(plcm_drv.ko) will appear in the program's folder.
Note: The OS supported by Parallel Text-based LCM function includes platforms based on Linux Kernel series
2.4.x, Linux Kernel series 2.6.x and Linux Kernel series 3.0.x or above.
Install
Install the driver and create a node in the /dev directory by:
#insmod plcm_drv.ko
#mknod /dev/plcm_drv c 248 0
78

Advertisement

Table of Contents
loading

Table of Contents