-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thinkbook 13s Gen2 not working #20
Comments
Hi, Can you check if TVicPort is installed correctly on your laprop? EC read errors usually have something to do with it. The program also needs administration permission to run so maybe run it as admin. It would also be great if you can specify your computer's specification (Model, specific CPU info, BIOS version, OS and build number, and the TPFC version) and include info in the log. |
Yes, tvciport is installed and working, because i'm using tpfancontrol 0.62e |
yeah, but v.0.62e is "special version for Edge E520 only" (info from thinkwiki), so it doesn't confirm that everything is installed correctly |
I know, that it is special version. But the difference is only that on almost all thinkpads fan can be controlled using speeds from 0 to 7, but in 0.62e speeds are controlled from 255 to 0. I have tried to test tpfanctrl2 from the beginning, what I have done:
|
Oh there's actually a 0-80 controll mode in TPFC2, so maybe you can try that. If you have Lenovo's Vantage software installed, make sure to disable the "inteligent" control mode as it messes with the EC in some situations. I think the 0.62e version has different CPU sensors, but I'm not very sure (I can't find the source code for tha release). I'm happy to make a special release version, but I don't really have a way to test it since I don't have any machine that runs Windows 11 (that's why I put windows 11 as theoretically working but unsupported in the readme). It would also help if you can specify your computer's specification (Model, specific CPU info, BIOS version, OS build number) and include info from the log. |
Can you inlude the error message (a screenshot and description would be fine)? I need to know where and what went wrong in order to debug it. |
After analyzing EC controller data I have found that: 147,150 - fan mode selection 148 - fan speed 1 set ; 149 - unknown, seems to be, that this is raw fan speed, but i'm unable to guess how to decode it - it is only byte, but fan speed can be up to 9000 rpm. 168 - cpu temp |
LENOVO ThinkBook 13s G2 ITL |
Cool, I'll look into it later today |
Yeah that'd be great Can you enable the Thanks! |
There is no helpable information there ;) But here it is: [17.01.2022 8:36:13] Current Config: [17.01.2022 8:36:13] Windows uptime since boot 80011 sec., SecWinUptime= 0 sec. [17.01.2022 9:26:39] Windows uptime since boot 889 sec., SecWinUptime= 0 sec. |
cool, thanks |
I did some moe digging on the internet, but can't find the source code for 0.63e, so it's kinda hard to know exactly how to fix it :/ I think the problem is the EC registry being different on some systems. But the problem is I don't know where yours is, so I can't fix it (because I can't test it on my system). But I did build antoher build to test tho, and see if it works (the registry is used for older generation ThinkPads). If it doesn't then I think you'll have to compile code on your machine and try to fix it (by changing the registry numbers in portio.cpp) Thanks! Attached: tb13.zip |
Tested. No, it doesn't work. Ok, I will try to compile the source code and see what is wrong. It was a very long time ago when I was programming something :). I hope that I succeed |
Cool, good luck :) (also you might have to add in the |
After some time of playing I was impossible to get your version to work - seems to be, that there are some modifications used, that prevent your version to work on my laptop. Bet I have good news - I found version on github, that works, I have made some modifications in the code and now it displays all temperatures correctly and I can control both fans ( with some problems :D ), but it doesn't display fan speeds correctly. - I really forgotten what is programming and I didn't know C++; Some time ago I had some experience with Delphi + asm, but this is long story. I will try to make this version for my laptop, but I think, that it will cost me more time, that I have :D + learning C++ from almost beginning. Here is the unmodified code: https://github.com/Ede123/TPFanControl in my version I have changed variables in fanstuff.cpp, because I have different offsets for temperature sensors: #define TP_ECOFFSET_FANSPEED (char)0x84 // 16 bit word, lo/hi byte and changed setfan function - implemented dual fan control. But yes, I' m only playing, without normal knowledge with C++. Maybe, if you can see where is the difference, then you may try to fix your code, but if no, then I will try to fix my code when I will have free time. |
Also I think, you may include in your code tvicport.lib, because it is not included and I have found it in another repository ( included tvicport.lib, that comes with tvicport installer does not work, with vs 2022 ) |
Oh cool thanks! I'll look into it this weekend |
i built another one from the one fan version, try see if this works |
Hi! Tested - no good news - doesn't work. Same behavior as always. |
sad |
or it could be just we haven't found the correct ec address yet |
Yeah, but I have build, that is working correctly, but without your modifications. So, it seems to be, that the problem is not with ec address and there is some other problem. |
sorry, i mean the ec address for the second fan (the first one should work because the code for that is pretty much from the version you sent) |
No problems. The code is broken, but it works :D Here is the link: https://disk.yandex.ru/d/b3Q06C34OtcGxg |
thanks! |
Yes, this one works. But it seems to be, that the app always changes the fan speed to $20 and fan works at almost maximum speed in bios mode :) |
nice |
hmm maybe it has something to do with the config? |
maybe check the fan curve in smart mode |
(Hey, sorry for being in the wrong place for that, but I can't help myself) I've got a Thinkbook 14 G2 Intel and can't find anything about fan control for exactly my device (which is bad, bc the fan curve is way to aggressive). I've tried plenty of software, but nothing worked so far. TPFC doesn't even shows any right temperatures. Hope you guys got some ideas :) |
Hi, my second laptop is also thinkbook 14g2. The working version for it is 0.62 - https://thinkwiki.de/tpfancontrol/tpfc_v062.zip |
Thanks for the reply! Already tried that - with all versions I've got the same issue, that no cpu temp gets captured. |
Strange. You may try https://www.argusmonitor.com/ |
All core temps get captured correctly by HWiNFO and throttlestop btw |
Thanks! Will do |
And sorry for the dumb question, but do I need to give access to EC somehow? |
No, all must be working out of the box. |
Argus works for monitoring CPU temp, but not for fan speeds (monitor and control). Your TPFC only gets "xc3" temp at 16°C and nothing else. Damn, I just want this laptop to be quiet haha |
hmm. strange. Seems to be, that offsets for the sensors are incorrect. See my post on the top of the thread . Download RW everything , open ec controller and search for your sensors. Then, if you can you must compile your own build using visual studio ) |
I wish that i could haha |
matter of fact: can't even launch rweverything. And yes, tested most of them. I can try to test all haha |
Theoretically yes, they can disturb. And yeah after win11 latest update rweverything doesn't work anymore. I think, that you must downgrade to w10 :) . I have also done this today and i'm happy :D |
Aw man. I really adapted to win11 by now :( funfact: uninstalled all power management things that I could find und got the pwr sensor haha |
edit: nevermind, I'm giving up for now. Im hoping for some movement from lenovo (probably won't happen). It's so sad, because despite that I really like the thinkbook can you tell me the ec controller data for cpu temp? |
You must find it yourself, because I think the locations are different. For my thinkbook 13s gen2 it is located here: |
Hi, i have the same Problem but with a Lenovo Thinkbook 15p G2 - 21B1000XGE. The version i am using is the one of @Shuzhengz . And it now doesnt have anymore ec errors. So i think it is kind of working?! Does anyone have an idea how to fix the problems? How do i read this rw tool? I have windows 11 |
The one in the picture seems to be working, does manual control change the fan speed? |
Sadly no. If I go to manual, it automatically switches back to smart. Also the temperature of the cpu (1) is wrong. |
Can you try changing the value of |
Yes that worked. I can now enter the manual mode. But i can't control anything with the maual mode. Its not the scale from 0-7 and not the one from 0 -255. Nothing happens or maybe i am just dumb... Can I help you in any way? Do you need some more information ? I am really thankful for your help! |
Hi sorry, I was very busy earlier and forgot about this Currently the release version has the address 0x2F as the data port controller address, which is in hex, and would be 47 in decimal. The number 2F means that it is on the 20 row and the 0F column, which would be this one When using manual mode to set fan speed, the value here at 0x2F would become whatever the inputted fan speed value is (after converting to hex). But since it's not working for your system it should be in a different location. The temperature readout is currently at address 0x78, and should be changing in real time It also turns out that on some thinkpads 0x31 seems to be the "fan selector". When the laptop starts up it hold the value 41 and with that you can control the left fan with Hope it helps, sorry again for the late reply |
HI,
I understandt, that this is not a clear ThinkPad, but original tpfancontrol 0.62e works without problems, but controls only one fan ( 255 min, 0 - max )
TPFanCtrl2 is not working - writes to log, that it is not possible to read from EC register.
The text was updated successfully, but these errors were encountered: