Registered Member
|
Hello,
KDE 4.12.4 / Arch / 3.14.0 on a Lenovo Thinkpad T440s (very recent model). Most control keys like volume are working prefectly with KDE. Screen brightness control works too, I can use KDE energy management to control the brightness. But KDE does not react to the button presses. When I try to reassign the buttons with khotkeys it jumps back to the default, indicating I try to customize the button to the default value. xev says
after several key presses. The first keypress did not generate a Backlight message right away. Any idea what could be wrong here? Thx! |
Administrator
|
The reason why that is not mappable is because it isn't a keypress as far as KDE is concerned - it is something quite different. The above is something like what you should have seen when you released the brightness increase/decrease key. Responding to these different events will require special code within Powerdevil i'm afraid. Please file a feature request at bugs.kde.org in order to get this implemented.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Ok, interestingly khotkeys does accept them as buttons, I can even assign the brightness down button for example to any arbitrary action, just used it to show/hide Yakuake.
It also works the other way around, I can use e.g. F11 / F12 for brightness control and it works perfectly. I just can't use the brightness buttons for brightness control. |
Administrator
|
Can you try to assign those shortcut keys to other actions within System Settings > Shortcuts & Gestures > Global Shortcuts and see if it works for that action (Volume Up/Down with KMix for instance)?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
That's exactly what I have done:
Or did I misunderstand you? |
Registered Member
|
I didn't have exactly the same issue but experienced limitations with the brightness settings in KDE (not enough levels).
So I used the following article in Archlinux wiki. I also configured the Power Daemon to ignore the presses on the light up/down, so that there are no conflicts. I also had to add:
to my bootloader's line. BTW, I use intel HD 3000 GPU, you'll have to find out what works with you (add, remove options, etc.)
KDE fan since 2008,
Using ArchLinux (almost) only to get the latest KDE ASAP! |
Administrator
|
Sorry, I interpreted "khotkeys" as meaning Custom Shortcuts - which operates slightly differently in terms of how the shortcuts themselves are set.
If you used the Global Keyboard Shortcuts module, then I can't explain why it wouldn't work - does assigning another key to the Brightness Up/Down action allow you to change it using that other key?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I used the global shortcuts menu and yes, I just assigned brightness up/down to F2/F4 and it works. acpi_osi=Linux acpi_backlight=legacy as kernel command line changed nothing. Thanks! |
Administrator
|
Okay, that means the action itself is working fine - the problem lies in the shortcuts system. I'm mystified though, as you have previously mentioned that assigning the brightness up/down keys themselves to another action (namely, activating Yakuake) worked. When you did this, were you informed that there was a shortcut conflict?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Yes, I was warned about a conflict:
German, but I think you get the point. KDE is 4.13.0 now |
Administrator
|
Okay, after reassigning those keys back to their correct shortcuts - can you try running kdebugdialog and enabling all areas?
Then tail ~/.xsession-errors while trying to change the brightness. Is any output of relevance given?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Nothing. Not only nothing of relevance, but just plain nothing. Also nothing if I'm using the change volume keys or mute (which are working flawlessly)
Yes, I enabled all debug switches and I tailed .xsession-errors, which was open for writing (opening/closing Yakuake [using F12] produced some output) Sorry.... |
Administrator
|
Okay, that is unfortunate. My guess would be that this is a bug in Powerdevil - it will be ignoring the keypresses deliberately for some reason I suspect (it likely believes the hardware will handle the brightness change when it isn't). Please file a bug report, including the specifics (only fails with the brightness keys, which work with other shortcuts).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I think I forgot to mention something important (I thought I mentioned it, but haven't found it in this thread)
Brightness control using the keys works. You have to press multiple times or hold down in order to get an increment. KDE does not reflect the change, no OSD, no movement of the slider in powerdevil.
Sorry for forgetting this fact. |
Administrator
|
Ah, this explains it in part. Please file a bug against Powerdevil - it should still be showing an indicator, as long as it is aware that the brightness level is changing.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]