Skip to contentSkip to conversation

I2C addresses of TMP435

lm-sensors Jean Delvare 2 participants 3 messages May 27, 2015

lore
Share & tools
lore
#0 lore raw

Hi Guenter,

In this commit:
http://www.lm-sensors.org/changeset/6260

You listed 0x37 as a possible address for the TMP435. While this is correct, I don't think we want to probe this address. Currently we do not probe it for any other chip, and we even removed it explicitly in the past:
http://www.lm-sensors.org/changeset/3233

In the light of recent reports of display breakage caused by sensors-detect I would like to play it safe and not probe address 0x37 (which is used by some EEPROMs as well as the DDC/CI interface.)

While less critical, it might also make sense to remove 0x37 from normal_i2c[] in the tmp401 driver. Users with a TMP435 as this address can always instantiate it explicitly.

What do you think?

Thanks,

Signature · 7 lines
Jean Delvare
SUSE L3 Support

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw
Quoted 15 lines · Jean Delvare

Hi Guenter,

In this commit:
http://www.lm-sensors.org/changeset/6260

You listed 0x37 as a possible address for the TMP435. While this is correct, I don't think we want to probe this address. Currently we do not probe it for any other chip, and we even removed it explicitly in the past:
http://www.lm-sensors.org/changeset/3233

In the light of recent reports of display breakage caused by sensors-detect I would like to play it safe and not probe address 0x37 (which is used by some EEPROMs as well as the DDC/CI interface.)

Quoted 6 lines

While less critical, it might also make sense to remove 0x37 from normal_i2c[] in the tmp401 driver. Users with a TMP435 as this address can always instantiate it explicitly.

What do you think?

Ok with me. 0x37 is also scanned by the atxp1 driver, so I assume we would have to remove it from both for it to make a difference.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw
In reply to Jean Delvare
Quoted 16 lines · Guenter Roeck
Quoted 15 lines · Jean Delvare

Hi Guenter,

In this commit:
http://www.lm-sensors.org/changeset/6260

You listed 0x37 as a possible address for the TMP435. While this is correct, I don't think we want to probe this address. Currently we do not probe it for any other chip, and we even removed it explicitly in the past:
http://www.lm-sensors.org/changeset/3233

In the light of recent reports of display breakage caused by sensors-detect I would like to play it safe and not probe address 0x37 (which is used by some EEPROMs as well as the DDC/CI interface.)

Quoted 8 lines
Quoted 5 lines

While less critical, it might also make sense to remove 0x37 from normal_i2c[] in the tmp401 driver. Users with a TMP435 as this address can always instantiate it explicitly.

What do you think?

Ok with me. 0x37 is also scanned by the atxp1 driver, so I assume we would have to remove it from both for it to make a difference.

I've been willing to drop the detect function from the atxp1 driver for a long time, I suppose now is the time. It's very weak. And we don't even detect that chip in sensors-detect.

That being said, it would still make sense to remove address 0x37 from the tmp401 driver, as it is much more likely to be loaded than the atxp1 driver. For example the sensors-detect script could tell you to load the tmp401 driver for another address, and when you load it, the driver ends up probing 0x37 and hits a different chip with bad consequences.

Signature · 7 lines
Jean Delvare
SUSE L3 Support

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors