Valkirie / HandheldCompanion

ControllerService
Other
1.15k stars 89 forks source link

Error in SetSmartFanMode: Value was either too large or too small for a UInt32. #1127

Open CasperH2O opened 2 weeks ago

CasperH2O commented 2 weeks ago

Device manufacturer

Device model LNVNB161216 from LENOVO

Handheld Companion Version 0.21.5.4

Describe the bug Fan control does not seem to work properly, user mightyjoeyoungish on Discord. Application crashes.

Log statement has a lot of these:

2024-08-23 12:15:13.508 -07:00 [ERR] Error in SetSmartFanMode: Value was either too large or too small for a UInt32.
2024-08-23 12:15:13.509 -07:00 [ERR] Error in SetSmartFanMode: Value was either too large or too small for a UInt32.
2024-08-23 12:15:13.509 -07:00 [ERR] Error in SetSmartFanMode: Value was either too large or too small for a UInt32.

Logs file HandheldCompanion-20240823.log

Valkirie commented 1 week ago

Fixed the Automation crash issue in EA and added some extra log to help figure out which value is passed to SetSmartFanMode when it fails.