HW Monitoring exploiting Nuvoton NCT 6791D

Started by Manfred.Knick, April 02, 2022, 04:50:59 PM

Previous topic - Next topic
April 02, 2022, 04:50:59 PM Last Edit: April 11, 2022, 11:16:22 AM by Manfred.Knick
Completely switching away from all hitherto existing IPFire installations, I'm absolutely convinced how quick well organized structures and excellent documentation eased all transformations.
Nevertheless, I'm a "newbie" in OPNsense and not as familiar with FreeBSD as with Linux and GNU userland, so I ask for indulgence.

The "Thermal Sensors" widget splendidly displays information about the CPU:
   --> Lobby: Dashboard;
   --> System: Settings: Miscellaneous

Linux Kernel support:
$ grep -i "NCT6791D" /usr/src/linux/drivers/hwmon/nct*.c   --->    .../nct6775.c

lm-sensors monitors not only temperatures,
but - more important - also voltages and fan speeds,
enabling quite complete remote control & alert.
Further on, sensor readings of additional plug-in cards are made available.

Searching for an analogon for FreeBSD -> OPNsense,
I was prepared that my mileage might vary.

OPNsense 22.1.4_1 repository provides sysutils/smartmontools-7.3 (-> disks),
but not bsdhwmon which is documented as part of FreeBSD 13.0-RELEASE.

𝚟𝚎𝚛𝚖𝚊𝚍𝚎𝚗's "sensors.sh" script  --->   UPDATE 1
[ https://vermaden.wordpress.com/2022/02/15/sensors-information-on-freebsd/ ]
is similarly limited to cpu+acpi+disk.

I would be grateful  for any helpful hint.
Thanks a lot in advance,
and best regards.