← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2115041] Re: Can't recognize custom ACPI platform profile

 

Mario, technically we will backport Ubuntu 25.04's kernel (Linux 6.14)
to Ubuntu 24.04 LTS as part of HWE. That doesn't affect this SRU, right?

** Also affects: power-profiles-daemon (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: power-profiles-daemon (Ubuntu)
       Status: In Progress => Fix Released

** Changed in: power-profiles-daemon (Ubuntu Noble)
       Status: New => In Progress

** Changed in: power-profiles-daemon (Ubuntu Noble)
     Assignee: (unassigned) => Kai-Chuan Hsieh (kchsieh)

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to power-profiles-daemon in
Ubuntu.
https://bugs.launchpad.net/bugs/2115041

Title:
  Can't recognize custom ACPI platform profile

Status in OEM Priority Project:
  New
Status in power-profiles-daemon package in Ubuntu:
  Fix Released
Status in power-profiles-daemon source package in Noble:
  In Progress

Bug description:
  [ Impact ]

   * The kernel 6.14+ support new string 'custom' platform profile to
  accommodate multiple driver to support different positions.

   * On Dell's platform have a BIOS option that configures the user
  selectable thermal tables which are read by the dell-pc driver. It's
  possible to boot up with the two drivers having different values and
  then the power slider being in an undefined position

   * PPD had to be modified to account for this new string. If PPD isn't
  modified then the system will be in an undefined power state.

  [ Test Plan ]

   * Checkbox job com.canonical.certification::power-
  management/switch_power_mode can verify if all platform supported
  profiles can be set and read correctly.

   *
  https://github.com/canonical/checkbox/blob/main/providers/base/units/power-
  management/jobs.pxu#L119

   * Add the job into kernel SRU plan to ensure the test coverage

  [ Where problems could occur ]

   * The platform will list supported platform_profile in
  /sys/firmware/acpi/platform_profile_choices, the PPD power mode should
  map to one of it, otherwise, it can't select the correct thermal
  policy. If the platform set the unexpected string which the mapping is
  not defined in the PPD. The thermal policy can't be switched
  successfully.

  [ Other Info ]

   * Upstream commit: https://gitlab.freedesktop.org/upower/power-
  profiles-daemon/-/commit/6b565b0b05a2bc92e3c546a567b394f415937265

   * The patch is in 25.04 and 25.10 already.

   * To the kernel without platform_profile node [1], the user
  experience is just as before.

  [1] https://docs.kernel.org/userspace-api/sysfs-platform_profile.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2115041/+subscriptions



References