[LinuxBIOS] s2881 fan control
Ward Vandewege
ward at gnu.org
Fri May 5 22:57:17 CEST 2006
On Thu, Apr 20, 2006 at 04:59:52PM -0700, Lu, Yinghai wrote:
> I have inited the hw sensors in LinuxBIOS for s2881. So you could use
> lmsensor to check the FAN speed. The config file is on Tyan web.
>
> For the Fan control, there should more some reg setting...to reduce the
> FAN speed winbond and adm1027...
An update on this.
As I reported earlier, setting fan speed works fine from LinuxBIOS. But it
seems this is only the case until I unplug the power from the machine.
When the machine is newly powered in, I need to boot up the proprietary bios
first to be able to _set_ the fan speed.
Once I've done that, I can reboot into LinuxBIOS, and set the speed just fine
using
/sys/bus/i2c/drivers/lm85/0-002d/pwm1
for instance like this:
echo '60' > /sys/bus/i2c/drivers/lm85/0-002d/pwm1
See attached set_fan_speed_ok.txt for a typical output.
I can shut the machine down, do a cold boot into LinuxBIOS, and it still
works.
Until I unplug the power to the machine, that is.
After that, I can still read out everything (see attached
set_fan_speed_bad.txt) correctly, but now also _set_ the fan speed.
Suggestions?
Thanks,
Ward.
--
Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior System Administrator
-------------- next part --------------
root at chimera:~# /usr/bin/sensors
adt7463-i2c-0-2d
Adapter: SMBus AMD8111 adapter at 20e0
DDR 2.5V: +2.653 V (min = +2.53 V, max = +2.79 V)
DDR VTT: +1.333 V (min = +1.23 V, max = +1.36 V)
3VSB: +3.317 V (min = +3.13 V, max = +3.47 V)
+5 V: +5.111 V (min = +4.74 V, max = +5.26 V)
+12V: +12.016 V (min = +10.81 V, max = +13.19 V)
CPU0 Fan: 17307 RPM (min = 0 RPM)
CPU1 Fan: 17419 RPM (min = 0 RPM)
Fan9: 17307 RPM (min = 0 RPM)
CPU1 Temp:+47.25?C (low = -127?C, high = +127?C)
CPU0 Temp:+49.50?C (low = -127?C, high = +127?C)
pwm1: 255
pwm2: 255
pwm3: 255
vid: +1.350 V (VRM Version 2.4)
w83627hf-isa-0290
Adapter: ISA adapter
CPU0 Volt: +1.41 V (min = +1.28 V, max = +1.42 V)
CPU1 Volt: +1.41 V (min = +1.28 V, max = +1.42 V)
3.3V: +3.46 V (min = +3.14 V, max = +3.47 V)
DDR VREF: +1.33 V (min = +1.23 V, max = +1.36 V)
DDR VCORE: +2.67 V (min = +2.38 V, max = +2.93 V)
HT CORE: +1.34 V (min = +1.26 V, max = +1.39 V)
CPU0 Fan: 17307 RPM (min = 2657 RPM, div = 2)
CPU1 Fan: 18243 RPM (min = 2657 RPM, div = 2)
Fan8: 15697 RPM (min = 2657 RPM, div = 2)
vid: +1.350 V (VRM Version 2.4)
alarms:
beep_enable:
Sound alarm disabled
eeprom-i2c-0-54
Adapter: SMBus AMD8111 adapter at 20e0
Memory type: DDR SDRAM DIMM
Memory size (MB): 1024
eeprom-i2c-0-50
Adapter: SMBus AMD8111 adapter at 20e0
Memory type: DDR SDRAM DIMM
Memory size (MB): 1024
-------------- next part --------------
root at chimera:~# /usr/bin/sensors
adt7463-i2c-0-2d
Adapter: SMBus AMD8111 adapter at 10e0
DDR 2.5V: +2.646 V (min = +2.53 V, max = +2.80 V)
DDR VTT: +1.324 V (min = +1.23 V, max = +1.36 V)
3VSB: +3.321 V (min = +3.13 V, max = +3.47 V)
+5 V: +5.104 V (min = +4.74 V, max = +5.26 V)
+12V: +12.063 V (min = +10.81 V, max = +13.19 V)
CPU0 Fan: 11273 RPM (min = 0 RPM)
CPU1 Fan: 11464 RPM (min = 0 RPM)
Fan9: 11320 RPM (min = 0 RPM)
CPU1 Temp:+48.25?C (low = -127?C, high = +127?C)
CPU0 Temp:+49.00?C (low = -127?C, high = +127?C)
pwm1: 60
pwm2: 60
pwm3: 60
vid: +1.350 V (VRM Version 2.4)
w83627hf-isa-0290
Adapter: ISA adapter
CPU0 Volt: +1.41 V (min = +1.28 V, max = +1.42 V)
CPU1 Volt: +1.41 V (min = +1.28 V, max = +1.42 V)
3.3V: +3.46 V (min = +3.14 V, max = +3.47 V)
DDR VREF: +1.34 V (min = +1.23 V, max = +1.36 V)
DDR VCORE: +2.66 V (min = +2.42 V, max = +2.96 V)
HT CORE: +1.33 V (min = +1.26 V, max = +1.39 V)
CPU0 Fan: 11250 RPM (min = 2657 RPM, div = 2)
CPU1 Fan: 11842 RPM (min = 2657 RPM, div = 2)
Fan8: 10546 RPM (min = 2657 RPM, div = 2)
vid: +1.350 V (VRM Version 2.4)
alarms:
beep_enable:
Sound alarm disabled
eeprom-i2c-0-54
Adapter: SMBus AMD8111 adapter at 10e0
Memory type: DDR SDRAM DIMM
Memory size (MB): 1024
More information about the coreboot
mailing list