I believe you would do a better job than Clevo did![]()
![]()
-
You could try running it without the NTPort library installed, but I think the Clevo dll functions won't work.luisxd likes this. -
Last edited: Nov 8, 2021dmanti, djsubtronic and joluke like this. -
joluke likes this.
-
I'm not sure, but if you copy the dll to system32, you will need to reboot the computer and I think you will need to access the functions trough the Windows WMI platform.
Once I finish moving to my new house, I'll probably will give it a go messing around your code
Another thing, this DLL is not the latest version, there is a more recent one that only works trough the "copy method" and WMI and I think it was what Jonh was using.
joluke likes this. -
-
If you don't want to use WMI, then you always need NTPort. NTPort allows the program to communicate directly with the hardware in Win 95 fashion, and this is my problem with it
It's an outdated method of doing things, and it might work for now, but with future releases of Windows it might not be the case.
To tell you the truth, what I really wanted to do, is to replace the DLL entirely and write a proper driver to access the fans and leds of Clevo laptops. Problem is... the last time I did something similar was almost 20 years ago in college, and I don't think I have the skills of doing it again in a modern OS.dmanti likes this. -
So does that mean with the newer ClevoEcInfo you can access the EC temp variables from WMI? What about setting the fan speeds? Anywhere I can get the new DLL?
I have never worked with driver/hardware level code so I can't really be of much help there, but that would indeed be a nice project to entirely replace Clevo's ****ty control center.dmanti likes this. -
The newer EC adds the possibility of changing the keyboard led color and control 3 fans. -
Hi everyone,
This last couple of days I've been working on a new fan tools for my computer (Clevo X170km-g).
@djsubtronic : I took your Clevo .NET project to do all the communication with the fans. Once I release it in the following days, of course, will give you credit.
Some features:
- Fan temperature check and RPM modification will be executed every XXX ms (250ms by default)
- Temp is taken in average of the last number of temperatures (configurable, 4 records by default)
- Increments in RPM are fast (configurable, by default 2.5%)
- Decrements in RPM are slow (configurable, by default 0.1%)
- Temperature can be configured from 0 to infinite, in steps of whatever is configured (by default 5 degrees)
- Any number of fans are configurable (2 by default, but more can be added and a scroll bar will appear).
- Fan extra RPM to force more fan power... this is usefull in case you are going to play games and you want to keep your computer cold as ice!
- Minimum fan RPM % will be 80% of the fan which is running at max RPMs. For example: If your CPU is at 80ºC and 100% RPM, your GPU fan will run at 80% no matter what temperature is it.
Here is a screenshot:
It also has avg and max temps... 76º is fine since I've just quit playing DCS in VR
And here is a default config file (JSON):
Code:{ "updateFanStep": 250, "numberOfValuesForAvgTemperature": 4, "fans": [ { "fanNumber": 1, "name": "CPU", "rpmStepUp": 2.5, "rpmStepDown": 0.1, "degreesStepSize": 5, "configuredRPMs": [ 25, 25, 25, 25, 25, 30, 35, 35, 35, 35, 35, 50, 65, 80, 95, 100, 100, 100, 100, 100, 100 ] }, { "fanNumber": 2, "name": "GPU", "rpmStepUp": 2.5, "rpmStepDown": 0.1, "degreesStepSize": 5, "configuredRPMs": [ 25, 25, 25, 25, 30, 35, 35, 35, 35, 45, 55, 70, 85, 100, 100, 100, 100, 100, 100, 100, 100 ] } ] }
Anyways, just coded this for myself the last couple of days and I've thought it would be cool to share it with you.
Will release it in the following days in my GitHub account. Still want to test it a little bit and to clean up the source code. I'm not a .NET programmer (more Java & Python) so... I've done some dirty coding that I want to fix!
Cheers!Last edited: Dec 12, 2021anytimer, djsubtronic, snowy88 and 3 others like this. -
Just in case somebody wants to test it I've created a release at github.
https://github.com/oleuzop/OptimizedClevoFan
I've been using it for a couple of days and it's quite stable... but, as always, use at your own risk!
Will clean up sources in the following days, lots of things can be done in a much better way
Cheers and let me know your thoughts / suggestions
Have a nice Sunday evening!hacktrix2006, Yuzutu, a.Techie and 4 others like this. -
@oleuzop This looks great, lot more customizability than my simple tool so I am glad that I was able to help someone take the project a little futher
The only thing I would be careful of is low polling rates (eg 250ms) - I have had some issues at least on my model (PC50DR) which I think might be if you poll the EC too fast, it can cause some issues such as GPU throttle to minimum speed and stays there until you disable/re-enable it or reset. Tbh not 100% sure if that's the reason but just thought I would let you know. It's not easy to reproduce as it doesn't always happen. -
Notebookbackbreaker Notebook Consultant
I am actually thinking of building an app on labVIEW but I had issues with trying to communicate with the DLL. Looks like I might go the other route and use .net (which I used back when .net fw version was 4.5)
-
Guys,
I'm trying to run djsubtronic's Clevo Fan Control 0.3, but can't install the NTPortDrvSetup.exe ("This setup program can't start NTPort Library driver. Error Number:-559038801"), the program still seems to be running normally, should I be worried?
I'm running Windows 10 x64, Obsidian-PC Control Station and CCC 3.0 (v.5.0001.1.97).Last edited: Dec 31, 2021 -
joluke likes this.
-
hacktrix2006 Hold My Vodka, I going to kill my GPU
@oleuzop @djsubtronic Maybe you two can collab on a project, both of you seem to be doing great and i am closely watching both apps. I take it there is no way to get over using the NTPortDrv driver requirement?
WIP Fan Control application
Discussion in 'Sager and Clevo' started by djsubtronic, Mar 29, 2021.