From f99b283cec92dbf9f9730bb84781613b1a558de7 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Mon, 9 Jan 2023 17:26:25 +0100 Subject: [PATCH] Fall back to old fancontrol on IBP 14 Gen 6 with H processor to fix 2nd fan not turning --- src/tuxedo_io/tuxedo_io.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/tuxedo_io/tuxedo_io.c b/src/tuxedo_io/tuxedo_io.c index a4dc62f..d69594a 100644 --- a/src/tuxedo_io/tuxedo_io.c +++ b/src/tuxedo_io/tuxedo_io.c @@ -266,6 +266,13 @@ static int has_universal_ec_fan_control(void) { int ret; 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); if (ret < 0) { return ret;