Bug 1224197 - ddc/ci brightness control not available in applet
Summary: ddc/ci brightness control not available in applet
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Current
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Antonio Larrosa
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-14 06:08 UTC by Kostadin Shishmanov
Modified: 2024-05-15 08:14 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2024-05-14 06:08:21 UTC
The brightness slider doesn't appear at all in the "Brightness and Color" applet in the panel. It works in other distros like Fedora and Gentoo.

`systemctl --user status plasma-powerdevil.service`

May 14 08:53:25 localhost systemd[1622]: Starting Powerdevil...
May 14 08:53:25 localhost libddcutil[1998]: Initializing.  ddcutil version 1.4.1
May 14 08:53:25 localhost libddcutil[1998]: Library initialization complete.
May 14 08:53:25 localhost org_kde_powerdevil[1998]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
May 14 08:53:25 localhost org_kde_powerdevil[1998]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
May 14 08:53:25 localhost systemd[1622]: Started Powerdevil.
May 14 08:53:25 localhost org_kde_powerdevil[1998]: org.kde.powerdevil: Handle button events action could not check for screen configuration
May 14 08:53:25 localhost org_kde_powerdevil[1998]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Comment 1 Fabian Vogt 2024-05-14 08:20:44 UTC
Do you have ddcutil and/or ddcutil-service installed?
Comment 2 Kostadin Shishmanov 2024-05-14 10:38:03 UTC
(In reply to Fabian Vogt from comment #1)
> Do you have ddcutil and/or ddcutil-service installed?

Originally, I only had libddcutil installed, then I tried installing both ddcutil and ddcutil-service. And after installing ddcutil-service the brightness control appeared in the applet. I tried removing both of them again, and it looks like only the udev rules from `ddcutil-i2c-udev-rules` are needed and loading the i2c-dev module by creating `/etc/modules-load.d/ddcutil.conf`, and putting i2c-dev in that file. The module loading should already be default in ddcutil release >=2.0, but that version is not yet in openSUSE it seems like.
Comment 3 Fabian Vogt 2024-05-14 11:27:01 UTC
Looks like the ddcutil 2.0 submission was declined: https://build.opensuse.org/request/show/1127595

Reassigning.
Comment 4 Antonio Larrosa 2024-05-15 07:34:01 UTC
I've updated the package to 2.1.4 and submitted it in https://build.opensuse.org/request/show/1174135
Comment 5 Fabian Vogt 2024-05-15 08:14:09 UTC
(In reply to Antonio Larrosa from comment #4)
> I've updated the package to 2.1.4 and submitted it in
> https://build.opensuse.org/request/show/1174135

Great, that + https://build.opensuse.org/request/show/1174163 should fix it.