Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

182.2. ddcutil-3.0.2

Brightness, contrast and input source of an external monitor over DDC/CI

3.0.2-1 · GPL-2.0-or-later · 2.1 SBU · 2.9 MiB, 16 files · 42_graphics, 126 of 189 · ports/core/hardware/ddcutil

Homepage: https://www.ddcutil.com/

Why it is in KDOS. The comment above it in script/phases/42_graphics/packages.d/hardware.txt:

The monitor on the other end of a DDC/CI line: brightness, contrast and input source on a desktop screen, which has no /sys/class/backlight at all. Built --disable-x11: --enable-drm reads the EDID off the DRM connector, so it answers under a Wayland session with no X display to ask.

Depends on: glib, jansson, acl, libdrm, eudev, zlib, dbus.

Required by (2): fastfetch, powerdevil.

Sources: ddcutil-3.0.2.tar.gz (1.2 MiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install ddcutil'

build.sh:

autoreconf -fi

./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \
	--disable-x11 \
	--disable-systemd \
	--enable-drm \
	--enable-udev \
	--enable-dbus \
	--disable-usb

make
make DESTDIR=$PKG install

rm -f "$PKG/usr/lib/udev/rules.d/60-ddcutil-i2c.rules"
rmdir --ignore-fail-on-non-empty "$PKG/usr/lib/udev/rules.d" 2>/dev/null || true

rm -f "$PKG/usr/lib/modules-load.d/ddcutil.conf"
rmdir --ignore-fail-on-non-empty "$PKG/usr/lib/modules-load.d" 2>/dev/null || true

Programs: ddcutil.

Libraries: libddcutil.so.

Directories: /usr/lib/cmake/ddcutil, /usr/share/ddcutil, /usr/share/licenses/ddcutil.