Magnia LCD program: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
m New page: === LCD and Fans === The 'lcd' program is available in source code form from the SG20 group area on groups.yahoo.com. I compiled it and hacked in settings for the SG20 (it was written for...
 
Brian Wilson (talk | contribs)
Line 1: Line 1:
related page on Magnia SG20: [[Otter]]
=== LCD and Fans ===
=== LCD and Fans ===



Revision as of 18:14, 13 October 2007

related page on Magnia SG20: Otter

LCD and Fans

The 'lcd' program is available in source code form from the SG20 group area on groups.yahoo.com. I compiled it and hacked in settings for the SG20 (it was written for an SG30) and installed it, now I get proper readings on the lcd display and I can control the fans! THANKS Hans-Michael and Eric! It uses the lm-sensors and smartmonctl packages.

I added a Fahrenheit option to the command line, see /etc/default/lcd Source code is in /usr/src/lcd-2.2.1/

The lm-sensors package adds the ability to read the system sensors. The standard Ubuntu 2.6 kernel + lm-sensors will give you output like this:

# sensors
via686a-isa-6000
Adapter: ISA adapter
CPU core:  +1.76 V  (min =  +0.06 V, max =  +3.10 V)   
+2.5V:     +2.48 V  (min =  +2.36 V, max =  +2.61 V)   
I/O:       +3.36 V  (min =  +3.12 V, max =  +3.45 V)   
+5V:       +5.03 V  (min =  +4.73 V, max =  +5.20 V)   
+12V:     +11.59 V  (min = +11.35 V, max = +12.48 V)   
CPU Fan:  5720 RPM  (min =    0 RPM, div = 2)          
P/S Fan:  5578 RPM  (min =    0 RPM, div = 2)          
SYS Temp:  +15.6°C  (high =  +146°C, hyst =  +133°C)   
CPU Temp:  +16.2°C  (high =  +146°C, hyst =  +133°C)   
SBr Temp:  +24.8°C  (high =  +141°C, hyst =   +54°C)

The smartmontools package talks to the hard disk drives, and can get the drive temperature if the drive has a sensor. I have two drives, the Toshiba drive does not have any sensor but the newer Fujitsu drive does.

I added code that will show the current ip addresses.

I added code to allow running a firewall script (on and off) from the front panel button, Now that I have switched to using shorewall I will have to change this.