From: Armin Wolf <W_Armin@gmx.de>
To: Guenter Roeck <linux@roeck-us.net>, Luca Carlon <carlon.luca@gmail.com>
Cc: jdelvare@suse.com, linux-hwmon@vger.kernel.org,
linux-kernel@vger.kernel.org, lucas.demarchi@intel.com
Subject: Re: Suspend/resume failing due to SPD5118
Date: Sun, 4 May 2025 18:59:39 +0200 [thread overview]
Message-ID: <9625330e-e3e9-49ea-9979-653091dfbe16@gmx.de> (raw)
In-Reply-To: <f1ef9677-2650-48e3-834a-fbe9e2830b04@roeck-us.net>
Am 03.05.25 um 03:40 schrieb Guenter Roeck:
> On 5/2/25 17:58, Luca Carlon wrote:
>>> From the context it looks like the "sensors" command was never
>>> executed. To get
>>> another data point, it would help if you could load the driver, run
>>> the "sensors"
>>> command, and then try to hibernate.
>>
>> Hello,
>>
>> yes, I did not have the sensors command installed.
>>
>> I removed SPD5118 from the blacklist and I rebooted the system. This
>> is what the
>> "sensors" command is reporting after the boot:
>>
>> spd5118-i2c-1-50
>> Adapter: SMBus I801 adapter at efa0
>> ERROR: Can't get value of subfeature temp1_lcrit_alarm: Can't read
>> ERROR: Can't get value of subfeature temp1_min_alarm: Can't read
>> ERROR: Can't get value of subfeature temp1_max_alarm: Can't read
>> ERROR: Can't get value of subfeature temp1_crit_alarm: Can't read
>> ERROR: Can't get value of subfeature temp1_min: Can't read
>> ERROR: Can't get value of subfeature temp1_max: Can't read
>> ERROR: Can't get value of subfeature temp1_lcrit: Can't read
>> ERROR: Can't get value of subfeature temp1_crit: Can't read
>> temp1: N/A (low = +0.0°C, high = +0.0°C)
>> (crit low = +0.0°C, crit = +0.0°C)
>>
>> [...]
>>
>> spd5118-i2c-1-51
>> Adapter: SMBus I801 adapter at efa0
>> ERROR: Can't get value of subfeature temp1_lcrit_alarm: Can't read
>> ERROR: Can't get value of subfeature temp1_min_alarm: Can't read
>> ERROR: Can't get value of subfeature temp1_max_alarm: Can't read
>> ERROR: Can't get value of subfeature temp1_crit_alarm: Can't read
>> ERROR: Can't get value of subfeature temp1_min: Can't read
>> ERROR: Can't get value of subfeature temp1_max: Can't read
>> ERROR: Can't get value of subfeature temp1_lcrit: Can't read
>> ERROR: Can't get value of subfeature temp1_crit: Can't read
>> temp1: N/A (low = +0.0°C, high = +0.0°C)
>> (crit low = +0.0°C, crit = +0.0°C)
>>
>
> That means there is a problem with the I2C controller, and you'll have to
> black-list the driver. I don't have a better solution, sorry.
>
> Guenter
I do not thing that the i2c controller is at fault here. It seems that when loading the spd5118 driver
for the first time everything works until some point where the spd5118 device stops responding to i2c
requests.
Please you load the i2c-dev module (sudo modprobe i2c-dev) and share the results of the following commands:
sudo i2cdump 1 0x50
sudo i2cdump 1 0x51
This should return the register contents of the spd5118 devices. Please make sure that the spd5118 driver
as been blacklisted and unloaded before executing those commands.
I suspect that somehow the spd5118 driver confuses the spd5118 devices, causing them to lock up.
Could you also please tell us the name of the RAM sticks you are using?
Thanks,
Armin Wolf
>
>> I then tried to hibernate. Hibernation failed and the output of the
>> "sensors"
>> command did not change.
>>
>> I also tried to rmmod spd5118 and modprobe it. The output of the sensors
>> command does not show spd5118 anymore.
>>
>> Hope I did what you asked properly.
>> Thanks for your answer.
>>
>> Luca Carlon
>
>
next prev parent reply other threads:[~2025-05-04 16:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-19 22:59 Suspend/resume failing due to SPD5118 Lucas De Marchi
2024-12-20 1:20 ` Guenter Roeck
2025-05-02 23:07 ` carlon.luca
2025-05-02 23:51 ` Armin Wolf
2025-05-03 0:33 ` Luca Carlon
2025-05-03 0:14 ` Guenter Roeck
2025-05-03 0:58 ` Luca Carlon
2025-05-03 1:40 ` Guenter Roeck
2025-05-04 16:59 ` Armin Wolf [this message]
2025-05-04 18:41 ` Luca Carlon
2025-05-04 23:31 ` Guenter Roeck
2025-05-05 0:27 ` Armin Wolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9625330e-e3e9-49ea-9979-653091dfbe16@gmx.de \
--to=w_armin@gmx.de \
--cc=carlon.luca@gmail.com \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lucas.demarchi@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox