Package Details: powerdevil-ddcutil 5.26.3-1

Git Clone URL: https://aur.archlinux.org/powerdevil-ddcutil.git (read-only, click to copy)
Package Base: powerdevil-ddcutil
Description: Power management for KDE plasma with DDC/CI enabled
Upstream URL: https://kde.org/plasma-desktop/
Licenses: LGPL
Conflicts: powerdevil
Provides: powerdevil
Submitter: Jake
Maintainer: Jake
Last Packager: Jake
Votes: 15
Popularity: 0.50
First Submitted: 2021-08-03 19:25 (UTC)
Last Updated: 2022-11-10 17:27 (UTC)

Pinned Comments

Jake commented on 2021-08-03 19:47 (UTC) (edited on 2021-11-20 11:11 (UTC) by Jake)

The package contains udev rules for i2c, to use them add your user to the i2c group:

sudo gpasswd -a $USER i2c

Also you have to load the i2c-dev kernel module at boot, if you don't have it already:

sudo sh -c 'echo i2c-dev > /etc/modules-load.d/ddc.conf'

and reboot.

Latest Comments

1 2 Next › Last »

Jake commented on 2022-11-01 12:24 (UTC)

@tornado99: The error says you are still running kde plasma 5.25. To build this package with 5.26 you have to upgrade the system packages (especially plasma-workspace) first.

tornado99 commented on 2022-11-01 11:57 (UTC)

CMake Error at CMakeLists.txt:57 (find_package): Can't build:

'Could not find a configuration file for package "LibKWorkspace" that is compatible with requested version "5.26.2".The following configuration files were considered but not accepted: /usr/lib64/cmake/LibKWorkspace/LibKWorkspaceConfig.cmake, version: 5.25.5 /usr/lib/cmake/LibKWorkspace/LibKWorkspaceConfig.cmake, version: 5.25.5 /lib64/cmake/LibKWorkspace/LibKWorkspaceConfig.cmake, version: 5.25.5 /lib/cmake/LibKWorkspace/LibKWorkspaceConfig.cmake, version: 5.25.5'

Jake commented on 2022-08-02 21:33 (UTC) (edited on 2022-11-01 12:24 (UTC) by Jake)

@Thaodan: No, I did not, since there were already tickets. First 2020 it was declined, because upstream default is to disable it: https://bugs.archlinux.org/task/67533

Then it was enabled for a while: https://github.com/archlinux/svntogit-packages/commit/1bc296b31c67c3555815db41d22b140b3af552e7

Few months later this bug was created: https://bugs.archlinux.org/task/70525 Which caused the change to disable it again: https://github.com/archlinux/svntogit-packages/commit/274840f272926b74361a0cabf809e877d5a2adb5

Thaodan commented on 2022-08-02 16:48 (UTC)

Did you try to create a bug in flyspray to enable this on the official package? As this doesn't require any patches it should be easy.

Jake commented on 2022-06-13 21:25 (UTC)

definitio: Right, was added with 5.23 - I added it now here as well.

definitio commented on 2022-06-08 19:38 (UTC)

Please add power-profiles-daemon as optional dependency. The package in official repository has it.

Jake commented on 2022-05-31 23:23 (UTC)

Hi prroet, thanks for your suggestion. Though I tried it and it does not make a difference - build including packaging takes 21 seconds for me. It already builds in parallel if MAKEFLAGS are set accordingly: https://wiki.archlinux.org/title/makepkg#Improving_compile_times Would recommend to configure it there, so you can utilize all cores not just for building this package. Usually pkgbuilds only override this if >1 would cause issues.

prroet commented on 2022-05-29 15:55 (UTC)

I found a small improvement to reduce compile time:

diff --git a/PKGBUILD b/PKGBUILD
index ab8fd12..9c62c6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,6 +31,7 @@ validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Riddell <jr
               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>

 build() {
+  export CMAKE_BUILD_PARALLEL_LEVEL=$(nproc)
   cmake -B build -S $_pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \
     -DBUILD_TESTING=OFF \

See: https://cmake.org/cmake/help/latest/envvar/CMAKE_BUILD_PARALLEL_LEVEL.html#envvar:CMAKE_BUILD_PARALLEL_LEVEL

Jake commented on 2021-12-22 22:56 (UTC)

i2c-tools contains many binaries, shared libs and a python module, which are all unnecessary for this package. I think it makes more sense to supply the 2 small config fragments here directly. i2c-tools can be installed separately if actually needed, as it doesn't cause conflicts.