TPFanCtrl2 icon indicating copy to clipboard operation
TPFanCtrl2 copied to clipboard

Speed RPM is not displayed

Open sergeevabc opened this issue 3 years ago • 14 comments

Thinkpad X61, Windows 7 x64, TVicPort 4.1

Dear @Shuzhengz, let's compare the official TPFC 0.63 output with the output of your fork TPFC 2.1.5. As you can see, the laptop's fan is controlled just fine, but its RPM is not displayed, alas. Perhaps you could be so kind to invent some tweak to make it work again?

image image

sergeevabc avatar Nov 08 '22 11:11 sergeevabc

hi thank you for submitting the issue. I'm actually quite busy right now but I'll get back to it once I have time, sorry about that

Shuzhengz avatar Nov 10 '22 04:11 Shuzhengz

Hi can you enable Log2File in the .ini file and then try to run the program again? It'll be very helpful if you can send any errors that are logged

Thank you

Shuzhengz avatar Nov 16 '22 09:11 Shuzhengz

@Shuzhengz, I got logs from the original 0.63 and your build. Not sure if they are verbose enough to troubleshoot, but you requested them, so here we go.

Original
[16.11.2022 12:56:45] Current Config:
[16.11.2022 12:56:45]   Active= 2, Cycle= 5, FanBeep= 0 0, MaxReadErrors= 10
[16.11.2022 12:56:45]   IconLevels= 65 75 80, NoExtSensor= 0, Lev64Norm= 1
[16.11.2022 12:56:45]   Log2File= 1, Log2csv= 0, ShowAll= 0, IconColorFan= 1
[16.11.2022 12:56:45]   Levels= 60°C -> 0,  65°C -> 1,  75°C -> 3,  80°C -> 7,  90°C -> 64
[16.11.2022 12:56:45]   Levels2= 22°C -> 0,  33°C -> 1,  38°C -> 2,  44°C -> 3,  55°C -> 7,  66°C -> 64,  77°C -> 0x80
[16.11.2022 12:56:45]   SensorOffset1-12= 0 0 0 0 0 0 0 0 0 0 0 0 °C
[16.11.2022 12:56:45]   IgnoreSensors= no5, ProcessPriority= 2, IconCycle= 1
[16.11.2022 12:56:45]   BluetoothEDR= 1, NoWaitMessage= 1, ShowBiasedTemps= 1
[16.11.2022 12:56:45]   ManModeExit= 78, SecWinUptime= 0, SecStartDelay= 0

[16.11.2022 12:56:45] Windows uptime since boot 243534 sec., SecWinUptime= 0 sec.
[16.11.2022 12:56:45] Change Mode from BIOS->Smart, recalculate fan speed
[16.11.2022 12:56:45] Fan: 0x80 / Switch: 42°C (40; 42; 42; 38; 34; 0; 32; 0; 40; 37; 0; 0;)
[16.11.2022 12:56:45] Smart: Set fan control to 0x00, Mode 1, Result: OK
[16.11.2022 12:56:50] Fan: 0x00 / Switch: 42°C (40; 42; 42; 38; 34; 0; 32; 0; 40; 37; 0; 0;)
[16.11.2022 12:56:50] On close: Set fan control to 0x80, Result: OK
[16.11.2022 12:56:50] Exiting ProcessDialog
Your build
[16.11.2022 12:57:10] Current Config:
[16.11.2022 12:57:10]   Active= 2, Cycle= 5, FanBeep= 0 0, MaxReadErrors= 10
[16.11.2022 12:57:10]   IconLevels= 65 75 80, NoExtSensor= 0, Lev64Norm= 1
[16.11.2022 12:57:10]   Log2File= 1, Log2csv= 0, ShowAll= 0, IconColorFan= 1
[16.11.2022 12:57:10]   Levels= 50° C -> 0,  60° C -> 1,  70° C -> 2,  80° C -> 4,  90° C -> 7
[16.11.2022 12:57:10]   SensorOffset1-12= 0 0 0 0 0 0 0 0 0 0 0 0 ° C
[16.11.2022 12:57:10]   IgnoreSensors= no5, ProcessPriority= 2, IconCycle= 1
[16.11.2022 12:57:10]   BluetoothEDR= 1, NoWaitMessage= 1, ShowBiasedTemps= 1
[16.11.2022 12:57:10]   ManModeExit= 78, SecWinUptime= 0, SecStartDelay= 0

