XF86MediaPlay 按钮在遥控器上不起作用,但在键盘上起作用

XF86MediaPlay 按钮在遥控器上不起作用,但在键盘上起作用

我有一个 emprex 1100 遥控器,用于控制媒体,我很喜欢它。自从升级到 14.04 以来,它上面的播放按钮不再起作用,但我不明白为什么。所有其他按钮都像以前一样工作。我键盘上具有相同键码的按钮工作正常。

我也无法使用 ccsm 将 XF86AudioPlay 重新映射到xdotool key XF86AudioPlay并使其工作,但可以重新映射其他工作键(我目前正在使用重新映射到 的“暂停” xdotool key XF86AudioPlay)。

这是xev远程日志:

KeyPress event, serial 37, synthetic NO, window 0x4c00001,
    root 0x25c, subw 0x0, time 39090385, (1055,738), root:(2800,790),
    state 0x10, keycode 215 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
    XKeysymToKeycode returns keycode: 172
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
    root 0x25c, subw 0x0, time 39090497, (1055,738), root:(2800,790),
    state 0x10, keycode 215 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
    XKeysymToKeycode returns keycode: 172
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

当我按下键盘上相同的(工作)按钮时,会发生以下情况

FocusOut event, serial 37, synthetic NO, window 0x4c00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 37, synthetic NO, window 0x4c00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   16  0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
    root 0x25c, subw 0x0, time 39091783, (1055,738), root:(2800,790),
    state 0x10, keycode 172 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

当我使用遥控器上的工作按钮时发生的情况如下:

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

KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
    root 0x25c, subw 0x0, time 39324425, (369,751), root:(2114,803),
    state 0x10, keycode 173 (keysym 0x1008ff16, XF86AudioPrev), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

为什么会有差异?我该如何解决?

相关内容