Re: [PATCH v4 5/6] i2c: smbus: Support DDR5 SPD EEPROMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Guenter,


Am 18.06.24 um 17:10 schrieb Guenter Roeck:
On 6/18/24 07:59, Paul Menzel wrote:
[ ... ]

I did

     $ tail -3 /etc/sensors3.conf
     chip "spd5118-*"
         set temp1_max 56000
         set temp1_crit 84000

but it stays with the defaults:

```
$ sensors
spd5118-i2c-0-53
Adapter: SMBus I801 adapter at efa0
temp1:        +20.8°C  (low  =  +0.0°C, high = +55.0°C)
                        (crit low =  +0.0°C, crit = +85.0°C)


You'd have to write directly into the attribute files.
For example, if you have

$ grep . /sys/class/hwmon/*/name
/sys/class/hwmon/hwmon0/name:nvme
/sys/class/hwmon/hwmon1/name:nct6687
/sys/class/hwmon/hwmon2/name:k10temp
/sys/class/hwmon/hwmon3/name:spd5118
/sys/class/hwmon/hwmon4/name:spd5118
/sys/class/hwmon/hwmon5/name:spd5118
/sys/class/hwmon/hwmon6/name:spd5118
/sys/class/hwmon/hwmon7/name:mt7921_phy0
/sys/class/hwmon/hwmon8/name:amdgpu

you could run

sudo bash -c 'echo 56000 > /sys/class/hwmon/hwmon3/temp1_max'

    $ sudo bash -c 'echo 56000 > /sys/class/hwmon/hwmon3/temp1_max'
    bash: line 1: echo: write error: No such device or address


Kind regards,

Paul




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux