Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] sensors available, lm_sensors does not use
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
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Tue Jun 23, 2009 4:47 pm    Post subject: [SOLVED] sensors available, lm_sensors does not use Reply with quote

Code:
$ 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 82801EB ICH5

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.

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 fc00 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x2e
Handled by driver `lm85' (already loaded), chip type `adt7463'
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

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
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):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     Yes
Found unknown chip with ID 0x6e00
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 Core family thermal sensor...                         No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal and voltage sensors...                       No

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

Driver `lm85' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at fc00'
    Busdriver `i2c-i801', I2C address 0x2e
    Chip `adt7463' (confidence: 6)

To load everything that is needed, execute the commands below...

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----end cut here----
Do you want to overwrite /etc/conf.d/lm_sensors? Enter s for other filename (YES/no/s): YES
Done.
You should now start the lm_sensors service to load the required
kernel modules.

$ modprobe i2c-i801
$ modprobe lm85
$ sensors -s
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

$ ls /sys/devices/pci0000:00/0000:00:1f.3/i2c-adapter/i2c-0/0-002e/
alarms      in1_max               pwm1_enable           temp1_min
cpu0_vid    in1_min               pwm2                  temp2_alarm
driver      in2_alarm             pwm2_auto_channels    temp2_auto_temp_crit
fan1_alarm  in2_input             pwm2_auto_pwm_freq    temp2_auto_temp_max
fan1_input  in2_max               pwm2_auto_pwm_min     temp2_auto_temp_min
fan1_min    in2_min               pwm2_auto_pwm_minctl  temp2_auto_temp_off
fan2_alarm  in3_alarm             pwm2_enable           temp2_input
fan2_input  in3_input             pwm3                  temp2_max
fan2_min    in3_max               pwm3_auto_channels    temp2_min
fan3_alarm  in3_min               pwm3_auto_pwm_freq    temp3_alarm
fan3_input  in4_alarm             pwm3_auto_pwm_min     temp3_auto_temp_crit
fan3_min    in4_input             pwm3_auto_pwm_minctl  temp3_auto_temp_max
fan4_alarm  in4_max               pwm3_enable           temp3_auto_temp_min
fan4_input  in4_min               subsystem             temp3_auto_temp_off
fan4_min    modalias              temp1_alarm           temp3_fault
hwmon       name                  temp1_auto_temp_crit  temp3_input
in0_alarm   power                 temp1_auto_temp_max   temp3_max
in0_input   pwm1                  temp1_auto_temp_min   temp3_min
in0_max     pwm1_auto_channels    temp1_auto_temp_off   uevent
in0_min     pwm1_auto_pwm_freq    temp1_fault           vrm
in1_alarm   pwm1_auto_pwm_min     temp1_input
in1_input   pwm1_auto_pwm_minctl  temp1_max

$ ls /sys/class/hwmon/hwmon0/device/
alarms      in1_max               pwm1_enable           temp1_min
cpu0_vid    in1_min               pwm2                  temp2_alarm
driver      in2_alarm             pwm2_auto_channels    temp2_auto_temp_crit
fan1_alarm  in2_input             pwm2_auto_pwm_freq    temp2_auto_temp_max
fan1_input  in2_max               pwm2_auto_pwm_min     temp2_auto_temp_min
fan1_min    in2_min               pwm2_auto_pwm_minctl  temp2_auto_temp_off
fan2_alarm  in3_alarm             pwm2_enable           temp2_input
fan2_input  in3_input             pwm3                  temp2_max
fan2_min    in3_max               pwm3_auto_channels    temp2_min
fan3_alarm  in3_min               pwm3_auto_pwm_freq    temp3_alarm
fan3_input  in4_alarm             pwm3_auto_pwm_min     temp3_auto_temp_crit
fan3_min    in4_input             pwm3_auto_pwm_minctl  temp3_auto_temp_max
fan4_alarm  in4_max               pwm3_enable           temp3_auto_temp_min
fan4_input  in4_min               subsystem             temp3_auto_temp_off
fan4_min    modalias              temp1_alarm           temp3_fault
hwmon       name                  temp1_auto_temp_crit  temp3_input
in0_alarm   power                 temp1_auto_temp_max   temp3_max
in0_input   pwm1                  temp1_auto_temp_min   temp3_min
in0_max     pwm1_auto_channels    temp1_auto_temp_off   uevent
in0_min     pwm1_auto_pwm_freq    temp1_fault           vrm
in1_alarm   pwm1_auto_pwm_min     temp1_input
in1_input   pwm1_auto_pwm_minctl  temp1_max

$ cat /sys/class/hwmon/hwmon0/device/cpu0_vid
1525

The needed modules are loaded, the devices are there, the devices even respond; there's tons of stuff for lm_sensors to report on. What can I do to prod it into doing so?
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html


Last edited by Corona688 on Tue Jun 23, 2009 9:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Tue Jun 23, 2009 9:49 pm    Post subject: Reply with quote

I needed to update sysfsutils. AFter that and rerunning sensors-detect it now works.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
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