Add support for Alder Lake N

Bug #2012260 reported by koba
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thermald (Ubuntu)
Fix Released
Medium
koba
Jammy
Fix Released
Undecided
koba
Kinetic
Won't Fix
Undecided
koba

Bug Description

[Impact]

 * Support thermald on Alder Lake N CPU.

[Test Plan]

 * Use a machine with a Alder Lake N cpu.

 * systemctl status thermald

 * Status of thermald should be `running`

[Where problems could occur]

 * This change is to add support for Alder Lake N in thermald, which won't impact other hardware.

koba (kobako)
Changed in thermald (Ubuntu):
status: New → In Progress
assignee: nobody → koba (kobako)
Changed in thermald (Ubuntu):
importance: Undecided → Medium
summary: - Add support for Adler Lake N
+ Add support for Alder Lake N
description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Proposed package upload rejected

An upload of thermald to jammy-proposed has been rejected from the upload queue for the following reason: "refers to private bugs".

Changed in thermald (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote :

This is fixed in 2.5.2, so lunar and later. Do you intend to fix this for Kinetic, as well?

Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello koba, or anyone else affected,

Accepted thermald into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/thermald/2.4.9-1ubuntu0.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in thermald (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
koba (kobako)
tags: added: originate-from-2026344
Revision history for this message
koba (kobako) wrote (last edit ):

Verified on target machine,
~~~
$ systemctl status thermald.service
● thermald.service - Thermal Daemon Service
     Loaded: loaded (/lib/systemd/system/thermald.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2023-07-09 23:28:44 CST; 1s ago
   Main PID: 1916 (thermald)
      Tasks: 4 (limit: 9145)
     Memory: 2.2M
        CPU: 41ms
     CGroup: /system.slice/thermald.service
             └─1916 /usr/sbin/thermald --systemd --dbus-enable --adaptive

 七 09 23:28:44 x31-Precision-3260 systemd[1]: Starting Thermal Daemon Service...
 七 09 23:28:44 x31-Precision-3260 systemd[1]: Started Thermal Daemon Service.
 七 09 23:28:44 x31-Precision-3260 thermald[1916]: 32 CPUID levels; family:model:stepping 0x6:be:0 (6:190:0)
 七 09 23:28:44 x31-Precision-3260 thermald[1916]: 32 CPUID levels; family:model:stepping 0x6:be:0 (6:190:0)
 七 09 23:28:44 x31-Precision-3260 thermald[1916]: sensor id 8 : No temp sysfs for reading raw temp
 七 09 23:28:44 x31-Precision-3260 thermald[1916]: sensor id 8 : No temp sysfs for reading raw temp
 七 09 23:28:44 x31-Precision-3260 thermald[1916]: sensor id 8 : No temp sysfs for reading raw temp
 七 09 23:28:44 x31-Precision-3260 thermald[1916]: Polling mode is enabled: 4
$ uname -a
Linux x31-Precision-3260 6.1.0-1014-oem #14-Ubuntu SMP PREEMPT_DYNAMIC Fri May 19 06:02:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ sudo apt policy thermald
[sudo] password for x31:
thermald:
  Installed: 2.4.9-1ubuntu0.3
  Candidate: 2.4.9-1ubuntu0.3
  Version table:
 *** 2.4.9-1ubuntu0.3 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.9-1ubuntu0.3 500
        500 https://ppa.launchpadcontent.net/kobako/exp-thermald/ubuntu jammy/main amd64 Packages
     2.4.9-1ubuntu0.2 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     2.4.9-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
~~~

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
koba (kobako)
Changed in thermald (Ubuntu Kinetic):
status: New → In Progress
assignee: nobody → koba (kobako)
Changed in thermald (Ubuntu Jammy):
assignee: nobody → koba (kobako)
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I'm adding notes do these thermald bugs because it's one upload addressing 7 bugs, and some have verification done in other bugs, so it can be hard to track.

This verification is ok.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Hm, question: I see you are running an oem kernel. Does this thermald fix only work when running on that specific kernel? Or will it also work on the normal jammy kernel?

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

kinetic is eol

Changed in thermald (Ubuntu Kinetic):
status: In Progress → Won't Fix
Revision history for this message
koba (kobako) wrote :

@Andreas, it also work on generic jammy kernel.

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for thermald has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package thermald - 2.4.9-1ubuntu0.3

---------------
thermald (2.4.9-1ubuntu0.3) jammy; urgency=medium

  * Cherry-pick following fixes from thermald 2.5.1 and 2.5.2 (LP: #1995606)
  * debian/patches/0013-Add-AlderLake-N.patch
    - Add support for Adler Lake N (LP: #2012260)
  * debian/patches/0007-Add-INT3400-base-path-for-Raptor-Lake.patch
    - Fix RPL: Add INT3400 base path(LP: #1989044)
  * debian/patches/0014-Process-ITMT-v2.patch
    - Support ITMTv2 for Raptor Lake (LP: #2007579)
  * debian/patches/0008-Install-passive-default.patch
    - Fix throttled GPU (LP: #1981087)
  * debian/patches/0012-Always-match-motion-0.patch
    - Fix in-motion function doesn't work (LP: #2018275)
  * debian/patches/0003-Parse-ITMT-Table.patch
  * debian/patches/0004-Add-capability-for-min-max-per-trip.patch
  * debian/patches/0005-Install-ITMT_target.patch
  * debian/patches/0006-Use-per-trip-min-max.patch
  * debian/patches/0009-Parse-idsp-and-trips.patch
  * debian/patches/0010-use-PL1-max-min-from-PPCC-when-policies-match.patch
  * debian/patches/0011-Parse-GDDV-before-thd_engine-init.patch
    - Fix i9-12900k shutdown when run Prime95 and stress-ng (LP: #2018236)

 -- Koba Ko <email address hidden> Wed, 05 Jul 2023 13:37:32 +0200

Changed in thermald (Ubuntu Jammy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.