Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sensors work but sensors-detect doesn't [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
frugal_guy
n00b
n00b


Joined: 15 Jan 2006
Posts: 29
Location: Oregon, USA

PostPosted: Mon Jan 23, 2006 4:22 pm    Post subject: sensors work but sensors-detect doesn't [SOLVED] Reply with quote

I recently built a new system and, following the instructions at http://gentoo-wiki.com/HARDWARE_Sensors was able to get the motherboard sensors working. Last week, I replaced the video card and wanted to get gkrellm2 to display the GPU temp so I starting tweaking things. In the process, I accidentally deleted /etc/conf.d/lm_sensors. :oops:

The good news is that the motherboard and GPU sensors work, but when lm_sensors is started up, I get the following message:

Code:
* /etc/conf.d/lm_sensors does not exist, try running sensors-detect


When I run sensors-detect, I get:

Code:
No i2c device files found. Use prog/mkdev/mkdev.sh to create them.


/usr/bin/sensors shows:
Code:
w83627hf-isa-0290
Adapter: ISA adapter
VCore 1:   +1.33 V  (min =  +0.00 V, max =  +4.08 V)
VCore 2:   +1.49 V  (min =  +0.00 V, max =  +4.08 V)
+3.3V:     +3.30 V  (min =  +2.82 V, max =  +3.79 V)
+5V:       +5.16 V  (min =  +4.06 V, max =  +4.46 V)
+12V:     +12.22 V  (min =  +8.94 V, max =  +3.59 V)
-12V:      +1.70 V  (min =  -4.55 V, max =  +3.18 V)
-5V:       +2.49 V  (min =  -1.33 V, max =  -0.73 V)
V5SB:      +5.59 V  (min =  +6.83 V, max =  +6.85 V)
VBat:      +1.54 V  (min =  +2.29 V, max =  +0.69 V)
Case Fan:    0 RPM  (min =    0 RPM, div = 2)
CPU Fan:     0 RPM  (min = 4500 RPM, div = 2)
fan3:        0 RPM  (min = 1520 RPM, div = 8)
M/B Temp:    +28 C  (high =   +34 C, hyst =   -37 C)   sensor = thermistor
CPU Temp:  +29.5 C  (high =   +80 C, hyst =   +75 C)   sensor = thermistor
temp3:     +25.0 C  (high =   +80 C, hyst =   +75 C)   sensor = thermistor
vid:      +0.000 V  (VRM Version 2.4)
alarms:
beep_enable:
          Sound alarm disabled


"ls /sys/bus/i2c/devices/9191-0290" shows all the sensors.

I'm running 2.6.14-gentoo-r5.

I suspect that I can hack things to get rid of the lm_sensors warning on boot, but I would like to know if anyone has any suggestions on how to fix sensors-detect so that I can resolve this correctly.

BTW: I have tried "modprobe i2c-dev" as suggested in the WIKI. It didn't help.

Mike


Last edited by frugal_guy on Mon Jan 23, 2006 5:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
tost
Guru
Guru


Joined: 10 Dec 2005
Posts: 506

PostPosted: Mon Jan 23, 2006 4:28 pm    Post subject: Reply with quote

I had the same error yesterday.

You have to modify your kernel.
I2C Support --> I2C Hardware Bus Support

Then type lspci and choose the right one ;-)

Also you have to activate CONFIG_I2C_CHARDEV

This solves the problem for me..

edit: If you built everything directly into the kernel (not as a module) you needn´t start lm_sensors in a runlevel

tost
Back to top
View user's profile Send private message
frugal_guy
n00b
n00b


Joined: 15 Jan 2006
Posts: 29
Location: Oregon, USA

PostPosted: Mon Jan 23, 2006 5:20 pm    Post subject: sensors work but sensors-detect doesn't [SOLVED] Reply with quote

tost wrote:
You have to modify your kernel.
I2C Support --> I2C Hardware Bus Support

Then type lspci and choose the right one ;-)


I had missed
Code:
00:07.0 ISA bridge: ALi Corporation M1563 HyperTransport South Bridge (rev 70)
the previous times I went through this. Building it into the kernel allowed sensors-detect to run correctly.

Since I had built everything into the kernel instead of into modules, I also didn't need to start lm_sensors anyway.

So, not starting lm_sensors at boot removed the error message and rebuilding the kernel with the ISA bridge enabled fixed sensors-detect. So my problem is fix two ways.

Tost - Thanks for the quick response!
Back to top
View user's profile Send private message
tost
Guru
Guru


Joined: 10 Dec 2005
Posts: 506

PostPosted: Mon Jan 23, 2006 8:04 pm    Post subject: Reply with quote

I´m glad that i could helped ;-)

tost
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum