Comment 75 for bug 145337

Revision history for this message
ThomasN (tnetter) wrote : Re: [Bug 145337] Re: Brightness key stopped working after update [Gutsy]

No success on my HP2510p.
Downloaded Luka's updated packages. Logout/Login. Screen brightness
buttons still don't work.
Also tried Ryan's xmodmaps to XF86Launch1 and XF86Launch2. No change in
brightness.

Brightness buttons work in Gnome, nevertheless. xev keycodes correspond to:
keycode 101 = XF86LaunchD
keycode 212 = XF86LaunchE
just as specified in ubuntu.xmodmap.

Here's what xev gives in KDE and then Gnome when pressing the brightness
buttons. Notice the strange FocusOut events in KDE. These are burst
every time I press on the Decrease brightness button.

KDE

*** Decrease brightness (does not work):

FocusOut event, serial 34, synthetic NO, window 0x2a00001,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 34, synthetic NO, window 0x2a00001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 34, synthetic NO, window 0x2a00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys: 2 0 0 0 0 0 0 0 0 0 0 0 32 0 0 0
           0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

KeyRelease event, serial 34, synthetic NO, window 0x2a00001,
    root 0x67, subw 0x0, time 1512701644, (169,116), root:(173,143),
    state 0x0, keycode 101 (keysym 0x1008ff4d, XF86LaunchD), same_screen
YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

*** Increase brightness (does not work)

KeyPress event, serial 34, synthetic NO, window 0x2a00001,
    root 0x67, subw 0x0, time 1512769429, (167,144), root:(171,171),
    state 0x0, keycode 212 (keysym 0x1008ff4e, XF86LaunchE), same_screen
YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2a00001,
    root 0x67, subw 0x0, time 1512769429, (167,144), root:(171,171),
    state 0x0, keycode 212 (keysym 0x1008ff4e, XF86LaunchE), same_screen
YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

GNOME

*** Decrease brightness (works)
KeyPress event, serial 30, synthetic NO, window 0x3a00001,
    root 0x67, subw 0x0, time 1513092409, (1,169), root:(594,193),
    state 0x0, keycode 101 (keysym 0x1008ff4d, XF86LaunchD), same_screen
YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x3a00001,
    root 0x67, subw 0x0, time 1513092409, (1,169), root:(594,193),
    state 0x0, keycode 101 (keysym 0x1008ff4d, XF86LaunchD), same_screen
YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

*** Increase brightness (works)
 KeyPress event, serial 30, synthetic NO, window 0x3a00001,
    root 0x67, subw 0x0, time 1513143284, (6,168), root:(599,192),
    state 0x0, keycode 212 (keysym 0x1008ff4e, XF86LaunchE), same_screen
YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x3a00001,
    root 0x67, subw 0x0, time 1513143284, (6,168), root:(599,192),
    state 0x0, keycode 212 (keysym 0x1008ff4e, XF86LaunchE), same_screen
YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False