Skip to content

Embedded Controller does not read temperatures continuously, leading to no fan control #69

Open
@depate

Description

@depate

Hello!

Since some time I noticed that my Framework Laptop 13 AMD 7840U gets really hot. Uncomfortably hot. Also, I noticed that there's no fan spin at all, if that happens. But, also, I notice fan spins from time to time, often also full speed.

The laptop runs Archlinux, the latest BIOS firmware, although I noticed this also with previous versions.

I used ectool and framework_tool to investigate and found, that neither tool updates its reported temperatures under load (compiling or s-tui stress mode) and thus the EC does not see the necessity to spin up the fans according to the limits. And, expectedly, this leads to CPU throttling and a burning hot chassis.

I observed that after a fresh boot, the report of CPU temperatures can occasionally be Zero (0 °C) for all reported temperatures. Also after a suspend/wake cycle this might fix itself. Sometimes after a shortish period of time (< 2 min) the EC reads temperatures, however, recorded temperatures remain static, irrespective of CPU load. Sometimes it simply does not. Once I repeat a sleep/wake cycle, the temperature often updates and spins up the fan if needed, which I almost always the case, and the fans will go full blast to cool down the APU.

Since, the dropping temperature after ending the load will also not be noticed by the EC, the fan will stay on full-blast indefinitely, or until I suspend the laptop again.

This behavior has been observed for battery or AC mode.

Could you please tell me where to look further for logs or details, why the EC is stuck in its temperature measurements?

My understanding would be, that there is a continuous measurement. E.g. like all the other sensors that sensors reports.

Attachments:

EC version:

workframe in ~
✗ sudo framework_tool --versions
Mainboard Hardware
  Type:           Laptop 13 (AMD Ryzen 7040Series)
  Revision:       MassProduction
UEFI BIOS
  Version:        03.09
  Release Date:   04/22/2025
EC Firmware
  Build version:  azalea_v3.4.113385-ec:c25dec,os:7b88e1,cmsis:4aa3ff 2025-04-14 01:55:38 marigold1@ip-172-26-3-226
  Current image:  RO
PD Controllers
  Right (01):       0.0.1C (MainFw)
  Left  (23):       0.0.1C (MainFw)
Touchpad
  Firmware Version: v0704
HDMI Expansion Card
  Active Firmware:  106 (3.0.10.06A, MainFw)

workframe in ~ took 0s
❯ sudo ectool version
RO version:    azalea_v3.4.113385-ec:c25dec,os
RW version:    azalea_v3.4.113385-ec:c25dec,os
Firmware copy: RO
Build info:    azalea_v3.4.113385-ec:c25dec,os:7b88e1,cmsis:4aa3ff 2025-04-14 01:55:38 marigold1@ip-172-26-3-226
Tool version:  0.0.1-isolate Apr 30 2025 none

No reporting of Temperatures after Boot/Sleep/Wake Cycle:

Every 1.0s: sudo framework_tool -vvvvv --thermal                                                                                                                                      workframe: 02:21:31 AM
                                                                                                                                                                                               in 0.019s (0)
[DEBUG] Chromium EC Driver: CrosEc
[TRACE] get_smbios() linux entry
[DEBUG] read_memory(offset=0x0, size=0xF)
[DEBUG] read_memory(offset=0x10, size=0x8)
  F75303_Local: 0 C
  F75303_CPU:   0 C
  F75303_DDR:   0 C
  APU:          Error
  Fan Speed:     0 RPM
[INFO ]   Fan Speed:    Not present
[INFO ]   Fan Speed:    Not present
[INFO ]   Fan Speed:    Not present

On AC/battery readout after successful suspend/wake cycle. Initial state prior to the next two pictures.

workframe in ~
❯ sudo framework_tool -vvvvv --thermal
[DEBUG] Chromium EC Driver: CrosEc
[TRACE] get_smbios() linux entry
[DEBUG] read_memory(offset=0x0, size=0xF)
[DEBUG] read_memory(offset=0x10, size=0x8)
  F75303_Local: 42 C
  F75303_CPU:   43 C
  F75303_DDR:   42 C
  APU:          Error
  Fan Speed:  2340 RPM
[INFO ]   Fan Speed:    Not present
[INFO ]   Fan Speed:    Not present
[INFO ]   Fan Speed:    Not present

System in s-tui stress mode after the intial setup:
Image

System still in stress mode, after suspend/wake cycle. Temperatures got updated, fans immediately ramp up to cool the CPU. Also notice the 500 MHz increase in clock speed once the fans provide more cooling.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions