spd5118 driver occasionally produces erroneous values

From: ‍小太

Date: Thu Nov 20 2025 - 08:57:52 EST


Hello, I have just set up spd5118 for my Asus Pro WS TRX50-SAGE WIFI
motherboard and v-color TRA532G72D834Q RAM

However, I've encountered it occasionally producing unrealistic
temperature values.
See this graph collected over 10 minutes - note the temperature scale:
https://files.catbox.moe/yt8uqp.png

I wonder if this is a known issue with the driver? Or maybe it's some
quirk with my system?
It kind of feels like a race condition...
If I boot Windows and run HWiNFO, it does not exhibit this behaviour

Note that spd5118 does not automatically attach to the I²C devices, so
I have to manually do it

Some details about the system:

kota@home:/tmp$ sensors spd5118-*
spd5118-i2c-1-50
Adapter: Synopsys DesignWare I2C adapter
DIMM_A1: +46.2°C (low = +0.0°C, high = +55.0°C)
(crit low = +0.0°C, crit = +85.0°C)

spd5118-i2c-0-50
Adapter: Synopsys DesignWare I2C adapter
DIMM_E1: +47.0°C (low = +0.0°C, high = +55.0°C)
(crit low = +0.0°C, crit = +85.0°C)

spd5118-i2c-1-52
Adapter: Synopsys DesignWare I2C adapter
DIMM_C1: +47.0°C (low = +0.0°C, high = +55.0°C) ALARM (LCRIT)
(crit low = +192.0°C, crit = +85.0°C)

spd5118-i2c-0-52
Adapter: Synopsys DesignWare I2C adapter
DIMM_G1: +48.0°C (low = +0.0°C, high = +55.0°C)
(crit low = +15.2°C, crit = +85.0°C)

kota@home:/tmp$ sudo i2cdetect -l
i2c-0 i2c Synopsys DesignWare I2C adapter I2C adapter
i2c-1 i2c Synopsys DesignWare I2C adapter I2C adapter
i2c-2 i2c Synopsys DesignWare I2C adapter I2C adapter
i2c-3 i2c Synopsys DesignWare I2C adapter I2C adapter
i2c-4 smbus SMBus PIIX4 adapter port 0 at 0b00 SMBus adapter
i2c-5 smbus SMBus PIIX4 adapter port 2 at 0b00 SMBus adapter
i2c-6 smbus SMBus PIIX4 adapter port 1 at 0b20 SMBus adapter
...

kota@home:/tmp$ ls -l /sys/bus/i2c/devices/
total 0
lrwxrwxrwx 1 root root 0 Nov 21 00:02 0-0050 ->
../../../devices/platform/AMDI0010:01/i2c-0/0-0050
lrwxrwxrwx 1 root root 0 Nov 21 00:02 0-0052 ->
../../../devices/platform/AMDI0010:01/i2c-0/0-0052
lrwxrwxrwx 1 root root 0 Nov 21 00:02 1-0050 ->
../../../devices/platform/AMDI0010:02/i2c-1/1-0050
lrwxrwxrwx 1 root root 0 Nov 21 00:02 1-0052 ->
../../../devices/platform/AMDI0010:02/i2c-1/1-0052
lrwxrwxrwx 1 root root 0 Nov 21 00:01 i2c-0 ->
../../../devices/platform/AMDI0010:01/i2c-0
lrwxrwxrwx 1 root root 0 Nov 21 00:01 i2c-1 ->
../../../devices/platform/AMDI0010:02/i2c-1
lrwxrwxrwx 1 root root 0 Nov 21 00:01 i2c-2 ->
../../../devices/platform/AMDI0010:04/i2c-2
lrwxrwxrwx 1 root root 0 Nov 21 00:01 i2c-3 ->
../../../devices/platform/AMDI0010:05/i2c-3
lrwxrwxrwx 1 root root 0 Nov 21 00:02 i2c-4 ->
../../../devices/pci0000:00/0000:00:14.0/i2c-4
lrwxrwxrwx 1 root root 0 Nov 21 00:02 i2c-5 ->
../../../devices/pci0000:00/0000:00:14.0/i2c-5
lrwxrwxrwx 1 root root 0 Nov 21 00:02 i2c-6 ->
../../../devices/pci0000:00/0000:00:14.0/i2c-6
...