Closed ivan-habl closed 4 years ago
Hi, take a look at this.
https://github.com/SkyLandTW/clevo-indicator
You might be able to get more information here.
Hi, take a look at this.
https://github.com/SkyLandTW/clevo-indicator
You might be able to get more information here.
Thanks. I looked at the clevo-indicator code. There, the same algorithm controls the registers EC_DATA_PORT and EC_COMMAND_PORT.
Hi I'm starting to work on a config for my Clevo NH55RDQ. It has two fans although I'm not sure yet about Nvidia/GPU modes. It might be similar for the whole Clevo NH55xx range and others
As proof of concept I first changed clevo-indicator until it worked so I can now read and set speeds on both fans and this is the logic:
Reading registers (BTW you can also read these directly with EC dumps): EC_REG_CPU_TEMP 0x07 EC_REG_FAN_DUTY 0xCE EC_REG_FA2_DUTY 0xCF EC_REG_FAN_RPMS_HI 0xD0 EC_REG_FAN_RPMS_LO 0xD1 EC_REG_FA2_RPMS_HI 0xD2 EC_REG_FA2_RPMS_LO 0xD3
EC_SC 0x66 EC_DATA 0x62 EC_SC_READ_CMD = 0x80
For writing it goes like this:
DUTY = duty_percentage / 100.0 * 255.0 EC_SC 0x66 EC_DATA 0x62 EC_WRITE_CMD 0x99 EC_FAN 0x01 or 0x02 (so for two fans run it twice)
Now this seems to work well enough but next step to see if nbfc can do the controlling. The clevo-indicator can do some auto-magic but it's setuid in the end which doesn't feel right. Well I'm putting it out here in case since I don't know when I can work on the next step. If anyone really wants clevo-indicator I can supply the modifications but perhaps let me test it another week :)
This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed
Hi, dear hirschmann! Thanks for helpful program. On Clevo based laptops can control CPU, GPU1 and GPU2 fan from EC. It confirms linux utilite https://github.com/tuxedocomputers/tuxedo-fan-control (I tested it on my Clevo P157SM - it fully works).
The EC code describes on https://github.com/tuxedocomputers/tuxedo-fan-control/blob/master/native/ec_access.cc
I found code for create nbfc config, but it not work ( It is EC code
And we can read CPU FAN data from 0xCE=206 registry. There is my config, but it cannot work - only correct read, don't write (( Please, help me to write correct config for my Clevo and other Clevo based laptops.