From 20574d2335e372113951768dca24ccf774465d6d Mon Sep 17 00:00:00 2001 From: SergeyMy <131688106+SergeyMy@users.noreply.github.com> Date: Tue, 28 Nov 2023 20:27:08 +0500 Subject: [PATCH] it works on nct6683 too https://github.com/Fred78290/nct6687d/issues/82 --- nct6687.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nct6687.c b/nct6687.c index f107984..1f12024 100644 --- a/nct6687.c +++ b/nct6687.c @@ -169,7 +169,8 @@ static inline void superio_exit(int ioreg) #define NCT6687_REG_FAN_CTRL_MODE(x) 0xA00 #define NCT6687_REG_FAN_PWM_COMMAND(x) 0xA01 #define NCT6687_FAN_CFG_REQ 0x80 -#define NCT6687_FAN_CFG_DONE 0x40 +//#define NCT6683_FAN_CFG_DONE 0x40 //! for 6683 returns auto mode and clears 0xA00, 0xA28-0xA2F registers +#define NCT6683_FAN_CFG_DONE 0x00 //! tested on 6683 6687 #define NCT6687_REG_BUILD_YEAR 0x604 #define NCT6687_REG_BUILD_MONTH 0x605