You are not logged in.
Hi all,
recently i've experienced problems with kde.
Using my laptop keys for increasing the screen brightness my X process goes to 100% of CPU usage ( FN+RIGHT ARROW)
At first i thought of a problem of KDE or maybe of the routines for incresing the brightness.
However, doing it from the command line didn't make X goes to 100%:
echo "6" > /sys/class/backlight/acpi_video0/brightness
echo "9" > /sys/class/backlight/acpi_video0/brightness
so i finally deduced that it's not brightness related.
Futhermore i've didn't have this issue loweing the brightness, so i'm pretty sure that it's not brightness related.
Finally i've looked at keys and keycodes and i found the answer:
1) using the showkeys command outside X (so in the shell CTRL+ALT+F1) and pressing
- FN+LEFT: i get the keycode 224
- FN+RIGHT: i get the keycodes 225 and 227 TOGETHER!!!
so pressing the FN+RIGHT combination it's like pressing two keys at the same time
2) i've done the same thing with xev inside my X KDE session
- FN+LEFT: i get the keycode 232 that is mapped to the function XF86MonBrightnessDown
- FN+RIGHT: i get TWO events both: XF86MonBrightnessUp and XF86Display!
3) then i printed my XModMap and changed the light of the XF86Display like this:
keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia
keycode 235 =
So now the 235 doesn' do nothing
4) i reloaded the xmodmap with the command Xmodmap ~/.Xmodmap
5) With this configuration i don't have the previous problem.
So probably this is a wrong layout of my laptop keyboard.
My notebook is an Acer Aspire 5943g. I've already set inside my /etc/X11/xorg.conf.d/10-evdev.conf that i've an acer_keyboard like this
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbModel" "acer_laptop"
EndSection
however this doesn't help.
How can i solve the problem the right way? Should i fill a bug in the bug tracker?
thanks
Offline