LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lm-sensors help unidentifiable sensor (http://www.linuxquestions.org/questions/linux-newbie-8/lm-sensors-help-unidentifiable-sensor-621542/)

okos 02-16-2008 01:17 AM

lm-sensors help unidentifiable sensor
 
Hi
I have an Dell inspiron 5150 laptop.
Im trying to compile a generic kernel and Im stuck on a snag.
Im looking for hardware support for the thermal sensor.
This is what I get from sensors-detect:
Code:

sensors-detect
# sensors-detect revision 4348 (2007-03-18 02:45:21 -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): YES
Probing for PCI bus adapters...
Sorry, no known PCI bus adapters found.

We will now try to load each adapter module in turn.
If you have undetectable or unsupported 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: NVIDIA i2c adapter 2 at 1:00.0 (i2c-2)
Do you want to scan it? (YES/no/selectively): YES
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                    No
Probing for `Analog Devices ADM1034'...                    No
Probing for `SPD EEPROM'...                                No
Probing for `EDID EEPROM'...                                Success!
    (confidence 8, driver `eeprom'), other addresses: 0x51 0x52 0x53 0x54 0x55 0x56 0x57
Probing for `Maxim MAX6900'...                              No

Next adapter: NVIDIA i2c adapter 1 at 1:00.0 (i2c-1)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: NVIDIA i2c adapter 0 at 1:00.0 (i2c-0)
Do you want to scan it? (YES/no/selectively): YES

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): YES
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 `Silicon Integrated Systems SIS5595'...        No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              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): YES
Probing for Super-I/O at 0x2e/0x2f
Trying family `ITE'...                                      No
Trying family `National Semiconductor'...                  No
Trying family `SMSC'...                                    No
Trying family `VIA/Winbond/Fintek'...                      No
Probing for Super-I/O at 0x4e/0x4f
Trying family `ITE'...                                      Yes
Found unknown chip with ID 0xec11
Trying family `National Semiconductor'...                  Yes
Found `Nat. Semi. PC87591 Super IO'
    (but no address specified)
Trying family `SMSC'...                                    Yes
Found unknown chip with ID 0xec11
Trying family `VIA/Winbond/Fintek'...                      Yes
Found unknown chip with ID 0xec11

Some CPUs or memory controllers may also contain embedded sensors.
Do you want to scan for them? (YES/no): YES
AMD K8 thermal sensors...                                  No
Intel Core family thermal sensor...                        No
Intel AMB FB-DIMM thermal sensor...                        No

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

Driver `eeprom' (should be inserted):
  Detects correctly:
  * Bus `NVIDIA i2c adapter 2 at 1:00.0'
    Busdriver `UNKNOWN', I2C address 0x50 (and 0x51 0x52 0x53 0x54 0x55 0x56 0x57)
    Chip `EDID EEPROM' (confidence: 8)

  EEPROMs are *NOT* sensors! They are data storage chips commonly
  found on memory modules (SPD), in monitors (EDID), or in some
  laptops, for example.

I will now generate the commands needed to load the required modules.
Just press ENTER to continue:

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 unknown adapter NVIDIA i2c adapter 0 at 1:00.0
# modprobe unknown adapter NVIDIA i2c adapter 1 at 1:00.0
# modprobe unknown adapter NVIDIA i2c adapter 2 at 1:00.0
# Chip drivers
modprobe eeprom
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----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.

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): YES
Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
for initialization at boot time.

1. Specifically Im trying to figure out, "Found unknown chip with ID 0xec11."


2. Im not sure about the suggestion to add "modprobe unknown adapter NVIDIA i2c adapter 0 at 1:00.0" to my rc* file.

3. Im not sure which rc file I would add it to.

I would greatly appreciate some help in this.

Thanks
okos

H_TeXMeX_H 02-17-2008 05:14 AM

"modprobe unknown adapter NVIDIA i2c adapter 0 at 1:00.0"

That's not right, it probably can't detect the sensor type and so it outputs garbage. It doesn't look like it can interface with any of your sensors, which happens a lot with laptops.

Try running this and see if it works:
Code:

/sbin/modprobe thermal
Then check '/proc/acpi/thermal_zone/ATF0/temperature' or similar for the temperature.

okos 02-18-2008 11:47 PM

Quote:

Originally Posted by H_TeXMeX_H (Post 3060136)
"modprobe unknown adapter NVIDIA i2c adapter 0 at 1:00.0"

That's not right, it probably can't detect the sensor type and so it outputs garbage. It doesn't look like it can interface with any of your sensors, which happens a lot with laptops.

Try running this and see if it works:
Code:

/sbin/modprobe thermal
Then check '/proc/acpi/thermal_zone/ATF0/temperature' or similar for the temperature.

Thanks for the suggestions.

I tried root$/sbin/modprobe thermal and I get nothing.
I tried root$ less /proc/acpi/thermal_zone/THM/temperature
all I get is 40c.

Any other suggestions?

Thanks
okos

H_TeXMeX_H 02-19-2008 11:30 AM

Well, that's one temperature, better than none. It's usually the CPU temperature, even tho 40 C is quite low, your laptop must have good ventilation, mine runs in the 60 C or so.

If you want more temperatures, for example your HDD temp, if your HDD supports SMART, then you can use 'smartctl' to get that (read 'man smartctl').

If you really want more temperatures (even tho the sensors may not even exist) you can ask the people who maintain lm_sensors about it, ask them if they plan on adding support for the sensors or if this is some type of bug (which I doubt).

Good luck, that's all I can think of, all the temperatures I've been able to squeeze out of my laptop here.

okos 02-19-2008 09:26 PM

Thanks for the suggestions.
 
I appreciate the reply.
I installed a program called dellfand. With it I am able to set at what temperatures low and high fan speeds. It will also display temperatures. In order to preserve my cpu I have set it rather low. Dell Inspiron 5100 series have a design flaw where they commonly overheat. There are lots of links regarding this issue.

For windows there is i8kfan.
For Linux there is dellfand.

cheers
okos


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