← Back to team overview

sslug-teknik team mailing list archive

lm-sensors

 

Jeg er igang med at forsøge på at installere, og sætte lm-sensors op, så jeg
kan bruge ksensors, i readmefilen står der

|Then run the script:
|sensors-detect
|it will show the lm-sensors modules you must install for your motherboard.

Hvor jeg så er nået til hvor den siger

|I will now generate the commands needed to load the I2C modules.
| Sometimes, a chip is available both through the ISA bus and an I2C bus.
| ISA bus access is faster, but you need to load an additional driver module
| for it. If you have the choice, do you want to use the ISA bus or the
| I2C/SMBus (ISA/smbus)? isa

|To make the sensors modules behave correctly, add these lines to
|/etc/modules.conf:

|#----cut here----
|# I2C module options
|alias char-major-89 i2c-dev
|#----cut here----

Det har jeg så gjort.

|To load everything that is needed, add this to some /etc/rc* file:

|#----cut here----
|# I2C adapter drivers
|modprobe i2c-viapro
|modprobe i2c-isa
|# I2C chip drivers
|modprobe lm80
|modprobe eeprom
|modprobe via686a
|# sleep 2 # optional
|/usr/local/bin/sensors -s # recommended
|#----cut here----

Og her er det så filmen knækker for mig, hvilke(n) fil skal jeg tilføje
ovenstående til, og hvorfor den/dem?


WARNING! If you have some things built into your kernel, the list above
will contain too many modules. Skip the appropriate ones! You really should
try these commands right now to make sure everything is working properly.
Monitoring programs won't work until it's done.

Do you want to generate /etc/sysconfig/lm_sensors? (YES/no):



Follow ups