LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-04-2003, 09:42 PM   #1
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
sensors won't detect


i'm having trouble getting sensors-detect to detect my CPU temp on my RH9 system.

when i run sensors-detect, it gives a "FAILED" for most of them, but does find a couple -- not sure what some of them are. after copying the code it generates into the /etc/rc.d/* file and that other file (module.config, i think it is), when i then run sensors it only gives me some static info about my two memory modules (which doesn't particularly help me a lot, as i already know what those are ).

i'm not exactly sure what modprobe is, but not knowing what else to do i ran it anyway. i didn't know what parameter to give it, so i tried modprobe i2c*. that didn't work, but it said to run dmesg. so i did that, and it seemed to return all kinds of i2c results at the end, a whole host of them, making me think all those are installed correctly (as apparently they are supposed to be automatically for RH?), or are in the "kernel tree" or whatever. okay, so what am i missing?

i can't figure out what i'm doing wrong, or what to do next. what do i need to do to get these $#@&! sensors to work? if you need specific outputs from the commands, LMK and i'll run the detect, dmesg, etc., again and post the printouts. appreciate.

(p.s., i have an Epox mobo w/VIA kt333 chipset and winbond sensors -- i believe the hardware is supported, but maybe i need one of those drivers from the lm_sensors page?)
 
Old 07-04-2003, 10:01 PM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
I'm not yet familiar with reading the temperature sensors with linux, but I did find several hits on 'sensor*' with the find command. One of the files is /etc/sensors.conf. Possibly you need to make some changes in there.

Good luck.
 
Old 07-06-2003, 06:41 PM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Original Poster
Rep: Reputation: 47
it doesn't even seem to be getting to the point of reading that file, as no temp, voltage, or fan information is being displayed by sensors (and the options are greyed out in gkrellm config panel).

anyone?
 
Old 07-06-2003, 07:07 PM   #4
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
You need the lmsensors drivers and i2c support compiled for your kernel to use the hardware sensors. You can either compile them yourself or find some precompiled modules to insert into your kernel. To get the source run 'apt-get install i2c-source lm-sensors-source' if you have apt installed of course. The i2c source includes useful installation directions. As for the precompiled modules, I'm not sure where to get those. Just trying to point you in the right direction.

Last edited by footfrisbee; 07-06-2003 at 07:08 PM.
 
Old 07-10-2003, 06:06 PM   #5
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Original Poster
Rep: Reputation: 47
Quote:
Originally posted by footfrisbee
You need the lmsensors drivers and i2c support compiled for your kernel to use the hardware sensors. You can either compile them yourself or find some precompiled modules to insert into your kernel. To get the source run 'apt-get install i2c-source lm-sensors-source' if you have apt installed of course. The i2c source includes useful installation directions. As for the precompiled modules, I'm not sure where to get those. Just trying to point you in the right direction.
thanks for the suggestions, but afaik lm_sensors and i2c already are installed in RH9, e.g., http://www.linuxquestions.org/questi...hlight=sensors


otherwise, how would sensors-detect run, or why would dmesg give info about i2c?

[btw: when i do apt-get install i2c-source or lm_sensors-source, it says it can't find those packages.]

i put the output from running sensors-detect:

Code:
#----cut here----
#I2C adapter drivers
modprobe i2c-viapro
# I2C chip drivers
modprobe adm1021
modprobe eeprom
#----cut here----

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

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
options adm1021 ignore=0,0x2b
#----cut here----
into the /etc/rc.d/rc.local and /etc/modules.conf files, respectively, but it gives me some errors about modprobe i think while booting (goes by too fast to read) and does not detect temps. again, running sensors only seems to give some sort of memory module information:

eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 5000
Algorithm: Non-I2C SMBus adapter
Memory type: DDR SDRAM DIMM SPD
SDRAM Size (MB): 256

eeprom-i2c-0-51
Adapter: SMBus Via Pro adapter at 5000
Algorithm: Non-I2C SMBus adapter
Memory type: DDR SDRAM DIMM SPD
SDRAM Size (MB): 256

what am i doing wrong? i'd like to get this solved, b/c i was having cooling issues with my new processor. any help appreciated, or pointers to what i need to do to recompile my kernel (?) so it would work, or where to go for precompiled modules to put in the kernel (?). (pls. keep in mind i am still a newb with only a few weeks of linux experience so nothing too advanced pls, i.e., frankly, the sound of "recompiling the kernel" kind of scares me a little ). thx
 
Old 07-11-2003, 02:59 AM   #6
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
Quote:
but it gives me some errors about modprobe i think while booting (goes by too fast to read) and does not detect temps
Try looking in /var/log/ for the files kern.log, syslog, and messages. These files contain those error messages.

I gave a quick look at the docs for lm-sensors, and it says that lm-sensors requires i2c /proc support. So try adding 'modprobe i2c-proc' before 'modprobe i2c-viapro' in your rc.local. Good luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lm-sensor doesn't detect any sensors chemdawg Linux - General 1 10-24-2005 01:56 PM
i2c and lm_sensors, sensors-detect johnnydangerous Fedora 2 03-15-2005 05:28 PM
detect sensors Santas Linux - Software 3 06-17-2004 10:20 AM
kernel 2.6 sensors-detect OK but : Algorithm unavailable viga Linux - Software 5 02-22-2004 03:22 PM
sensors-detect not working for lmsensors TheOneAndOnlySM Linux - Software 1 11-01-2003 09:57 PM


All times are GMT -5. The time now is 08:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration