Re: [PATCH v2 4/7] hwmon: (nct6683) Enable fan control on ASRock BC-250

From: Fabio Baltieri

Date: Sat Nov 28 2026 - 04:01:32 EST


On Wed, Nov 11, 2026 at 09:28:35AM +0100, Johan Dahlin wrote:
> The ASRock BC-250 (customer ID 0x162b) has an NCT6686D with the same fan
> control registers as the B850 Steel Legend WiFi, and manual fan control
> was reported to work there.
>
> Enable fan control for channels 0 to 7 on this board as well.
>
> Suggested-by: Fabio Baltieri <fabio.baltieri@xxxxxxxxx>
> Signed-off-by: Johan Dahlin <jdahlin@xxxxxxxxx>
> ---
> Documentation/hwmon/nct6683.rst | 2 +-
> drivers/hwmon/nct6683.c | 3 ++-
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/hwmon/nct6683.rst b/Documentation/hwmon/nct6683.rst
> index 026515c35243..8e5cd1d7dcd2 100644
> --- a/Documentation/hwmon/nct6683.rst
> +++ b/Documentation/hwmon/nct6683.rst
> @@ -59,7 +59,7 @@ fan reported by fanN_input.
>
> It is also supported on the ASRock B850 Steel Legend WiFi (NCT6686D,
> customer ID 0x164a), where pwm1 to pwm6 control the fan headers reported
> -by fan1 to fan6.
> +by fan1 to fan6, and on the ASRock BC-250 (NCT6686D, customer ID 0x162b).
>
> pwmN_enable selects the fan control mode:
>
> diff --git a/drivers/hwmon/nct6683.c b/drivers/hwmon/nct6683.c
> index 29fbf438c04c..f656b84ee8ac 100644
> --- a/drivers/hwmon/nct6683.c
> +++ b/drivers/hwmon/nct6683.c
> @@ -1540,7 +1540,8 @@ nct6683_setup_fans(struct nct6683_data *data)
> }
> }
>
> - if (data->customer_id == NCT6683_CUSTOMER_ID_ASROCK8)
> + if (data->customer_id == NCT6683_CUSTOMER_ID_ASROCK8 ||
> + data->customer_id == NCT6683_CUSTOMER_ID_AMD)
> data->have_fan_ctrl = data->have_pwm & GENMASK(7, 0);
> }

Hey, just got a chance to test the v2 on my bc-250 and it works as
expected, tested it on hwmon-next since this has already been applied.

Thanks for the help!

Fabio