summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/upower
Commit message (Collapse)AuthorAgeFilesLines
* upower-profiles-daemon: add recipeMarkus Volk2025-03-241-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0.30 ---- Add support for configuring actions to be enabled or disabled over dbus: - Actions can be listed via `powerprofilesctl list-actions` - These can be controlled via `powerprofilesctl configure-action` Add support for configuring whether PPD reacts to battery/AC charger events: - It can be queried and controlled via: `powerprofilesctl query-battery-aware` and `powerprofilesctl configure-battery-aware` Add better better compatibility with kernel 6.14. 0.23 ---- Bugfix release for a performance regression with users who manually adjusted AMD dGPU settings using other software. 0.22 ---- Since this release power-profiles-daemon is also battery-level aware and some drivers use this value to be smarter at tuning their optimizations. In particular both the AMD panel power action now uses a progressive approach, changing the the ABM based on the battery percentage. AMD p-state received various features and improvements: - it supports core performance boost when not in power-saver mode. - uses minimum frequency to lowest non-linear frequency - it is more impervious to faulty firmware and kernel bugs Added support for changing DPM clocks on amdgpu, to explicitly set the DPM clocks down to "low" when in power-saver mode. The daemon command line interface now allows to disable logind and upower integration. Fixes handling of turbo_pct (now assumed as not present by default). The systemd service lockdown settings have been restricted even more. The systemd service starts later in the boot to avoid conflicts with module loading. 0.21 ---- Since this release power-profiles-daemon is battery-state aware and some drivers use a more power efficient state when using the balanced profile on battery. In particular both the AMD and Intel P-State drivers will use the balance_power EPP profile, while for Intel one we also set the energy performance bias to 8 (instead of 6). This release also contains various fixes for the powerprofilesctl command line tool when using the launch or version commands. The tool is now better documented as we generate a manual page for it (if python3-argparse is installed) and bash completions. We're even generating the ZSH completions, but the install path must be provided. The daemon command line interface has been improved for debugging, so use --help-debug for further information. The systemd service lockdown settings have been restricted even more. Various code optimizations. 0.20 ---- The project has moved under the freedesktop 'Upower' group. The service is now advertised as 'org.freedesktop.UPower.PowerProfiles' in addition to the previous 'net.hadess.PowerProfiles' for compatibility reasons. This release adds support for: * Multiple power-profiles-daemon drivers to load simultaneously. This notably allows both CPU based control with amd-pstate or intel-pstate as well as ACPI platform profile based control. * amdgpu panel power savings which uses dedicated hardware in systems with integrated Radeon graphics to decrease panel power consumption when the system is on battery. This release also enables the test suite by default, so distribution vendors should update packaging accordingly. 0.13 ---- This release adds support for the AMD P-State driver that's been added to the 6.3 Linux kernel. This release also fixes mismatched profiles on some HP laptops and some miscellaneous bug fixes. 0.12 ---- This release adds support for the Intel "Energy Performance Bias" feature, which can be used on hardware that doesn't have a platform_profile or doesn't support HWP. It will also be used to eke out a bit more performance, or power, on systems which already supported HWP. More information is available in the README. 0.11.1 ------ This release stops power-profiles-daemon from modifying the cpufreq driver when driver when the user/administrator has chosen to disable the Intel P-State scaling governor (eg. forcing a passive operation mode). More information is available in the README. 0.11 ---- This release fixes problems on Intel machines when the CPUs didn't support turbo at all, or the performance scaling governor was built as default in the kernel. It also adds better end-user documentation, fixes in the command-line tool to not cause bug report tools to popup on not-uncommon errors, and a bug fix for running on some systems with controllable charge speeds. 0.10.1 ------ This release fixes a bug in the authorization codepath added in 0.10.0, where holding a profile could still succeed despite having sent a denial to the calling process. This release also makes the pylint test optional. It should not be used unless the goal is to contribute patches to assuage it. 0.10.0 ------ This release adds authorization checks for the profile holds and profile switching features of the backend daemon, through polkit. It is recommended that all distributions upgrade to this version as soon as possible. This release also adds support for the "quiet" kernel platform profile used in some systems. 0.9.0 ----- This release adds support for "holding" a power profile while running a task or application, making it possible to switch to a performance profile during a compilation, or to a power-saver profile when low on battery, reverting to the original profile when done. This release also removes the "inhibited" property for the performance profile, which made it impossible to switch to that profile, and replaces it with the "degraded" property which lists why performance is degraded. Finally, the last used profile is now remembered across reboots. 0.8.1 ----- This release works-around a cosmetic issue in gnome-shell animations when on battery and using the intel-pstate driver. 0.8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: add polkit PACKAGECONFIG optionMarc Ferland2024-12-121-1/+3
| | | | | | | | Add a PACKAGECONFIG option for polkit. Activate it when DISTRO_FEATURES contains 'polkit'. Signed-off-by: Marc Ferland <marc.ferland@sonatest.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: bump to 1.90.6Marc Ferland2024-12-121-1/+7
| | | | | Signed-off-by: Marc Ferland <marc.ferland@sonatest.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: use archive file in SRC_URI and fix UPSTREAM_CHECK_URIMarc Ferland2024-12-121-4/+5
| | | | | | | | | | | | | | | | | upower releases are available as tar.bz2 archives let's use them instead off cloning the whole repo. Also, fix the UPSTREAM_CHECK regex that changed after revision 0.99.13. The format went from: UPOWER_0_99_13 to v0.99.14 Signed-off-by: Marc Ferland <marc.ferland@sonatest.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: fix location of udev-rules with sysvinitAndreas Müller2022-04-061-1/+1
| | | | | | | | | | | | | | | UPower automatically detects location of udev-rules by asking udev's pkgconfig variable 'udev_dir' and appending 'rules.d'. This does not work for non systemd's udev: | Files/directories were installed but not shipped in any package: | /usr/rules.d | /usr/rules.d/95-upower-hid.rules | /usr/rules.d/95-upower-wup.rules To avoid, set udevrulesdir explicitly for non-systemd builds. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: upgrade 0.99.13 -> 0.99.17 / build with mesomAndreas Müller2022-04-062-38/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port to meson turned into total overhaul of recipe Version 0.99.17 --------------- Released: 2022-03-09 Bug fixes: - Fix FD handling issues that may cause lid to not be detected Version 0.99.16 --------------- Released: 2022-02-23 Bug fixes: - Silence unnecessary udev event warnings - Increase test timeout (#171) - Explicitly link with plist - Fix UpClient reference leak - Fix DisplayDevice state on battery hotplug - Fix critical action to work after it was cancelled (#172) Version 0.99.15 --------------- Released: 2022-02-09 Bug fixes: - Various build fixes - Update bluetooth device alias when it changes (#169) No info for 0.99.14 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: add UPSTREAM_CHECK_GITTAGREGEXYi Zhao2022-01-051-0/+2
| | | | | | | | | | | | | | | | | | | Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version. Before the patch: $ devtool latest-version upower INFO: Current version: 0.99.13 INFO: Latest version: 014 INFO: Latest version's commit: 8cbaa7f70b1bc8aa96f420f9061b20e5d8839ea7 After the patch: $ devtool latest-version upower INFO: Current version: 0.99.13 INFO: Latest version: 0.99.13 INFO: Latest version's commit: 0f6cc0a10be22d7ddd684e1cd851e4364a440494 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: upgrade 0.99.11 -> 0.99.13Andreas Müller2021-11-031-6/+7
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-5/+5
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: Don't inherit 'features_check' in recipes that don't utilize itJacob Kroon2020-06-101-1/+1
| | | | | Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: rename distro_features_check to features_checkDenys Dmytriyenko2019-11-211-1/+1
| | | | | | | Avoid warning due to the class rename in OE-Core. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: update to 0.99.11Oleksandr Kravchuk2019-09-162-34/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: remove polkit dependencyHongxu Jia2019-06-251-4/+1
| | | | | | | | Follow upstream upower: https://gitlab.freedesktop.org/upower/upower/commit/9a2b2633095fb901fc1931ab0c600392d68bb3b4 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: add REQUIRED_DISTRO_FEATURES for polkitMingli Yu2019-02-221-1/+3
| | | | | | | | | | | | | | | | After below commits to add polkit as a required distro feature: 97a1a55 polkit: add polkit as a required distro feature c049e02 polkit: inherit distro_features_check Need to add REQUIRED_DISTRO_FEATURES for polkit to fix below error for these packages which depend on polkit: $ bitbake upower ERROR: Nothing PROVIDES 'polkit' (but /build/layers/meta-openembedded/meta-oe/recipes-support/upower/upower_0.99.7.bb DEPENDS on or otherwise requires it) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: avoid scary messages in journal/syslogAndreas Müller2018-09-242-1/+35
| | | | | | | | | | | | When inserting/removing USB device not handled by upower (Mouse/Keyboard/USB-Sticks..) upower spams on later kernels: | Sep 17 15:38:46 imx6qdl-variscite-som upowerd[553]: unhandled action 'bind' on /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2 | Sep 17 15:38:46 imx6qdl-variscite-som upowerd[553]: unhandled action 'bind' on /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2:1.0 | Sep 17 15:38:46 imx6qdl-variscite-som upowerd[553]: unhandled action 'bind' on /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2:1.0/0003:41> Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upower: update 0.99.5 -> 0.99.7Andreas Müller2018-04-081-7/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* upower: update 0.99.4 -> 0.99.5Andreas Müller2017-08-281-2/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: don't start on boot by default - dbus does that on demandAndreas Müller2016-09-261-0/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: add systemd supportJackie Huang2016-09-111-2/+6
| | | | | | | | | * inherit systemd * Add PACKAGECONFIG for systemd and control it based on DISTRO_FEATURES Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: remove trailing spacesMartin Jansa2016-08-221-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: update to version 0.99.4Derek Straka2016-08-151-5/+3
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: fix WARNINGArmin Kuster2016-05-101-1/+1
| | | | | | | WARNING: upower-0.9.14-r2 do_configure: Missing DEPENDS on intltool-native Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: fix gobject introspectionAlexander Kanavin2016-03-141-2/+2
| | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
* upower replace udev by libgudev in DEPENDSAndreas Müller2015-09-231-1/+1
| | | | | | | | | | fixes: | configure: error: Package requirements (gudev-1.0 >= 147) were not met: | | No package 'gudev-1.0' found Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* upower: Add PACKAGECONFIG for ideviceMartin Jansa2013-09-171-0/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* upower: use gobject-introspection-stub instead of -native which was removed ↵Martin Jansa2012-07-281-2/+2
| | | | | | in oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Add missing gobject-introspection-native dependency for upower.Peter Tworek2012-01-231-1/+1
| | | | | Signed-off-by: Peter Tworek <tworaz666@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* upower: add pm-utils to RRECOMMENDSKoen Kooi2012-01-121-0/+4
| | | | | | | | | | This fixes: dbus-daemon[207]: (upowerd:401): UPower-Linux-WARNING **: failed to run script: Failed to execute child process "/usr/bin/pm-is-supported" (No such file or directory) dbus-daemon[207]: (upowerd:401): UPower-Linux-WARNING **: failed to run script: Failed to execute child process "/usr/bin/pm-is-supported" (No such file or directory) dbus-daemon[207]: (upowerd:401): UPower-WARNING **: failed to run script: Failed to execute child process "/usr/sbin/pm-powersave" (No such file or directory) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* upower: update to 0.9.14Koen Kooi2011-10-191-4/+4
| | | | | | This fixes building against a recent glib-2.0 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* upower: initial commit of 0.9.11Koen Kooi2011-06-091-0/+28
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>