LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS - Lm_Sensors (https://www.linuxquestions.org/questions/linux-newbie-8/centos-lm_sensors-773803/)

~sHyLoCk~ 12-06-2009 10:06 AM

CentOS - Lm_Sensors
 
Well I couldn't find a section for CentOS so I'm posting my problem here, plus I'm a newbie to CentOS. I am using 5.4 x86_64, when I run:
/usr/sbin/sensors-detect
Code:

# /usr/sbin/sensors-detect
# sensors-detect revision 5291 (2008-06-23 23:40:46 -0700)

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):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
If you have undetectable or unsupported I2C/SMBus 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):
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.

Next adapter: SMBus I801 adapter at 2000 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                    No
Probing for `Analog Devices ADM1034'...                    No
Probing for `SPD EEPROM'...                               
Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                    No
Probing for `Analog Devices ADM1034'...                    No
Probing for `SPD EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No

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): 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

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):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                  No
Trying family `SMSC'...                                    Yes
Found unknown chip with ID 0x8603
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 south bridges, CPUs or memory controllers may also contain
embedded sensors. Do you want to scan for them? (YES/no):
Silicon Integrated Systems SIS5595...                      No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                  No
AMD K10 thermal sensors...                                  No
Intel AMB FB-DIMM thermal sensor...                        No

Sorry, no sensors were detected.
Either your sensors are not supported, or they are connected to an
I2C or SMBus adapter that is not supported. See doc/FAQ,
doc/lm_sensors-FAQ.html or http://www.lm-sensors.org/wiki/FAQ
(FAQ #4.24.3) for further information.
If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.

Any ideas?

TB0ne 12-06-2009 10:15 AM

Quote:

Originally Posted by ~sHyLoCk~ (Post 3781787)
Well I couldn't find a section for CentOS so I'm posting my problem here, plus I'm a newbie to CentOS. I am using 5.4 x86_64, when I run:
/usr/sbin/sensors-detect

Sorry, no sensors were detected.

Any ideas?

Not to sound snotty, but it would appear your system doesn't have sensors. What kind of hardware do you have?

~sHyLoCk~ 12-06-2009 10:54 AM

Quote:

Originally Posted by TB0ne (Post 3781795)
Not to sound snotty, but it would appear your system doesn't have sensors. What kind of hardware do you have?

Sorry that's not it. My system is quite new and lm-sensors work well in every other distro. However, this is a known issue with lm-sensors and centOS. Reason? Backdated packages. It doesn't detect newer hardwares. Even though this PC is only a year old, it's only a few hours old in centOS land. If you know what I mean. I was hoping a centOS user could help me out or give me any tips as I'm not familiar with centOS and rpms.

Regards

catkin 12-06-2009 11:07 AM

Sorry -- no CentOS knowldege but ...

You could determine which sensor chips are incorporated in the hardware from running sensors-detect under other OS(es) along with which kernel modules are used to read them -- and then try loading equivalent modules in CentOS. AIUI sensors-detect is simply a best-safe-efforts tool to determine which modules are required.

lazlow 12-06-2009 02:15 PM

Compare the version of Lm_sensors available from Centos and the version that worked with other distros. RHEL/Centos is all about maximum stability so by its very nature RHEL/Centos will have older (more thoroughly checked) versions of any given package. You probably can rebuild the lm_sensors rpm using the newer source code to get your chipset supported.


Since Centos is RHEL sans the logos, Centos specific questions go to the RH section.

WeBMartians 03-14-2012 01:15 PM

...probably not timely, but here goes:

/sbin/modprobe <moduleName>
for example, /sbin/modprobe w83627ehf
/usr/sbin/sensors-detect < /usr/bin/yes YES

will fix, probably, the problem (must ensure that the module is loaded before launching sensors-detect)...


All times are GMT -5. The time now is 09:47 AM.