Szenzorok

Fórumok

Na, szenzorok terén tök kezdő vagyok. Szóval, kérek mindenkit, e témához csak segítő szándékkal szóljon hozzá! Elegem van abból, hogy gyakran nagyképű beköpéseket kapok csak. Az ilyenekre egyszerűen a trollszűrőt alkalmazom majd.

Szóval, előre bocsátom, gúgliztam, stb, de nem értem a témát! Arról van szó, hogy telepítettem az lm-sensors -t, természetesen rendszergazdaként. Lefuttattam a sensors-detectet is, íme az eredmény:

pv@Csiszilla /Programs/LM-Sensors/Settings]sensors-detect
# sensors-detect revision 5108 (2008-01-22 13:22:47 +0100)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): y
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801EB ICH5

We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.

To continue, we need module `i2c-dev' to be loaded.
Do you want to load `i2c-dev' now? (YES/no): y
Module loaded successfully.

We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.

Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM78-J' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Probing for `Silicon Integrated Systems SIS5595'... No
Probing for `VIA VT82C686 Integrated Sensors'... No
Probing for `VIA VT8231 Integrated Sensors'... No
Probing for `IPMI BMC KCS' at 0xca0... No
Probing for `IPMI BMC SMIC' at 0xca8... No

Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... Yes
Found `Winbond W83627HF/F/HG/G Super IO Sensors' Success!
(address 0x290, driver `w83627hf')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No

Some CPUs or memory controllers may also contain embedded sensors.
Do you want to scan for them? (YES/no): y
AMD K8 thermal sensors... No
AMD K10 thermal sensors... No
Intel Core family thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `w83627hf' (should be inserted):
Detects correctly:
* ISA bus, address 0x290
Chip `Winbond W83627HF/F/HG/G Super IO Sensors' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): y
Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
for initialization at boot time.
You should now start the lm_sensors service to load the required
kernel modules.

Na de most hogyan tovább?! Miféle modulokat kéne nekem betölteni, és hogyan?! Meg karattyol itt nekem valami i2c-ről, de fogalmam sincs róla, az mi.

Hozzászólások

"Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
for initialization at boot time."

# cp /prog/init/lm_sensors.init /etc/init.d/lm_sensors

"You should now start the lm_sensors service to load the required
kernel modules." --> a modulokat majd betölti az lm_sensors

# /etc/init.d/lm_sensors start

SZERK: lehet, hogy a start nem kell a végére (nem használtam még az lm_sensors-t)

/mazursky

Nálam nincs init.d könyvtár. Ez azonban még hagyján, az igazi nagy baj az, hogy nincs lm_sensors progim sem! Van egy állományom ilyen néven, a /System/Settings könyvtár (ez a disztrómban az /etc -nek felel meg) sysconfig könyvtárában, de az nem futtatható állomány, és ez a tartalma:

pv@Csiszilla /System/Settings/sysconfig]cat lm_sensors
# /etc/sysconfig/lm_sensors - Defines modules loaded by
# /etc/init.d/lm_sensors
# Copyright (c) 1998 - 2001 Frodo Looijaard
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
# See also the lm_sensors homepage at:
# http://www.lm-sensors.org/
#
# This file is used by /etc/init.d/lm_sensors and defines the modules to
# be loaded/unloaded. This file is sourced into /etc/init.d/lm_sensors.
#
# The format of this file is a shell script that simply defines the modules
# in order as normal variables with the special names:
# MODULE_0, MODULE_1, MODULE_2, etc.
#
# List the modules that are to be loaded for your system
#
# Generated by sensors-detect on Fri Mar 7 01:02:33 2008
MODULE_0=w83627hf

A telepítéskor a következő végrehajtható állományok települtek nálam e progival kapcsolatban:

sensors sensors-conf-convert
fancontrol isadump isaset pwmconfig sensors-detect
-------------
:::A GoboLinux felhasználók hivatalos magyar fóruma: http://linux.birodalom.net/smf
:::A #86-os sorszámú hivatalosan bejegyzett GoboLinux felhasználó

Ez a parancs semmit nem ír ki.

vz@Csiszilla ~]lsmod |grep w83627hf
vz@Csiszilla ~]sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
vz@Csiszilla ~]

-------------
:::A GoboLinux felhasználók hivatalos magyar fóruma: http://linux.birodalom.net/smf
:::A #86-os sorszámú hivatalosan bejegyzett GoboLinux felhasználó

Ah, tényleg a modprobe! Oké, köszi, máris kiírja a dolgokat!

pv@Csiszilla ~]modprobe w83627hf
pv@Csiszilla ~]sensors
w83627hf-isa-0290
Adapter: ISA adapter
VCore 1: +1.50 V (min = +0.00 V, max = +4.08 V)
VCore 2: +2.61 V (min = +0.00 V, max = +4.08 V)
+3.3V: +3.31 V (min = +2.82 V, max = +3.79 V)
+5V: +5.08 V (min = +0.05 V, max = +0.86 V)
+12V: +12.16 V (min = +0.00 V, max = +0.00 V)
-12V: -7.01 V (min = -14.91 V, max = -14.91 V)
-5V: -3.69 V (min = -7.71 V, max = -7.71 V)
V5SB: +5.43 V (min = +0.22 V, max = +0.86 V)
VBat: +3.25 V (min = +0.26 V, max = +0.00 V)
fan1: 2721 RPM (min = 332 RPM, div = 16)
fan2: 0 RPM (min = 332 RPM, div = 16)
fan3: 0 RPM (min = 332 RPM, div = 16)
temp1: +25.0°C (high = +0.0°C, hyst = +0.0°C) sensor = thermistor
temp2: +35.5°C (high = +85.0°C, hyst = +80.0°C) sensor = diode
temp3: +28.0°C (high = +85.0°C, hyst = +80.0°C) sensor = thermistor
cpu0_vid: +0.000 V
beep_enable:enabled

-------------
:::A GoboLinux felhasználók hivatalos magyar fóruma: http://linux.birodalom.net/smf
:::A #86-os sorszámú hivatalosan bejegyzett GoboLinux felhasználó