Skip to contentSkip to conversation

Ticket 1700: lm99 on nvidia board doesn't work

DISCUSSION Julien Langer 2 participants 4 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 4 lines

First of all, know that neither rivatv 0.8.5 nor CVS will work properly with Linux 2.6.7 as far as hardware monitoring is concerned. The author missed a define names change, and as a consequence, hardware monitoring chips will not recognize the nVidia busses as usable. I will send a patch to the author.

I applied your patch to rivatv and recompiled it, but it still doesn't work.

Quoted 6 lines

Second, not only no LM99 chip is detected by sensors-detect, but the script doesn?t even see a chip at a possible address (0x4C or 0x4D). This can mean either of two things:
1* You simply don?t have a LM99 on that board. I guess that there are several different brands and models of GeForce FX cards out there, not all may have hardware monitoring features. Are you sure yours do?

http://www.hothardware.com/viewarticle.cfm?articleidB1&catid=2
This page says "Advanced thermal management and thermal monitoring" so I suppose it has one.

Quoted 18 lines

2* The bus errors you are experiencing (sendbytes: error - bailout.) are preventing the chip from being detected (simply as being there, not even as being a LM99).

Nothing wrong with the client on bus 2 that cannot be probed though. It simply means that an i2c client driver (most likely saa7108e) is already loaded for this device.

At any rate, the problem here is with the i2c bus, not the LM99 (if it exists). You should contact the maintainer of the rivatv module (as an i2c bus driver), maybe he?ll have ideas about how you can investigate the problem.

You could also try sensors-detect as found in lm_sensors 2.8.6. Detection method slightly changed since. New method is believed to be better, of course, and was successfully tested, but your system might be special for some reason.

You can contact us on the mailing-list if you have further questions or want to tell us the end of the story.

#1 lore raw
Quoted 7 lines · Jean Delvare

This doesn't mean that this is an LM99. You have a chip at address 0x38 on bus 2 and two at addresses 0x20 and 0x21 on bus 0. These are not typical addresses for hardware monitoring chips (especially not 0x38) but who knows?

You may want to dump the chips contents for us to have a look, using i2cdump.

ok here are the dumps
The chips on bus 0 cannot be probed... I get a lot of those bailout error messages in dmesg

Installed I2C busses:
i2c-3 unknown NVIDIA display adapter bus 0
Algorithm unavailable
i2c-2 unknown NVIDIA display adapter bus 1
Algorithm unavailable
i2c-1 unknown NVIDIA display adapter bus 2
Algorithm unavailable
i2c-0 dummy ISA main adapter
ISA bus algorithm

root@pts12[/home/julien]# i2cdump 3 0x20
No size specified (using byte-data access)
  WARNING! This program can confuse your I2C bus, cause data loss and
worse!
  I will probe file /dev/i2c-3, address 0x20, mode byte
  You have five seconds to reconsider and press CTRL-C!
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
root@pts12[/home/julien]# i2cdump 3 0x21
No size specified (using byte-data access)
  WARNING! This program can confuse your I2C bus, cause data loss and
worse!
  I will probe file /dev/i2c-3, address 0x21, mode byte
  You have five seconds to reconsider and press CTRL-C!
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
root@pts12[/home/julien]# i2cdump 1 0x38
No size specified (using byte-data access)
  WARNING! This program can confuse your I2C bus, cause data loss and
worse!
  I will probe file /dev/i2c-1, address 0x38, mode byte
  You have five seconds to reconsider and press CTRL-C!
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
10: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
20: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
30: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
40: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
50: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
60: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
70: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
80: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
90: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
a0: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
b0: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
c0: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
d0: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
e0: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
f0: 01 00 06 00 00 00 14 c8 34 82 90 00 89 00 00 00    ?.?...??4??.?...
#2 lore raw
In reply to Julien Langer
Quoted 8 lines
Quoted 5 lines

First of all, know that neither rivatv 0.8.5 nor CVS will work properly with Linux 2.6.7 as far as hardware monitoring is concerned. The author missed a define names change, and as a consequence, hardware monitoring chips will not recognize the nVidia busses as usable. I will send a patch to the author.

I applied your patch to rivatv and recompiled it, but it still doesn't work.

No surprise here, since your main problem happens even before this one would.

Quoted 11 lines
Quoted 7 lines

Second, not only no LM99 chip is detected by sensors-detect, but the script doesn?t even see a chip at a possible address (0x4C or 0x4D). This can mean either of two things:
1* You simply don?t have a LM99 on that board. I guess that there are several different brands and models of GeForce FX cards out there, not all may have hardware monitoring features. Are you sure yours do?

http://www.hothardware.com/viewarticle.cfm?articleidB1&catid=2
This page says "Advanced thermal management and thermal monitoring" so I suppose it has one.

This doesn't mean that this is an LM99. You have a chip at address 0x38 on bus 2 and two at addresses 0x20 and 0x21 on bus 0. These are not typical addresses for hardware monitoring chips (especially not 0x38) but who knows?

You may want to dump the chips contents for us to have a look, using i2cdump.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#3 lore raw
In reply to Julien Langer
Quoted 1 line

ok here are the dumps

Mmmm nothing interesting here, sorry.

Just in case, please try sensors-detect from lm_sensors 2.8.6 just in case our recent changes are causing trouble. That left apart, I'm out of ideas.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/