debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #03319
[Bug 2115041] Re: Can't recognize custom ACPI platform profile
Test on Kraken Point platform
https://certification.canonical.com/hardware/202505-36760/
1. install checkbox tool by
a. $ sudo add-apt-repository ppa:checkbox-dev/beta
b. $ sudo apt install canonical-certification-client
2. Enable noble-proposed and install the power-profiles-daemon 0.21-1ubuntu1
a. add noble-proposed to /etc/apt/souces.list.d/ubuntu-sources
b. $ sudo apt update
c. $ sudo apt install -t noble-proposed power-profiles-daemon
3. Run the checkbox test case on linux-oem-6.11 and linux-oem-6.14 to identify if all power mode can be set successfully
a. $ checkbox-cli run com.canonical.certification::power-management/switch_power_mode
==============[ Running job 4 / 4. Estimated time left: 0:00:10 ]===============
---------------------[ power-management/switch_power_mode ]---------------------
ID: com.canonical.certification::power-management/switch_power_mode
Category: com.canonical.plainbox::power-management
... 8< -------------------------------------------------------------------------
Power mode choices: ['quiet', 'balanced', 'performance']
Switch to quiet successfully.
Switch to balanced successfully.
Switch to performance successfully.
------------------------------------------------------------------------- >8 ---
Outcome: job passed
Finalizing session that hasn't been submitted anywhere: checkbox-run-2025-07-04T04.52.05
==================================[ Results ]===================================
☑ : Collect information about installed software packages
☑ : Discover if the system supports power modes via acpi
☑ : Collect information about kernel modules
☑ : power-management/switch_power_mode
** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble
--
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:
Fix Committed
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