Convert sysutils/fand into a 1st class citizen#2070
Convert sysutils/fand into a 1st class citizen#2070stephane-rochoy-stormshield wants to merge 2 commits intofreebsd:mainfrom
Conversation
|
Thank you for taking the time to contribute to FreeBSD! Some of files have special handling: Important @concussious wants to review changes to share/man/ |
Integrate Corey Hinshaw's fand [1][2] (68647f7) into base system with the following changes: - add capsicum(4) support (disabled for now) - add cooling profiles support - and some minor changes [1] https://github.com/electrickite/fand [2] https://www.freshports.org/sysutils/fand/ Sponsored by: Stormshield Signed-off-by: Stéphane Rochoy <stephane.rochoy@stormshield.eu>
Sponsored by: Stormshield Signed-off-by: Stéphane Rochoy <stephane.rochoy@stormshield.eu>
0caf396 to
74c325c
Compare
|
Why do you want this to be in base? |
Well, I would say the reasoning should be the same as the one that led to have powerd(8) in the base system. Also, we already have pwm(8) and as PWM is mostly used to drive fans having From a more concrete (and maybe egocentric ;)) perspective, having a software solution to drive fans is currently required on some platforms I work with, were, e.g., the Super I/O cannot drive fans based on sensors exposed via SMBus. BTW, What problem do you anticipate with integrating something like |
|
For what it’s worth, as the original author of fand, I have no issues with the project being merged into the base system. If it were, I would likely archive the original GitHub project. |
Importing things into FreeBSD base means that FreeBSD maintainers need to support it and consider it, so this is always a valid question we would ask anyone, including our own people :) |
I didn't intend to, sort of, attack the validity of @spmtz's questions. I just try to gain some knowledge along the way on how I should reason before submitting such a request :) For example, is the fact that PWM is not part of |
|
@spmzt @concussious Is there anything I can do to help this topic move forward? |
I'm not familiar with the fand and the pwm in general, |
Integrate Corey Hinshaw's fand (68647f7), which is actually available as sysutils/fand, into base system with the following changes:
Here is a sample cooling profile:
and here is a sample rc(8) config to start two instances:
(Note
fand_*_profileis a path relative to/etc/fand)There's some limitations:
CTLFLAG_CAPRDto the various sysctl exposing temperatures (e.g.,hw.acpi.thermal.tz0.temperature).Oh and any pointer to help me implement some tests would be more than welcome :)