I hope to have answered all of them in a useful way.
If you have more questions or ideas let me know.
Yes, that was informative and helpful. Thanks.
Most likely by looking at the logs and EC source code.
I’ll start digging through the source for the EC and ectool
when I have time then.
The fix needs to come from the ACPI supplier, going through Framework.
Sounds like Framework would have to chase the fix for this then. I guess I’ll create a support ticket or something when I have more info.
I wrote the hwmon driver for the CrOS EC
Nice. I was not aware of this driver; it looks useful. Unfortunately it seems my kernel was not shipped with it though, so I guess I’ll be compiling it soon.
The ACPI firmware exposes these readings under standard ACPI interfaces so it works everywhere.
But for example it misses the labels for the sensors, which my driver also exposes.
And there is data for which no standard ACPI interfaces may exist, so a dedicated driver makes sense.
Ah, so there are two interfaces.
I found some interesting information in the message thread about your v2 patches while looking into the driver you wrote. You’d have already read it, but I’ll reproduce it here for completeness sake.
Stephen Horvath:
Oh I see, I haven’t played around with the temp sensors until now, but I
can confirm the last temp sensor (cpu@4c / temp4) will randomly (every
~2-15 seconds) return EC_TEMP_SENSOR_ERROR (0xfe).
Unplugging the charger doesn’t seem to have any impact for me.
The related ACPI sensor also says 180.8°C.
I’ll probably create an issue or something shortly.
- [v2,1/2] hwmon: add ChromeOS EC driver - Patchwork
(corroborated by Guenter Roeck in the following message as well)
This matches my experience, so I guess this is a known issue. Checking with ectool temps all
while the problem occues reports Sensor 3 error
, so at least the EC handles the error even if ACPI doesn’t.
Would you happen to know what the status of his plan to create an issue is? It sounds to me like he’s referring to reporting this to Framework, so perhaps they’re already aware. If so, following or joining whatever existing effort there may be to track down the issue sounds beneficial.