Re: [PATCH v2 7/7] hwmon: (nct6683) Scale the +5V and +12V inputs of the ASRock B850 Steel Legend WiFi

From: Guenter Roeck

Date: Sat Nov 14 2026 - 11:20:30 EST


On Wed, Nov 11, 2026 at 09:28:38AM +0100, Johan Dahlin wrote:
> The +5V and +12V rails reach the chip through resistor dividers, so they
> read as 1.70 V and 2.03 V while the UEFI setup shows 5.04 V and 12.19 V.
>
> Let the sensor table carry a divider ratio and apply it when reading the
> input, with ratios of 3 and 6 on this board. sysfs-interface.rst asks for
> such conversions in user space because dividers differ between boards.
> Here the board is identified by its customer ID, so the ratios are fixed.
>
> Signed-off-by: Johan Dahlin <jdahlin@xxxxxxxxx>

Again, this belongs into sensors3.conf.

Thanks,
Guenter