From 96a9485a84d1af929fb335fe741345e7a34e40d0 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Wed, 24 Feb 2021 19:56:58 +0100 Subject: [PATCH] Set balanced profile on init for the time being until we have a way to switch it while tuxedo_io is loaded --- src/tuxedo_io/tongfang_wmi.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tuxedo_io/tongfang_wmi.h b/src/tuxedo_io/tongfang_wmi.h index c19bc9c..6d5c959 100644 --- a/src/tuxedo_io/tongfang_wmi.h +++ b/src/tuxedo_io/tongfang_wmi.h @@ -277,6 +277,10 @@ static u32 uniwill_identify(void) static void uniwill_init(void) { union uw_ec_write_return reg_write_return; + + // FIXME Hard set balanced profile until we have implemented a way to + // switch it while tuxedo_io is loaded + uw_ec_write_addr(0x51, 0x07, 0x00, 0x00, ®_write_return); // Enable manual mode uw_ec_write_addr(0x41, 0x07, 0x01, 0x00, ®_write_return);