Magnia LCD: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
Line 11: Line 11:
if you want output in celsius instead of fahrenheit
if you want output in celsius instead of fahrenheit


== Ohter additions ==
== Other additions ==


=== Some perl scripts ===
=== Some perl scripts ===

Revision as of 00:13, 29 July 2007

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

Other 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.