How to add a parallel LCD driver to Coyote 2.x
What do you will need ?
- A WORKING Coyote Linux 2.x floppy
- Any HD44780 compatible LCD display attached to your parallel
port.
- The parallel port drivers to Coyote (parport.o
and parport_pc.o)
- The LCD drivers to Coyote (lcd.o)
How to install:
1 - Download the 3 drivers files and copy them to the /lib/modules
folder
2 - Edit the /etc/modules file and add it
theese 3 lines
Where you might change 0x378 to your parallel port
address, 2 and 20 to the size of your lcd display
parport
parport_pc
lcd io=0x378 disp_rows=2 disp_cols=20
3 - Edit the /etc/rc.d/rc.local file and add
the line
4 - Backup you coyote.
mknod /dev/lcd c 120 0
5 - Reboot
To Run:
If you driver is loaded ok you can type echo Hello
> /dev/lcd and your test will be displayed
The /proc/lcd file shows a image of you lcd
device, you can use see it to test.
Credits, Licenses, Sources and Documentation
Coyote Linux - Vortech Consulting - http://www.coyotelinux.com
lcdmod driver - Michael McLellan - http://lcd-mod.sourceforge.net/index.php
If this page helps you do what you what, let me know, send me
an e-mail:
Claudio Roberto
Cussuol