Bug 334935

Summary: Can't change laptop brightness
Product: [Frameworks and Libraries] frameworks-solid Reporter: AnAkkk <anakin.cs>
Component: generalAssignee: Alex Fiestas <afiestas>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs, sebas
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: plasmaengineexplorer
console output

Description AnAkkk 2014-05-17 10:24:26 UTC
My brightness keys work fine under KDE 4.13, but not with Plasma Next. The battery monitor says: "No screen of keyboard brightness controls available".
Changing it through a terminal works fine.

I'm on ArchLinux with the -git packages from AUR. 

Reproducible: Always
Comment 1 Kai Uwe Broulik 2014-05-17 11:55:07 UTC
The PowerDevil infrastructure for brightness handling is not yet ready for Plasma Next.
Comment 2 Sebastian Kügler 2014-05-20 00:17:39 UTC
Correction: powerdevil is there. :) I've both display and keyboard brightness support in the battery applet.

AnAkkk: Could you try installing powerdevil? If that doesn't solve your problem, or you already have it, please reopen this bugreport.
Comment 3 AnAkkk 2014-05-20 08:28:54 UTC
powerdevil is already installed.
Comment 4 Sebastian Kügler 2014-05-20 10:54:47 UTC
AnAkkk: Have you logged out and back in again after installing powerdevil? I assume it worked just fine in Plasma 4.x?

Could you install plasmate, and start 

plasmaengineexplorer --engine powermanagement

Then post a screenshot of what's shown (tree expanded, please), and the console output that plasmaengineexplorer prints.

Thanks for helping with debugging this!
Comment 5 AnAkkk 2014-05-20 11:06:08 UTC
Created attachment 86732 [details]
plasmaengineexplorer

Yes, I've already logged out and back in, and restarted my computer many times since. Everything works fine in Plasma 4.x.
Comment 6 AnAkkk 2014-05-20 11:06:34 UTC
Created attachment 86733 [details]
console output
Comment 7 Sebastian Kügler 2014-05-20 11:26:35 UTC
Ok, the Plasma bits seem good here. I'm reassigning this to Solid, as the problems comes from an underlying library.
Comment 8 AnAkkk 2014-06-10 18:06:23 UTC
I can now change the brightness through the battery applet. The keys still don't work though.
Comment 9 AnAkkk 2014-06-27 19:35:17 UTC
And now after updating some of the git packages it stopped working in the battery applet again.
Comment 10 AnAkkk 2014-08-30 15:41:47 UTC
Anyone here?

The errors I have now:
dbus[549]: [system] Activating service name='org.kde.powerdevil.backlighthelper' (using servicehelper)
org.kde.powerdevil.backlighthelper[822]: Helper initialization failed
dbus[549]: [system] Activated service 'org.kde.powerdevil.backlighthelper' failed: Launch helper exited with unknown return code 255

This is still on Arch Linux. I've tested on a Kubuntu Live CD and it works fine though. Any ideas?
Comment 11 AnAkkk 2014-08-31 18:03:26 UTC
Fixed by rebuilding all packages to be in /usr rather than /opt/kf5.