mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Merge branch 'fix_only_one_fan_of_ph4trx_running' into 'master'
Fall back to old fancontrol on IBP 14 Gen 6 with H processor to fix 2nd fan not turning See merge request tuxedocomputers/development/packages/tuxedo-keyboard!35
This commit is contained in:
commit
9e9dbbeaba
|
@ -266,6 +266,13 @@ static int has_universal_ec_fan_control(void) {
|
||||||
int ret;
|
int ret;
|
||||||
u8 data;
|
u8 data;
|
||||||
|
|
||||||
|
if (uw_feats->model == UW_MODEL_PH4TRX) {
|
||||||
|
// For some reason, on this particular device, the 2nd fan is not controlled via the
|
||||||
|
// "GPU" fan curve when the bit to seperate both fancurves is set, but the old fan
|
||||||
|
// control works just fine.
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
ret = uniwill_read_ec_ram(0x078e, &data);
|
ret = uniwill_read_ec_ram(0x078e, &data);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue