The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=7b862cf8a252d80ab1fb90fa5371fd8462c7c16f
commit 7b862cf8a252d80ab1fb90fa5371fd8462c7c16f Author: Enji Cooper <[email protected]> AuthorDate: 2026-02-20 05:43:37 +0000 Commit: Enji Cooper <[email protected]> CommitDate: 2026-02-20 06:04:25 +0000 asmc: use `ASMC_FAN_FUNCS2` with the Macmini4,1 The Macmini4,1 model does not have "fansafespeed" support. This issue typically manifests with messages like so: ``` asmc0: asmc_key_read for key F0Sf failed 10 times, giving up ``` Swap out `ASMC_FAN_FUNCS` with `ASMC_FAN_FUNCS2` to explicitly drop "fansafespeed" checks in the driver for the model as it doesn't support that hardware feature. MFC after: 1 week Reported by: @probonopd Closes: https://github.com/helloSystem/ISO/issues/357 --- sys/dev/asmc/asmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c index ef924ba8ba76..ed56561c07ac 100644 --- a/sys/dev/asmc/asmc.c +++ b/sys/dev/asmc/asmc.c @@ -325,7 +325,7 @@ static const struct asmc_model asmc_models[] = { { "Macmini4,1", "Apple SMC Mac mini 4,1 (Mid-2010)", ASMC_SMS_FUNCS_DISABLED, - ASMC_FAN_FUNCS, + ASMC_FAN_FUNCS2, ASMC_LIGHT_FUNCS_DISABLED, ASMC_MM41_TEMPS, ASMC_MM41_TEMPNAMES, ASMC_MM41_TEMPDESCS },