[16.11.2022 12:57:10] Windows uptime since boot 243559 sec., SecWinUptime= 0 sec.
[16.11.2022 12:57:10] Change Mode from BIOS->Smart, recalculate fan speed
[16.11.2022 12:57:11] Fan: 0x80 / Switch: 42° C (40; 42; 42; 38; 34; 0; 32; 0; 40; 38; 0; 0;)
[16.11.2022 12:57:11] Smart: Set fan control to 0x00, Result: [i=0] OK
[16.11.2022 12:57:17] Fan: 0x00 / Switch: 42° C (40; 42; 42; 38; 34; 0; 32; 0; 40; 38; 0; 0;)
[16.11.2022 12:57:17] On close: Set fan control to 0x80, Result: [i=0] OK
[16.11.2022 12:57:17] Exiting ProcessDialog

sergeevabc avatar Nov 16 '22 10:11 sergeevabc

Oh okay, from the logs it seems like the issue is not with error reading from EC, but rather the program confused over the single fan (it's designed to work on dual fan devices).

I'll try and work on a fix

Thank you

Shuzhengz avatar Nov 16 '22 10:11 Shuzhengz

Sorry for getting back to this late, can you try this build and see if it works? 2.1.6.zip

The source code is in PR #50 Thanks

Shuzhengz avatar Dec 20 '22 01:12 Shuzhengz

…and see if it works?

Nope.

image

sergeevabc avatar Dec 20 '22 03:12 sergeevabc

Ok I changed the fan switch on EC to 0x2F and it might work, here is the new build Source code is still in PR #50

Shuzhengz avatar Dec 29 '22 19:12 Shuzhengz

Alas, still not there.

image

sergeevabc avatar Jan 01 '23 23:01 sergeevabc

Hello,

I am also having the same issue (v2.1.5 Dual Fan) on a P15s: image

Do you need more debug information?

Kind regards, JM

NOTE: I know it is also a mono fan 😉, apart from the rpm report everything works fine.

jmauro avatar Jan 09 '23 14:01 jmauro

Hello,

I am also having the same issue (v2.1.5 Dual Fan) on a P15s: image

Do you need more debug information?

Kind regards, JM

NOTE: I know it is also a mono fan 😉, apart from the rpm report everything works fine.

Oh it seems like the second fan display is working for you, maybe try this build and see if it helps (https://github.com/Shuzhengz/TPFanCtrl2/files/10321212/Debug.zip), but I think the problem might be a different EC address for older thinkpads though

Thank you

Shuzhengz avatar Jan 14 '23 22:01 Shuzhengz

Hello,

I am also having the same issue (v2.1.5 Dual Fan) on a P15s: image

Do you need more debug information?

Kind regards, JM

NOTE: I know it is also a mono fan 😉, apart from the rpm report everything works fine.

I'm having the same issue as well, my laptop model is: Lenovo ThinkPad T14 G2 i5-1145G7

@Shuzhengz Can you help on that ?

felipealvesgnu avatar Mar 18 '23 21:03 felipealvesgnu

yeah, sorry I forgot about this, I'll try to get it fixed next week after finishing finals

Shuzhengz avatar Mar 20 '23 22:03 Shuzhengz

image I am also having the same issue ,looking forward to the next version

Vampx avatar Mar 30 '23 08:03 Vampx

Sorry about the delay, it seems like your RPM readout is set to a wrong address on the EC (65535 RPM is not a realisic fan speed, it should be in the thousands, not tens of thousands). The fix would be to find the correct address for the fan speed by reading the EC using RW-Everything, but unfortunately the program stopped working a few months ago on my device. I thought it was a bug with Windows and was waiting it out for them to fix it with an update, but it still isn't fixed, and I won't be able to fix the issue without knowing the correct address. You could try to find it yourself, I wrote the instruction to do so in another issue here, but yeah I won't be able to fix it without the EC address. Sorry about that.

Shuzhengz avatar May 11 '23 00:05 Shuzhengz