Walter Kerkhofs wrote:
Op dinsdag 17 oktober 2006 06:41, schreef Pierre Patino:
When shutting down the computer I always saw a warning in red about acpid, so i decided to do something about it. lm sensors has nothing to do with acpid. Where must I put the generated lines in ?
If you are using the package from SuSE, it says when you set it up.
And where do I have to put these lines:
#I2C adapter drivers modprobe i2c-viapro modprobe i2c-isa #I2C chip drivers modprobe eeprom #Warning the required module smbus-arp is not currently installed on your system. #For status of 2.6 kernel ports see htpp://secure.netroedge.com/~Im78/supported.html #If driver is built-in to the kernel, or unavailable, comment out the following line. modprobe smbus-arp modprobe w83627hf #sleep 2 # optional /usr/bin/sensors -s # recommended
This looks like the init.d script, but not completely. Check /usr/share/doc/packages/sensors/prog/init/lm_sensors.init.suse and copy it to /etc/init.d and rename to lm_sensors. The sensors-detect script should create automatically /etc/sysconfig/lm_sensors with the list of modules you will be loading. The line:
alias char-major-89 i2c-dev
is indeed already in /etc/modprobe.conf, so that is already solved.
Correct, this is done by SUSE
But before putting the other lines in place I ran:
/usr/bin/sensors -c /etc/sensors.conf
and got this as a result:
w83697hf-isa-0290 Adapter: ISA adapter VCore: +1.54 V (min = +1.71 V, max = +1.89 V) ALARM +3.3 V: +3.28 V (min = +3.14 V, max = +3.47 V) ALARM +5V: +5.08 V (min = +4.76, max = +5.24 V) ALARM +12V: +11.13 V (min = +10.82 V, max = +13.19V) ALARM -12V: +0.55 V (min = -13.18 V, max = -10.80 V) ALARM -5V: +5.10 V (min = -5.25 V, max = -4.75 V) ALARM V5SB: +5.46 V (min = +4.76 V, max = +5.24 V) ALARM VBat: +0.51 V (min = +2.40 V, max = +3.60 V) ALARM fan1: 0 RPM (min = 417 RPM, div = 32) ALARM fan2: 3183 RPM (min = 17763 RPM, div = 2) ALARM
These mean you need to tweak /etc/sensors.conf for your chips (every motherboard may need this).
temp1: +32° C (high = +34°C, hyst = +76°C) sensor = thermistor
temp2: +29.5°C (high = +80°C, hyst = +75°C) sensor = thermistor
alarms: chasis intrusion detection ALARM beep_enable: Sound alarm disabled
Chassis intrusion is a feature on your motherboard, not because you opened the case. It is probably disabled.
The alarm about the chasis intrusion detection that I can understand, because I have opened the chasis once.
But the rest I do not know ?
Read some of the documentation. You will need to tweak the settings in /etc/sensors.conf to make the output relevant for your motherboard.
Does anyone know what is wrong ?
It needs configuration, like most programs. But TBO, this will only get your sensors program going, it will have no effect on your acpid problem. -- Joe Morris Registered Linux user 231871