View previous topic :: View next topic |
Author |
Message |
Despot Despondency Apprentice
Joined: 14 Mar 2009 Posts: 176
|
Posted: Wed Feb 03, 2010 4:09 pm Post subject: Help with sensors-detect [SOLVED] |
|
|
Hi, I'm trying to run sensors-detect to able certain features in conky. I've never done anything like this before and just want to check I'm doing the right thing.
Here's a copy of sensors-detect http://gentoo.pastebin.ca/1777287.
Firstly I built i2c-piix4 and i2c-dev as modules into my kernel so that I could actually run sensors-detect. I then just followed the default answers all the way through.
Code: |
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `to-be-written' (should be inserted):
Detects correctly:
* Chip `AMD K10 thermal sensors' (confidence: 9)
To load everything that is needed, execute the commands below...
#----cut here----
# Chip drivers
# no driver for AMD K10 thermal sensors yet
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----end cut here----
Do you want to generate /etc/conf.d/lm_sensors? Enter s for other filename (yes/NO/s): no
To load everything that is needed, add this to one of the system
initialization scripts (e.g. /etc/rc.d/rc.local):
#----cut here----
# Chip drivers
# no driver for AMD K10 thermal sensors yet
/usr/bin/sensors -s
#----cut here----
If you have some drivers 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 the needed
modules are loaded.
|
I want the sensors for conky, so should I generate /etc/conf.d/lm_sensors and add to an initialization script?
Do I need to have the modules like i2c-piix4 and i2c-dev loaded automatically when I boot up?
What are the other drivers I need to worry about?
TAI and sorry for all the questions.
Last edited by Despot Despondency on Wed Feb 10, 2010 8:14 pm; edited 1 time in total |
|
Back to top |
|
|
comprookie2000 Retired Dev
Joined: 25 Jul 2004 Posts: 925 Location: Sun City Center, Florida
|
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Fri Feb 05, 2010 11:12 pm Post subject: |
|
|
Just have to update to the latest lm-sensors version. Works also with the 2.6.31 kernel. |
|
Back to top |
|
|
Despot Despondency Apprentice
Joined: 14 Mar 2009 Posts: 176
|
Posted: Sun Feb 07, 2010 6:25 pm Post subject: |
|
|
OK, thanks for the replies.
I have a 2.6.31 kernel. I can't find the k10temp module anywhere, any ideas where it is?
I have version 2.10.7 of lm-sensors. Is that the latest version? Seems like it on portage. |
|
Back to top |
|
|
Despot Despondency Apprentice
Joined: 14 Mar 2009 Posts: 176
|
Posted: Sun Feb 07, 2010 7:03 pm Post subject: |
|
|
OK, it seems that k10temp isn't available directly in kernel 2.3.31 yet
https://forums.gentoo.org/viewtopic-t-813030-highlight-lmsensors.html.
I'm thinking of using ACPI interface as suggested in the above thread. Will this be alright?
So now I'm just looking for a basic point-by-point explanation of how to get the sensors to work. Can't find anything like that except for an ubuntu how-to, which I don't really trust.
In my head I think it should be something like this
1) build i2c-piix4, i2c-dev and asus_atk0110 as modules in the kernel
2) Add these modules to nano -w /etc/modules.autoload.d/kernel-2.6
3) run sensors
Am I missing anything? |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Mon Feb 08, 2010 7:22 pm Post subject: |
|
|
Despot Despondency wrote: | OK, it seems that k10temp isn't available directly in kernel 2.3.31 yet
I'm thinking of using ACPI interface as suggested in the above thread. Will this be alright?
|
That works, but not with lm-sensors 2.10.7.
I have the 2.6.31 kernel :
Quote: | Linux JcTux 2.6.31-gentoo-r6 #9 SMP Fri Jan 22 23:56:25 CET 2010 x86_64 AMD Phenom(tm) II X3 720 Processor AuthenticAMD GNU/Linux |
As you cou can see, lm-sensors monitors very well the sensors :
Quote: |
JcTux ~ # sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage: +1.02 V (min = +0.80 V, max = +1.80 V)
+3.3 Voltage: +3.33 V (min = +2.97 V, max = +3.63 V)
+5 Voltage: +5.11 V (min = +4.50 V, max = +5.50 V)
+12 Voltage: +12.29 V (min = +10.20 V, max = +13.80 V)
CPU FAN Speed: 0 RPM (min = 600 RPM)
CHASSIS FAN Speed:3341 RPM (min = 600 RPM)
POWER FAN Speed: 0 RPM (min = 600 RPM)
CPU Temperature: +28.0°C (high = +60.0°C, crit = +95.0°C)
MB Temperature: +28.0°C (high = +45.0°C, crit = +75.0°C)
|
You sould have this version of lm-sensors :
Quote: | JcTux ~ # emerge -p sys-apps/lm_sensors
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-apps/lm_sensors-3.1.1
|
It is masked by default. To have it,
add this line to your /etc/portage/package.keywords
Quote: | sys-apps/lm_sensors ~amd64 | if you are using a 64 bits kernel |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
Despot Despondency Apprentice
Joined: 14 Mar 2009 Posts: 176
|
Posted: Wed Feb 10, 2010 8:14 pm Post subject: |
|
|
OK, cool. I'll give that a go. Thanks |
|
Back to top |
|
|
|