This forum has been archived. All content is frozen. Please use KDE Discuss instead.

External monitor brightness control via DDC

Tags: powerdevil, ddc, brightness, i2c powerdevil, ddc, brightness, i2c powerdevil, ddc, brightness, i2c
(comma "," separated)
dvogel
Registered Member
Posts
5
Karma
0
OS
Hi all,
First: thanks for the amazing work, I've been using Plasma for several years now with great pleasure !

I would like to setup DDC brightness control as described by kbroulik in http://blog.broulik.de/2015/04/work-in-progress-all-the-way/.
I have ddc working correctly:
- i2c-dev loaded on startup
- (g)ddccontrol installed, showed me a DDC monitor was available on /dev/i2c-6
- created a udev rule, setting ownership of /dev/i2c-* devices to "i2c" group members, and added my user in the latter
- copied the VESA.xml ddc profile to a new DELD048.xml profile (matches my dell 2212HM monitor, profiles are located in /usr/share/ddccontrol-db/monitor/)

==> so now, I can start gddccontrol as me (no sudo required) the monitor is automatically queried, and I can set brightness (among other things).
Yet, I am not able to set brightness using the "Battery & Brightness" applet.

So my question is: was the feature eventually not included, or do I miss a step ? (some dbus vodoo to get ddccontrol and the applet comunicating ?)

System info:
4.8.13-1-ARCH, Intel i5, AMD RX470 <-> dell 2212HM over dvi
(gddccontrol works with both pro and non-pro amdgpu driver)

EDIT: typo
dvogel
Registered Member
Posts
5
Karma
0
OS
So I asked kbroulik at #plasma:
The fonctionality is not implement in plasma, however available as a patch: https://git.reviewboard.kde.org/r/123262/ but the patch is just an experiment: the applet is actually calling directly ddccontrol, which is really not the way to do it.
The proper way would be to issue ddc/ci instructions using a lib; a quick search gave me the folowing possibility: http://www.ddcutil.com/api_main/.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]