You are not logged in.
Pages: 1
Hi there,
I try to setup lm_sensors on a pretty old rig (Toshiba 4090XCDT) I own to no avail. I followed http://wiki.archlinux.org/index.php/Lm_sensors but all I get is (...)
[orange@arch ~]$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +20.0°C (crit = +95.0°C)
adm1021-i2c-0-4e
Adapter: SMBus PIIX4 adapter at fe70
temp1: +48.0°C (low = -55.0°C, high = +127.0°C)
temp2: +65.0°C (low = -65.0°C, high = +70.0°C)
My goal is to control the speed of the CPU fan that spins all the time at full speed following http://wiki.archlinux.org/index.php/Fan_speed_control
Does anyone have experiences with that particular laptop? Any suggestions I may try to get this running?
Thanks!
Last edited by orange (2009-11-22 21:40:14)
Offline
I solved this problem in the meantime by writing my own fan control script. Not sure if it might be useful for someone else, but I thought sharing it (at least) cannot harm (...)
[orange@arch ~]$ cat /usr/local/bin/fancontrol
#!/bin/sh
if [ "$(sensors | tail -n 3 | awk '/temp1/ {split($2, a, "."); split(a[1], b, "+"); print b[2]}')" -lt 65 ] && [ "$(awk '/running/ {print $2}' /proc/acpi/toshiba/fan)" -eq 1 ]; then
echo "force_on:1" > /proc/acpi/toshiba/fan
echo "force_on:0" > /proc/acpi/toshiba/fan
fi
if [ "$(sensors | tail -n 3 | awk '/temp1/ {split($2, a, "."); split(a[1], b, "+"); print b[2]}')" -gt 70 ] && [ "$(awk '/running/ {print $2}' /proc/acpi/toshiba/fan)" -eq 0 ]; then
echo "force_on:1" > /proc/acpi/toshiba/fan
fi
This fan control script gets executed every 30 seconds as cronjob.
Last edited by orange (2009-11-24 14:42:43)
Offline
Pages: 1