<div dir="ltr"><div><div><div><div><div><div>Hello<br><br></div><div>I am still interested in lowering the power consumption. To try to find the culprit, I am thinking about monitoring temperature sensors.<br><br>On the W520 specs, I see on p 70 ("Thermal sensor"):<br>S0: PCH/BASE COVER<br>S1: NVIDIA<br>S2: GBE<br>S3: WWAN<br>S4: DIMM(TOP)<br>S5: DIMM(BOTTOM)<br>S6:  WLAN<br><div>S7: EXPRESS SLOT<br></div><br>On the W530 specs, I see on p 69 ("Thermal sensor"):<br>S0: PCH/BASE COVER<br>S1: NVIDIA<br>S2: DIMM(TOP)<br>S3: WLAN<br>S4: N/A<br>S5: DIMM(BOTTOM)<br>S6: GBE & WWAN<br><br></div><div>So basically, on the specs, I see at least 7 temperature sensors, connected straight to a smbus  chip (EMC1438-2-AP-TR-GP on a w520) or straight to the new EC (MEC1619L-GP on a w530). But I can't read any of them: even when using the default bios on a W530, I can't get any data.<br><br></div><div>Apparently the userland tools do not support new thinkpads: /proc/acpi/ibm/thermal shows nothing. lm-sensors doesn't help - I only get the CPU sensors<br></div> <br>Using ec_access, the offsets used on older thinkpads (as seen on <a href="http://www.thinkwiki.org/wiki/Thermal_Sensors">http://www.thinkwiki.org/wiki/Thermal_Sensors</a>) remain at 0, <br><br></div>In case the temperatures are shown on other offsets, I tried to acquire values for 3600 seconds while doing periods of activity. Plotting all the offset only shows temperature-like readings on 0x78 (the 121st entry). Other candidates with non-zero activity are the 48,  133, 134, 171, 205, and 206 entries, but the plot doesn't look like temperature readings (CSV data available upon request)<br><br>So where is the data from these 7 temperature sensors??<br><br>I was told the Thinker1 can be accessed by writing to the EC, and 
exposes more values, but I don't have any example on how to do that.<br><br></div><div>In the W530 specs, I read "To be monitor S4/5/6 line, EC should enable the function with register" - but I can only read one sensor. I suppose this is what was meant by accessing the Thinker 1.<br><br>Anyone has any example??<br><br>After some googling, I found a reference to  an advanced temperature management  
mode on 
<a href="https://sourceforge.net/p/ibm-acpi/mailman/ibm-acpi-devel/?viewmonth=201104">https://sourceforge.net/p/ibm-acpi/mailman/ibm-acpi-devel/?viewmonth=201104</a>
 : but nothing about how to use it.<br><br></div><div>In the W520 specs, I read:<br>H8 I2C Bus 2 ADDRESS : 4DH<br><br>Resistor value | SMBUS Address<br>GND              | 1001 100, 4Ch<br>270                | 1001 101, 4Dh<br>560                | 1001 110, 4Eh<br>1K                 | 1001 111, 4Fh<br>1.5K              | 1001 001, 49h<br>2.7K              | 1001 010, 4Ah<br>5.6K              | 1001 011, 4Bh<br>>=18K           | 0011 000, 18h<br></div><div><br></div>Based on my best guess, I suppose on the w520, reading some special address on the smbus will get me that data from that temperature sensors, as selected by a resistor. But I get nothing with i2cdump -y 6 0x4C bp<br><br></div>Is there some code showing how to read the temperature sensors on either a xx20 serie thinkpad or a xx30 serie thinkpad?<br><br></div>Thanks<br></div>Charlotte<br><div><div><div><div><div><br><br></div></div></div></div></div></div>