Lanner electronics NCA-4210 User Manual page 93

Table of Contents

Advertisement

7F, 173, Section 2 Datong Road
Sijhih City, Taipei 221, Taiwan
Tel: 886-2-86926060 Fax: 86926101-3
Lanner Electronics Inc.
URL: www.lannerinc.com
Install
Install the driver and create a node in the /dev directory by:
#insmod plcm_drv.ko
#mknod /dev/plcm_drv c 248 0
Note:
If you cannot install the driver, check whether you have enabled the parallel port in the BIOS
setting . Once the message of "insmod": error inserting 'plcm_drv.ko': -1 Input/output
error" appears, please check that whether the major number is repeated or not. The major
number needed with the "mknod" command varies with different software versions; please
look up the Readme file for this value.
Execute
This section contains sample executable programs that you could test on your platform. It
demonstrates some useful functionality that the LCM provides. Note that the installation needs
to be completed before proceeding with these executions.
To execute, run the command:
#./plcm_test
Backlight Off/On turning off/on the backlight of the LCM display
Display Off turning off the LCM display
Cursor Off/On NOT showing/showing the cursor on the LCM display
Blinking off/On turning off/on the cursor blinking
Writing "Lanner@Taiwan" displaying the specific sentences
Reading "Lanner@Taiwan" reading the specific sentence
CGram Test displaying the user-stored characters
Keypad Testing Get the keypad input: the 1st button is read in as Left, the 2nd button is read
in as Up, the 3rd button is read in as Right, and the 4th button is read in as Down)
Corresponding Commands for "plcm_test"
You can directly input the specific command to have its corresponding function worked on your
LCM. This will be much more convenient once you would like to merely execute the keypad
testing.
-On
— Turn on the backlight of the LCM display.
— To execute, please type:
93

Advertisement

Table of Contents
loading

Table of Contents