You are not logged in.

#1 2005-01-24 00:23:13

di0
Member
From: Sweden
Registered: 2004-03-21
Posts: 10

setup lm_sensors : im stuck

I have tried setup lm_sensors for reading cpu temp, but i do fail.
I use udev, i believe it can have something with that to do

[root@archbox dio]# sensors-detect
No i2c device files found. Use prog/mkdev/mkdev.sh to create them.
[root@archbox dio]#

i downloaded the sources with abs and run the above script and after that i can run sensors-detect but after rebooting the system all is back to failure.

When i DO run the sensors-detect it tells me to load the w83627hf but when i try to do that i get following result:

FATAL: Error inserting w83627hf (/lib/modules/2.6.10-ARCH/kernel/drivers/i2c/chips/w83627hf.ko): No such device


sensors-detect output:

[root@archbox lm_sensors]# sensors-detect

This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.

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.
You do not need any special privileges for this.
Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801EB ICH5
Probe succesfully concluded.

We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
If you have undetectable or unsupported 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.
If it is built-in into your kernel, you can safely skip this.
i2c-dev is not loaded. Do you want to load it now? (YES/no):
Module loaded succesfully.

We are now going to do the adapter probings. Some adapters may hang halfway
through; we can't really help that. Also, some chips will 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. That often
includes address 0x69 (clock chip).

