Re: [PATCH v2] hwmon: Driver for temperature sensors on SATA drives

From: Linus Walleij
Date: Sun Jan 12 2020 - 06:22:09 EST


On Sun, Jan 12, 2020 at 12:18 PM Gabriel C <nix.or.die@xxxxxxxxx> wrote:

> What I've noticed however is the nvme temperature low/high values on
> the Sensors X are strange here.
(...)
> Sensor 1: +27.9ÂC (low = -273.1ÂC, high = +65261.8ÂC)
> Sensor 2: +29.9ÂC (low = -273.1ÂC, high = +65261.8ÂC)
(...)
> Sensor 1: +23.9ÂC (low = -273.1ÂC, high = +65261.8ÂC)
> Sensor 2: +25.9ÂC (low = -273.1ÂC, high = +65261.8ÂC)

That doesn't look strange to me. It seems like reasonable defaults
from the firmware if either it doesn't really log the min/max temperatures
or hasn't been through a cycle of updating these yet. Just set both
to absolute min/max temperatures possible.

Yours,
Linus Walleij