Lm92 fails to read temperature
Hello,
I've been having a problem with lm92 not reading the temperature of my cpu. This module was suggested by sensors-detect, but I tired modprobing all the lm* sensors ans still no temp. Lm92 loads fine as does lm_sensors, but reads a temperature of zero degrees. I know the problem does not lie with acpi because I've talked to devs on their mailing list and they explained the new way to build a dsdt file and that one compiled fine.
There are some missing modules, but before I spend time patching the kernel I want to find out why I can't get a temperature.
Code:
* Loading lm_sensors modules...
* Loading i2c-i801 ... [ ok ] * Loading eeprom ... [ ok ] * Loading smbus-arp ... [ !! ] * Loading smartbatt ... [ !! ] * Loading saa1064 ... [ !! ] * Loading lm92 ... [ ok ] * Loading pca9540 ... [ !! ] * Loading max6650 ... [ ok ] * Initializing sensors ... [ ok
Max6650 so far is the only module I've added by hand, but I've tried with pca9540 (pca954x) but the patch floating around isn't working. I've read through the documentation, but it's a little over my head. It seems like they are for nonthermal things.
Also, smbus seems to be going nuts in my dmesg:
Code:i2c_adapter i2c-0: smbus word data - addr 0x4f, read 0x0000 at 0x02.
It reads alll of the sys bus files over and over again. So whenever I access dmeg all I get is a page of these.
I've also tried editing the config file so that only those that succeed load, but that doesn't work either.
My computer is a Dell Dimension 8250.
I appriciate any help,
John
Hi John,
Quoted 13 lines
I've been having a problem with lm92 not reading the temperature of my cpu. This module was suggested by sensors-detect, but I tired modprobing all the lm* sensors ans still no temp. Lm92 loads fine as does
lm_sensors, but reads a temperature of zero degrees. I know the problem does not lie with acpi because I've talked to devs on their mailing list and they explained the new way to build a dsdt file and that one compiled fine.There are some missing modules, but before I spend time patching the kernel I want to find out why I can't get a temperature.
Code:
* Loadinglm_sensorsmodules...
Quoted 8 lines
* Loading i2c-i801 ... [ ok ] * Loading eeprom ... [ ok ] * Loading smbus-arp ... [ !! ] * Loading smartbatt ... [ !! ] * Loading saa1064 ... [ !! ] * Loading lm92 ... [ ok ] * Loading pca9540 ... [ !! ] * Loading max6650 ... [ ok ]
These are all the most difficult chips to detect, and as a consequence, the most frequently misdetect chips. I am fairly certain you don't have any of these chips.
Quoted 6 lines
* Initializing sensors ... [ ok
Max6650 so far is the only module I've added by hand, but I've tried with pca9540 (pca954x) but the patch floating around isn't working. I've read through the documentation, but it's a little over my head. It seems like they are for nonthermal things.
It is, indeed, but you don't need any of these drivers anyway.
Quoted 4 lines
Also, smbus seems to be going nuts in my dmesg:
Code:
i2c_adapteri2c-0: smbus word data - addr0x4f, read0x0000at0x02.
I suspect that one of the i2c busses on your system is broken, causing sensors-detect to misdetect lots of chips. Please provide the output of:
i2cdetect -l
And then for every bus listed,
i2cdetect N
where N is a bus number (0, 1, etc...)
Quoted 2 lines
It reads alll of the sys bus files over and over again. So whenever I access dmeg all I get is a page of these.
What is "it"?
Quoted 2 lines
I've also tried editing the config file so that only those that succeed load, but that doesn't work either.
Your problem lies well before the configuration step.
Quoted 1 line
My computer is a Dell Dimension 8250.
What makes you think this model has a thermal sensor chip lm_sensors can use? Most laptops don't.
Signature · 1 line
Jean Delvare
i2cdetect -l :
i2c-3 smbus SMBus I801 adapter at ccf0
Non-I2C SMBus adapter
i2c-2 i2c ivtv i2c driver #1
Algorithm unavailable
i2c-1 i2c ivtv i2c driver #0
Algorithm unavailable
i2c-0 smbus SMBus stub driver
Non-I2C SMBus adapter
i2cdetect 0 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10: 10 11 12 13 14 15 16 17 18 19 1a UU 1c 1d 1e UU 20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 40: 40 41 42 43 44 45 46 47 UU UU UU UU 4c 4d 4e 4f 50: UU UU UU UU UU UU UU UU 58 59 5a 5b 5c 5d 5e 5f 60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70: 70 71 72 73 74 75 76 77
i2cdetect 1 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX UU XX XX XX XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 40: XX XX XX UU UU XX XX XX XX XX XX XX XX XX XX XX 50: UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 60: UU UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX 70: XX XX XX XX XX XX XX XX
i2cdetect 2 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX UU XX XX XX XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 40: XX XX XX UU UU XX XX XX XX XX XX XX XX XX XX XX 50: UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 60: XX UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX 70: XX XX XX XX XX XX XX XX
i2cdetect 3 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 30: 30 31 XX XX XX XX XX XX XX XX XX XX XX XX XX XX 40: XX XX XX XX 44 XX XX XX XX XX XX XX XX XX XX XX 50: UU UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX 60: XX 61 XX XX 64 XX XX XX XX XX XX XX XX XX XX XX 70: XX XX XX XX XX XX XX XX
A small snibit of dmesg :i2c_adapter i2c-0: smbus word data - addr 0x48, read 0x0000 at 0x02. i2c_adapter i2c-0: smbus word data - addr 0x48, read 0x0000 at 0x03. i2c_adapter i2c-0: smbus word data - addr 0x48, read 0x0000 at 0x04. i2c_adapter i2c-0: smbus word data - addr 0x48, read 0x0000 at 0x05. i2c_adapter i2c-0: smbus word data - addr 0x49, read 0x0000 at 0x00. i2c_adapter i2c-0: smbus word data - addr 0x49, read 0x0000 at 0x02. i2c_adapter i2c-0: smbus word data - addr 0x49, read 0x0000 at 0x03. i2c_adapter i2c-0: smbus word data - addr 0x49, read 0x0000 at 0x04. i2c_adapter i2c-0: smbus word data - addr 0x49, read 0x0000 at 0x05. i2c_adapter i2c-0: smbus word data - addr 0x4a, read 0x0000 at 0x00. i2c_adapter i2c-0: smbus word data - addr 0x4a, read 0x0000 at 0x02. i2c_adapter i2c-0: smbus word data - addr 0x4a, read 0x0000 at 0x03. i2c_adapter i2c-0: smbus word data - addr 0x4a, read 0x0000 at 0x04. i2c_adapter i2c-0: smbus word data - addr 0x4a, read 0x0000 at 0x05. i2c_adapter i2c-0: smbus word data - addr 0x4b, read 0x0000 at 0x00. i2c_adapter i2c-0: smbus word data - addr 0x4b, read 0x0000 at 0x02. i2c_adapter i2c-0: smbus word data - addr 0x4b, read 0x0000 at 0x03. i2c_adapter i2c-0: smbus word data - addr 0x4b, read 0x0000 at 0x04. i2c_adapter i2c-0: smbus word data - addr 0x4b, read 0x0000 at 0x05.
The Dell Dimension 8250 is a desktop. I can't find any information about it so I'm not sure it has a thermal sensor or not. Is it possible to control the fan without it?
Thanks for the help,
John
Quoted 67 lines · Jean Delvare
Hi John,
Quoted 13 lines
I've been having a problem with lm92 not reading the temperature of my cpu. This module was suggested by sensors-detect, but I tired modprobing all the lm* sensors ans still no temp. Lm92 loads fine as does
lm_sensors, but reads a temperature of zero degrees. I know the problem does not lie with acpi because I've talked to devs on their mailing list and they explained the new way to build a dsdt file and that one compiled fine.There are some missing modules, but before I spend time patching the kernel I want to find out why I can't get a temperature.
Code:
* Loadinglm_sensorsmodules...Quoted 8 lines
* Loading i2c-i801 ... [ ok ] * Loading eeprom ... [ ok ] * Loading smbus-arp ... [ !! ] * Loading smartbatt ... [ !! ] * Loading saa1064 ... [ !! ] * Loading lm92 ... [ ok ] * Loading pca9540 ... [ !! ] * Loading max6650 ... [ ok ]These are all the most difficult chips to detect, and as a consequence, the most frequently misdetect chips. I am fairly certain you don't have any of these chips.
Quoted 6 lines
* Initializing sensors ... [ ok
Max6650 so far is the only module I've added by hand, but I've tried with pca9540 (pca954x) but the patch floating around isn't working. I've read through the documentation, but it's a little over my head. It seems like they are for nonthermal things.
It is, indeed, but you don't need any of these drivers anyway.
Quoted 4 lines
Also, smbus seems to be going nuts in my dmesg:
Code:
i2c_adapteri2c-0: smbus word data - addr0x4f, read0x0000at0x02.I suspect that one of the i2c busses on your system is broken, causing sensors-detect to misdetect lots of chips. Please provide the output of:
i2cdetect -l
And then for every bus listed,
i2cdetect N
where N is a bus number (0, 1, etc...)Quoted 2 lines
It reads alll of the sys bus files over and over again. So whenever I access dmeg all I get is a page of these.
What is "it"?
Quoted 2 lines
I've also tried editing the config file so that only those that succeed load, but that doesn't work either.
Your problem lies well before the configuration step.
Quoted 1 line
My computer is a Dell Dimension 8250.
What makes you think this model has a thermal sensor chip
lm_sensorscan use? Most laptops don't.--
Jean Delvare
Hi John,
Quoted 5 lines
i2cdetect -l :
i2c-3 smbus SMBus I801 adapter at ccf0 Non-I2C SMBus adapter i2c-2 i2c ivtv i2c driver #1 Algorithm unavailable i2c-1 i2c ivtv i2c driver #0 Algorithm unavailable i2c-0 smbus SMBus stub driver Non-I2C SMBus adapter
Ah. The "SMBus stub driver" is a test driver solely meant to debug SMBus chip drivers. This is what confused sensors-detect. Why did you load that driver?
Quoted 10 lines
i2cdetect 0 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10: 10 11 12 13 14 15 16 17 18 19 1a UU 1c 1d 1e UU 20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 40: 40 41 42 43 44 45 46 47 UU UU UU UU 4c 4d 4e 4f 50: UU UU UU UU UU UU UU UU 58 59 5a 5b 5c 5d 5e 5f 60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70: 70 71 72 73 74 75 76 77
The test driver (i2c-stub) responds to all addresses. It's confusing and you don't need it! Unload i2c-stub.
Quoted 11 lines
i2cdetect 1 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX UU XX XX XX XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 40: XX XX XX UU UU XX XX XX XX XX XX XX XX XX XX XX 50: UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 60: UU UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX 70: XX XX XX XX XX XX XX XX
Quoted 10 lines
i2cdetect 2 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX UU XX XX XX XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 40: XX XX XX UU UU XX XX XX XX XX XX XX XX XX XX XX 50: UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 60: XX UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX 70: XX XX XX XX XX XX XX XX
Some media/video adapter you must have in that machine. We don't really care about that.
Quoted 10 lines
i2cdetect 3 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 30: 30 31 XX XX XX XX XX XX XX XX XX XX XX XX XX XX 40: XX XX XX XX 44 XX XX XX XX XX XX XX XX XX XX XX 50: UU UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX 60: XX 61 XX XX 64 XX XX XX XX XX XX XX XX XX XX XX 70: XX XX XX XX XX XX XX XX
Your mainboard SMBus. I see two memory module EEPROMs (SPD), unknown chips at 0x61 and 0x64, but no hardware monitoring chips.
Quoted 12 lines
A small snibit of dmesg :
i2c_adapteri2c-0: smbus word data - addr0x48, read0x0000at0x02.i2c_adapteri2c-0: smbus word data - addr0x48, read0x0000at0x03.i2c_adapteri2c-0: smbus word data - addr0x48, read0x0000at0x04.i2c_adapteri2c-0: smbus word data - addr0x48, read0x0000at0x05.i2c_adapteri2c-0: smbus word data - addr0x49, read0x0000at0x00.i2c_adapteri2c-0: smbus word data - addr0x49, read0x0000at0x02.i2c_adapteri2c-0: smbus word data - addr0x49, read0x0000at0x03.i2c_adapteri2c-0: smbus word data - addr0x49, read0x0000at0x04.i2c_adapteri2c-0: smbus word data - addr0x49, read0x0000at0x05.i2c_adapteri2c-0: smbus word data - addr0x4a, read0x0000at0x00.i2c_adapteri2c-0: smbus word data - addr0x4a, read0x0000at0x02.
Quoted 8 lines
i2c_adapteri2c-0: smbus word data - addr0x4a, read0x0000at0x03.i2c_adapteri2c-0: smbus word data - addr0x4a, read0x0000at0x04.i2c_adapteri2c-0: smbus word data - addr0x4a, read0x0000at0x05.i2c_adapteri2c-0: smbus word data - addr0x4b, read0x0000at0x00.i2c_adapteri2c-0: smbus word data - addr0x4b, read0x0000at0x02.i2c_adapteri2c-0: smbus word data - addr0x4b, read0x0000at0x03.i2c_adapteri2c-0: smbus word data - addr0x4b, read0x0000at0x04.i2c_adapteri2c-0: smbus word data - addr0x4b, read0x0000at0x05.
That's the i2c-stub driver helping you test and debug your code. As you are only trying to get lm_sensors to run, it is completely irrelevant. Just unload i2c-stub.
Quoted 3 lines
The Dell Dimension 8250 is a desktop. I can't find any information about it so I'm not sure it has a thermal sensor or not. Is it possible to control the fan without it?
You can control the fan without a thermal sensor, these are two separate things. However, you need a chip on your motherboard in either case. You don't seem to have such a chip on your SMBus. Fan speed control functions are sometimes integrated in Super-I/O chips (last part of sensors-detect).
You may search for hardware monitoring information in the BIOS setup screen. If you can't find any, it's usually a good indication that the board doesn't have the feature. But better ask Dell for details if you can.
Signature · 1 line
Jean Delvare
Thanks for all your help,
After talking to someone at dell they said the fan control is hardware based and software can't be used to manually set it or get the temperature reading. So after that I took the computer apart and cleaned the cooling equipment and the fans finally went back to a normal speed and a sane sound.
Thanks for everything,
John
Quoted 108 lines · Jean Delvare
Hi John,
Quoted 5 lines
i2cdetect -l :
i2c-3 smbus SMBus I801 adapter at ccf0 Non-I2C SMBus adapter i2c-2 i2c ivtv i2c driver #1 Algorithm unavailable i2c-1 i2c ivtv i2c driver #0 Algorithm unavailable i2c-0 smbus SMBus stub driver Non-I2C SMBus adapterAh. The "SMBus stub driver" is a test driver solely meant to debug SMBus chip drivers. This is what confused sensors-detect. Why did you load that driver?
Quoted 10 lines
i2cdetect 0 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10: 10 11 12 13 14 15 16 17 18 19 1a UU 1c 1d 1e UU 20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 40: 40 41 42 43 44 45 46 47 UU UU UU UU 4c 4d 4e 4f 50: UU UU UU UU UU UU UU UU 58 59 5a 5b 5c 5d 5e 5f 60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70: 70 71 72 73 74 75 76 77The test driver (i2c-stub) responds to all addresses. It's confusing and you don't need it! Unload i2c-stub.
Quoted 11 lines
i2cdetect 1 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX UU XX XX XX XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 40: XX XX XX UU UU XX XX XX XX XX XX XX XX XX XX XX 50: UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 60: UU UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX 70: XX XX XX XX XX XX XX XXQuoted 10 lines
i2cdetect 2 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX UU XX XX XX XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 40: XX XX XX UU UU XX XX XX XX XX XX XX XX XX XX XX 50: UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 60: XX UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX 70: XX XX XX XX XX XX XX XXSome media/video adapter you must have in that machine. We don't really care about that.
Quoted 10 lines
i2cdetect 3 :
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 30: 30 31 XX XX XX XX XX XX XX XX XX XX XX XX XX XX 40: XX XX XX XX 44 XX XX XX XX XX XX XX XX XX XX XX 50: UU UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX 60: XX 61 XX XX 64 XX XX XX XX XX XX XX XX XX XX XX 70: XX XX XX XX XX XX XX XXYour mainboard SMBus. I see two memory module EEPROMs (SPD), unknown chips at
0x61and0x64, but no hardware monitoring chips.Quoted 12 lines
A small snibit of dmesg :
i2c_adapteri2c-0: smbus word data - addr0x48, read0x0000at0x02.i2c_adapteri2c-0: smbus word data - addr0x48, read0x0000at0x03.i2c_adapteri2c-0: smbus word data - addr0x48, read0x0000at0x04.i2c_adapteri2c-0: smbus word data - addr0x48, read0x0000at0x05.i2c_adapteri2c-0: smbus word data - addr0x49, read0x0000at0x00.i2c_adapteri2c-0: smbus word data - addr0x49, read0x0000at0x02.i2c_adapteri2c-0: smbus word data - addr0x49, read0x0000at0x03.i2c_adapteri2c-0: smbus word data - addr0x49, read0x0000at0x04.i2c_adapteri2c-0: smbus word data - addr0x49, read0x0000at0x05.i2c_adapteri2c-0: smbus word data - addr0x4a, read0x0000at0x00.i2c_adapteri2c-0: smbus word data - addr0x4a, read0x0000at0x02.Quoted 8 lines
i2c_adapteri2c-0: smbus word data - addr0x4a, read0x0000at0x03.i2c_adapteri2c-0: smbus word data - addr0x4a, read0x0000at0x04.i2c_adapteri2c-0: smbus word data - addr0x4a, read0x0000at0x05.i2c_adapteri2c-0: smbus word data - addr0x4b, read0x0000at0x00.i2c_adapteri2c-0: smbus word data - addr0x4b, read0x0000at0x02.i2c_adapteri2c-0: smbus word data - addr0x4b, read0x0000at0x03.i2c_adapteri2c-0: smbus word data - addr0x4b, read0x0000at0x04.i2c_adapteri2c-0: smbus word data - addr0x4b, read0x0000at0x05.That's the i2c-stub driver helping you test and debug your code. As you are only trying to get
lm_sensorsto run, it is completely irrelevant. Just unload i2c-stub.Quoted 3 lines
The Dell Dimension 8250 is a desktop. I can't find any information about it so I'm not sure it has a thermal sensor or not. Is it possible to control the fan without it?
You can control the fan without a thermal sensor, these are two separate things. However, you need a chip on your motherboard in either case. You don't seem to have such a chip on your SMBus. Fan speed control functions are sometimes integrated in Super-I/O chips (last part of sensors-detect).
You may search for hardware monitoring information in the BIOS setup screen. If you can't find any, it's usually a good indication that the board doesn't have the feature. But better ask Dell for details if you can.
--
Jean Delvare