Skip to contentSkip to conversation

Quick Question about latest IBM thinkpads!

lm-sensors leon moss 3 participants 7 messages Jun 17, 2007 – Jun 25, 2007

lore
Share & tools
lore

leon moss

author
#0 lore raw

Hello,

I was just wondering if the lm-sensors will still break the latest IBM thinkpads I am thinking about getting a T61. I remember all of the other issues that have been reported from other thinkpad users at earlier models but I just wanted to see if you may have known about the new T61's.

Thanks,
Shadow

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

#1 lore raw
Quoted 6 lines · leon moss

I was just wondering if the lm-sensors will still break the latest IBM thinkpads I am thinking about getting a T61. I remember all of the other issues that have been reported from other thinkpad users at earlier models but I just wanted to see if you may have known about the new T61's.

Don't run sensors-detect on thinkpads, all you will find *IF* you are very lucky, is the clock generator (*never* mess with it) and the SPD eeproms in the RAM modules (dmidecode will tell you all about your RAM in a thinkpad, anyway).

All of a recent thinkpad's sensors are not reachable by the main CPU. Use the ibm-acpi/thinkpad-acpi and tp_smapi drivers to talk to them. And if you did not do it yet, go to http://thinkwiki.org to learn about your thinkpad and its drivers. There is not much on the T61 in there yet, so feel free to help improve it.

Thinkpad-acpi will export the sensors through the hwmon layer in 2.6.23, btw. I'd imagine lm-sensors userspace will be able to talk to it, then.

Just don't do sensors-detect on a thinkpad. It is useless, although AFAIK it won't touch the broken vital-product-data eeprom that bricked thinkpads anymore.

Signature · 9 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to leon moss

Hi Henrique, hi Leon,

Quoted 8 lines · Henrique de Moraes Holschuh
Quoted 6 lines · leon moss

I was just wondering if the lm-sensors will still break the latest IBM thinkpads I am thinking about getting a T61. I remember all of the other issues that have been reported from other thinkpad users at earlier models but I just wanted to see if you may have known about the new T61's.

Quoted 4 lines

Don't run sensors-detect on thinkpads, all you will find *IF* you are very lucky, is the clock generator (*never* mess with it) and the SPD eeproms in the RAM modules (dmidecode will tell you all about your RAM in a thinkpad, anyway).

I don't even see these on my T60p's SMBus.

Quoted 8 lines

All of a recent thinkpad's sensors are not reachable by the main CPU. Use the ibm-acpi/thinkpad-acpi and tp_smapi drivers to talk to them. And if you did not do it yet, go to http://thinkwiki.org to learn about your thinkpad and its drivers. There is not much on the T61 in there yet, so feel free to help improve it.

Thinkpad-acpi will export the sensors through the hwmon layer in 2.6.23, btw. I'd imagine lm-sensors userspace will be able to talk to it, then.

For the stable branch of lm-sensors, explicit support will be needed. If you plan to merge support in the 2.6.23 kernel, it would probably be a good thing to merge the user-space support now, so that it makes it into the next release (2.10.4) and is available when kernel 2.6.23-rc1 is released.

Quoted 3 lines

Just don't do sensors-detect on a thinkpad. It is useless, although AFAIK it won't touch the broken vital-product-data eeprom that bricked thinkpads anymore.

For what it's worth, sensors-detect didn't break my Thinkpad T60p. A recent version even found the CPU-embedded sensors (Intel Core Duo T2600) which are supported by Rudolf Marek's coretemp driver.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#3 lore raw
In reply to leon moss
Quoted 5 lines · Jean Delvare

For the stable branch of lm-sensors, explicit support will be needed. If you plan to merge support in the 2.6.23 kernel, it would probably be a good thing to merge the user-space support now, so that it makes it into the next release (2.10.4) and is available when kernel 2.6.23-rc1 is released.

What needs to be done so that lm-sensors userspace will grok thinkpad-acpi sensors? Is there a howto somewhere?

Signature · 9 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#4 lore raw
In reply to leon moss

Hi Henrique,

Quoted 9 lines · Henrique de Moraes Holschuh
Quoted 5 lines · Jean Delvare

For the stable branch of lm-sensors, explicit support will be needed. If you plan to merge support in the 2.6.23 kernel, it would probably be a good thing to merge the user-space support now, so that it makes it into the next release (2.10.4) and is available when kernel 2.6.23-rc1 is released.

What needs to be done so that lm-sensors userspace will grok thinkpad-acpi sensors? Is there a howto somewhere?

If you followed the standard sysfs interface (and you really want to), the code in the lm-sensors-3.0.0 branch should work right away. But we're nowhere next to a releasable state on this branch, so I'd suggests that you also add support to the trunk, which should become lm-sensors 2.10.4 soon.

We don't have a HOWTO, but using a similar change as an example should make the job easy:
http://www.lm-sensors.org/changeset/4355

If you have specific questions on the way, just ask and we'll try to help. I'll be happy to review (and test) your code when you're done.

Thanks,

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#5 lore raw
In reply to leon moss
Quoted 8 lines · Jean Delvare
Quoted 7 lines · Henrique de Moraes Holschuh
Quoted 5 lines · Jean Delvare

For the stable branch of lm-sensors, explicit support will be needed. If you plan to merge support in the 2.6.23 kernel, it would probably be a good thing to merge the user-space support now, so that it makes it into the next release (2.10.4) and is available when kernel 2.6.23-rc1 is released.

Quoted 4 lines
Quoted 2 lines

What needs to be done so that lm-sensors userspace will grok thinkpad-acpi sensors? Is there a howto somewhere?

If you followed the standard sysfs interface (and you really want to),

I did. To the letter. I even checked with you guys to make sure it was 100% correct on the PWM stuff :-)

Quoted 3 lines

We don't have a HOWTO, but using a similar change as an example should make the job easy:
http://www.lm-sensors.org/changeset/4355

I will try. Thanks!

Quoted 2 lines

If you have specific questions on the way, just ask and we'll try to help. I'll be happy to review (and test) your code when you're done.

I have one. What is NOSYSCTL and VALUE()? (or where are them documented)?

Signature · 9 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#6 lore raw
In reply to leon moss
Quoted 5 lines · Henrique de Moraes Holschuh
Quoted 2 lines · Jean Delvare

If you have specific questions on the way, just ask and we'll try to help. I'll be happy to review (and test) your code when you're done.

I have one. What is NOSYSCTL and VALUE()? (or where are them documented)?

Old stuff for the Linux 2.4 procfs/sysctl interface. Just put NOSYSCTL and VALUE(1) everywhere, that will be fine.

Signature · 6 lines
Jean Delvare

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