Created attachment 248373 [details] Adds rc-script. It is hard to use bsdfan because of missing rc-script. It would be great if we can have rc-script out of the box. Proposed patch adds rc-script.
Created attachment 255412 [details] sysutils/bsdfan: rc-script resume command support After resume from suspend sysctl dev.acpi_ibm.0.fan is reset to 1 (AUTO). We need to simply restart the service after resume to enable manual fan control back.
Created attachment 255413 [details] sysutils/bsdfan: rc-script resume command support After resume from suspend sysctl dev.acpi_ibm.0.fan is reset to 1 (AUTO). We need to simply restart the service after resume to enable manual fan control back.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=45f03c6eb18bcd3224a6f66b0095d488bf350046 commit 45f03c6eb18bcd3224a6f66b0095d488bf350046 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2024-12-08 14:27:22 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2024-12-08 14:27:22 +0000 sysutils/bsdfan: the port had been improved (+) - Install rc-script with resume command support - Respect installation ${PREFIX} while I'm here PR: 276991 Submitted by: Viacheslav Chimishuk sysutils/bsdfan/Makefile | 4 +++- sysutils/bsdfan/files/bsdfan.in (new) | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-)
Committed with minor modifications, thanks!