Comment 1 for bug 285056

Revision history for this message
Benjamin Kay (benkay) wrote :

I'm having similar trouble on an amd64 machine (a Thinkpad T61) using amarok 2:1.4.10-0ubuntu3 and kde 4:4.1.2-0ubuntu4. The volume buttons (up, down, and mute) work find for me, and the OSD correctly reflects the volume level. My keyboard has a play/pause button, but it only makes Amarok play -- I can't use it to pause music. My keyboard's stop button doesn't work at all. My keyboard's next and previous buttons work, but only if Amarok has window focus.

xev reports my keyboard's buttons as follows:
Volume Mute: XF86AudioMute
Volume Down: XF86AudioLowerVolume
Volume Up: XF86AudioRaiseVolume
Play/Pause: XF86AudioPlay
Stop: XF86AudioLowerVolume
Next: XF86AudioNext
Previous: XF86AudioPrev

Interestingly, pressing the stop button doesn't lower my volume. Here's the full xev output for each button:

Volume Down:
KeyRelease event, serial 31, synthetic NO, window 0x4200001,
    root 0x81, subw 0x0, time 13098721, (365,-173), root:(370,506),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Stop:
KeyPress event, serial 34, synthetic NO, window 0x4200001,
    root 0x81, subw 0x0, time 13128883, (48,-15), root:(53,664),
    state 0x0, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XKeysymToKeycode returns keycode: 122
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x4200001,
    root 0x81, subw 0x0, time 13128955, (48,-15), root:(53,664),
    state 0x0, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XKeysymToKeycode returns keycode: 122
    XLookupString gives 0 bytes:
    XFilterEvent returns: False