Magnia LCD

From Wildsong
Revision as of 23:15, 28 July 2007 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

Starting at boot time

Put this line in /etc/rc.local

lcd -f server &

or

lcd server &

if you want output in celsius instead of fahrenheit

Ohter additions

Some perl scripts

lcdlight, called under two other names lcdon and lcdoff. They control the lcd backlight. lcd-log takes two arguments and displays them on the lcd.

Near the end of /lib/lsb/init-functions I added this (before FANCYTTY)

# -- ADDED FOR MAGNIA SG LCD DISPLAY OUTPUT --
LCD="/usr/local/bin/lcd-log"
[ -e $LCD ] && $LCD "Running" $0

This will show the name of the script that is being run on boot or shutdown, as long as the 'lcd' program is not running.

My system takes about 30 seconds to boot, load the kernel, and then start in on its initialization scripts. As soon as the scripts start running, I get feedback from the 'lcd-log' script.

One of the last things to happen is that the lcd program runs, when that happens I hear the fans shut off and I know the system has successfully booted.