MControlCenter icon indicating copy to clipboard operation
MControlCenter copied to clipboard

Fan Speed resets after Wakeup from suspend

Open Schabolon opened this issue 11 months ago • 2 comments

Hi, first off I wanted to say that this project is really amazing and finally allowed me to control the fan speed. But when I wake my Laptop up (after suspend) the fan speed goes back to the "default" values. Is this intended? Or is there a workaround? I am using a MSI Katana GF76-11UC.

Schabolon avatar Mar 08 '24 08:03 Schabolon

Same here

7tg avatar Mar 22 '24 13:03 7tg

Same problem

ismailgamedev avatar Mar 24 '24 16:03 ismailgamedev

Same problem, fanModeAddress in my case is 0xF4 (it can also be at 0xD4) run sudo hexdump -C /sys/kernel/debug/ec/ec0/io and look at the value at 0xF4:

  • Before sleep: 0x8d
  • After sleep: 0x0d
  • Click 2 times on "Enable advanced fan control" ⇒ goes back to 0x8d
  • Or restart MControlCenter ⇒ goes back to 0x8d

Possible solutions:

  • detect sleep with Qt (I don't know if it is possible)
  • create a script/task that executes on wake-up, in order to:
    • execute MControlCenter with a specific command (requires handling commands)
    • kill and restart MControlCenter (bad)
    • set the value with another tool
  • create a timer to force the value all the time (bad)

Jiogo18 avatar Jun 12 '24 20:06 Jiogo18