Next adapter: SMBus I801 adapter at 0c00
Do you want to scan it? (YES/no/selectively):
Client found at address 0x08
Client found at address 0x2f
Probing for `National Semiconductor LM78'... Failed!
Probing for `National Semiconductor LM78-J'... Failed!
Probing for `National Semiconductor LM79'... Failed!
Probing for `National Semiconductor LM80'... Failed!
Probing for `Winbond W83781D'... Failed!
Probing for `Winbond W83782D'... Failed!
Probing for `Winbond W83791D'... Failed!
Probing for `Winbond W83792D'... Failed!
Probing for `Winbond W83791SD'... Failed!
Probing for `Winbond W83627HF'... Failed!
Probing for `Asus AS99127F (rev.1)'... Failed!
Probing for `Asus AS99127F (rev.2)'... Failed!
Probing for `Asus ASB100 Bach'... Failed!
Probing for `Analog Devices ADM9240'... Failed!
Probing for `Dallas Semiconductor DS1780'... Failed!
Probing for `National Semiconductor LM81'... Failed!
Probing for `Analog Devices ADM1029'... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'... Failed!
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... Failed!
Client found at address 0x50
Probing for `SPD EEPROM'... Success!
    (confidence 8, driver `eeprom')
Probing for `DDC monitor'... Failed!
Probing for `Maxim MAX6900'... Failed!
Client found at address 0x69

Some chips are also accessible through the ISA bus. ISA probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. This is usually safe though.

Do you want to scan the ISA bus? (YES/no):
Probing for `National Semiconductor LM78'
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
  Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
  Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
  Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
  Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
  Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
  Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
  Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
  Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
  Trying address 0x0290... Success!
    (confidence 8, driver `it87')
Probing for `IPMI BMC KCS'
  Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
  Trying address 0x0ca8... Failed!

Some Super I/O chips may also contain sensors. Super I/O probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. This is usually safe though.

Do you want to scan for Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
  Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
  Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
  Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
  Failed! (skipping family)

Do you want to scan for secondary Super I/O sensors? (YES/no):
Probing for `ITE 8702F Super IO Sensors'
  Failed! (skipping family)
Probing for `Nat. Semi. PC87351 Super IO Fan Sensors'
  Failed! (skipping family)
Probing for `SMSC 47B27x Super IO Fan Sensors'
  Failed! (skipping family)
Probing for `VT1211 Super IO Sensors'
  Failed! (0x82)
Probing for `Winbond W83627HF Super IO Sensors'
  Failed! (0x82)
Probing for `Winbond W83627THF Super IO Sensors'
  Success... found at address 0x0290
Probing for `Winbond W83637HF Super IO Sensors'
  Failed! (0x82)
Probing for `Winbond W83697HF Super IO Sensors'
  Failed! (0x82)
Probing for `Winbond W83697SF/UF Super IO PWM'
  Failed! (0x82)
Probing for `Winbond W83L517D Super IO'
  Failed! (0x82)

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

Driver `eeprom' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at 0c00' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x50
    Chip `SPD EEPROM' (confidence: 8)

Driver `it87' (may not be inserted):
  Misdetects:
  * ISA bus address 0x0290 (Busdriver `i2c-isa')
    Chip `ITE IT8705F / IT8712F / SiS 950' (confidence: 8)

Driver `w83627hf' (should be inserted):
  Detects correctly:
  * ISA bus address 0x0290 (Busdriver `i2c-isa')
    Chip `Winbond W83627THF Super IO Sensors' (confidence: 9)


I will now generate the commands needed to load the I2C modules.
Sometimes, a chip is available both through the ISA bus and an I2C bus.
ISA bus access is faster, but you need to load an additional driver module
for it. If you have the choice, do you want to use the ISA bus or the
I2C/SMBus (ISA/smbus)?

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

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83627hf
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----

WARNING! If you have some things 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 it's done.

Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): no


Coaching 'The slaughters' in Hattrick
www.hattrick.org

Offline

#2 2005-01-24 03:32:51

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: setup lm_sensors : im stuck

To get lm_sensors working, I had to load the following modules, in the following order:
i2c-isa i2c-sensor w83627hf


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#3 2005-01-24 15:56:26

di0
Member
From: Sweden
Registered: 2004-03-21
Posts: 10

Re: setup lm_sensors : im stuck

tested that but no different, but i think i have found where the problem is. There is a IO-conflict in the new kernel (2.6.10) with this winbond sensor and the ACPI plug and play so i will try to recompile the kernel without support for this and try again.


Coaching 'The slaughters' in Hattrick
www.hattrick.org

Offline

#4 2005-01-24 17:38:55

di0
Member
From: Sweden
Registered: 2004-03-21
Posts: 10

Re: setup lm_sensors : im stuck

by the way, solved the udev thing with doing "modprobe i2c-dev" before runnning sensors-detect  tongue

Now i need to learn how to compile the kernel the way i want it. What does the ACPI-patch do? roll

Maybe this is what i am looking for?


Coaching 'The slaughters' in Hattrick
www.hattrick.org

Offline

#5 2005-01-24 19:42:31

MaceM
Member
From: Austria
Registered: 2003-11-26
Posts: 47

Re: setup lm_sensors : im stuck

you may update the sensors wiki entry if you like wink

Offline

#6 2005-01-24 21:31:16

di0
Member
From: Sweden
Registered: 2004-03-21
Posts: 10

Re: setup lm_sensors : im stuck

Oops! didnt see that one  :oops:  roll  wink


Coaching 'The slaughters' in Hattrick
www.hattrick.org

Offline

#7 2005-01-27 12:56:19

di0
Member
From: Sweden
Registered: 2004-03-21
Posts: 10

Re: setup lm_sensors : im stuck

OK, my sensors work with kernel26mm but not the "arch" one.
motherboard MSI neo2-V (intel 865pe chipset)

It seems to be the ACPI plug and Play function that is interfering with my sensor w83627hf ... bad ...


Coaching 'The slaughters' in Hattrick
www.hattrick.org

Offline

#8 2005-01-28 21:14:33

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: setup lm_sensors : im stuck

I got it all working thnx to the wiki page but...

1. why doesn't it detect my cpu fan speed???

2. Is Vcore2 voltage showing the voltage of my ram?

Offline

#9 2005-01-29 16:56:13

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: setup lm_sensors : im stuck

Does your BIOS detect the CPU fan speed? If not, there's your problem: the fan has to be connected to a special fan header on your mainboard to enable RPM-readouts. In some cases, you may not want to connect the fan directly to your mainboard tho. If you have a powerful fan like a 50 dB Delta that can take your fingers off if you try to stop it, connecting it to the fan headers is a bad idea: the fan is very powerful so it drains a lot of power and mainboards simply can't deliver it (they'll die a lot faster). It's better to connect the fan to a molex (white powerplug on your PSU) and just do without the RPM reading. You could, however, connect it to a molex but disconnect the "RPM-reading cable" (one of the 3 cables in the fan) and attach a plug to it so you can connect it the fanheader. This way you won't kill your mainboard and still have the RPM readout. It takes a little craftsmanship and balls tho.

If you do get a readout in the BIOS, you'll have to fiddle around with lm_sensors'  configfile: it might print the info on with the wrong title.
The same goes for your RAM-voltage: right down the figures and compare them to the readouts in the BIOS. This way you'll know which number means what.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#10 2005-01-30 12:29:11

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: setup lm_sensors : im stuck

My BIOS is reading the cpu fan speed just fine. Even the Windoze application called AbitEQ displays the informations correctly. Maybe i'll run through sensors-detect again and actually read the weird questions it asks. Anyway, at the beggining it says that it's safe to answer 'YES' to all of the questions, unless you know what you're doing lol

As for the Vcore2 voltage, yes I think it stands for Vdimm becuase the value shown in BIOS is the same.

Offline

#11 2005-02-01 08:27:46

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: setup lm_sensors : im stuck

You should check out /etc/sensors.conf. You can put the right label with the right sensor there.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

Board footer

Powered by FluxBB