После обновления до 17,10 всех функциональных клавиш отображаются на “XF86WakeUp”

Я использую Lenovo Thinkpad E330 и просто обновленный до Ubuntu 17.10 с помощью Единицы. Перед обновлением там не были никакие проблемы с моими ключами медиа, но теперь они все, кажется, отображаются на "XF86WakeUp". Однако на уровне ACPI они, кажется, в порядке. При выполнении acpi_listen вывод для бесшумного режима, VolDown и VolUp корректен:

$ acpi_list
button/mute MUTE 00000080 00000000
button/volumedown VOLDN 00000080 00000000 K
button/volumeup VOLUP 00000080 00000000 K

Однако на xev вывод является неправильным:

$ xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'
151 XF86WakeUp
151 XF86WakeUp
151 XF86WakeUp

Полный вывод следующий:

$ xev
Outer window is 0x6200001, inner window is 0x6200002

PropertyNotify event, serial 8, synthetic NO, window 0x6200001,
    atom 0x27 (WM_NAME), time 16513838, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x6200001,
    atom 0x22 (WM_COMMAND), time 16513838, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x6200001,
    atom 0x28 (WM_NORMAL_HINTS), time 16513838, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x6200001,
    parent 0x6200001, window 0x6200002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x6200001,
    atom 0x151 (WM_PROTOCOLS), time 16513838, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x6200001,
    event 0x6200001, window 0x6200002, override NO

PropertyNotify event, serial 28, synthetic NO, window 0x6200001,
    atom 0x1bc (_NET_WM_ALLOWED_ACTIONS), time 16513839, state PropertyNewValue

ConfigureNotify event, serial 29, synthetic NO, window 0x6200001,
    event 0x6200001, window 0x6200001, (0,0), width 178, height 178,
    border_width 0, above 0x4600017, override NO

ReparentNotify event, serial 29, synthetic NO, window 0x6200001,
    event 0x6200001, window 0x6200001, parent 0x1290641,
    (0,0), override NO

ConfigureNotify event, serial 29, synthetic YES, window 0x6200001,
    event 0x6200001, window 0x6200001, (55,24), width 178, height 178,
    border_width 0, above 0x0, override NO

ConfigureNotify event, serial 29, synthetic YES, window 0x6200001,
    event 0x6200001, window 0x6200001, (55,24), width 178, height 178,
    border_width 0, above 0x0, override NO

MapNotify event, serial 29, synthetic NO, window 0x6200001,
    event 0x6200001, window 0x6200001, override NO

VisibilityNotify event, serial 29, synthetic NO, window 0x6200001,
    state VisibilityUnobscured

Expose event, serial 29, synthetic NO, window 0x6200001,
    (0,0), width 178, height 10, count 3

Expose event, serial 29, synthetic NO, window 0x6200001,
    (0,10), width 10, height 58, count 2

Expose event, serial 29, synthetic NO, window 0x6200001,
    (68,10), width 110, height 58, count 1

Expose event, serial 29, synthetic NO, window 0x6200001,
    (0,68), width 178, height 110, count 0

PropertyNotify event, serial 29, synthetic NO, window 0x6200001,
    atom 0x15f (_NET_WM_STATE), time 16513841, state PropertyNewValue

FocusIn event, serial 29, synthetic NO, window 0x6200001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 29, synthetic NO, window 0x0,
    keys:  68  0   0   0   16  0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 29, synthetic NO, window 0x6200001,
    atom 0x159 (_NET_WM_DESKTOP), time 16513841, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x6200001,
    atom 0x1c2 (WM_STATE), time 16513841, state PropertyNewValue

VisibilityNotify event, serial 32, synthetic NO, window 0x6200001,
    state VisibilityPartiallyObscured

ConfigureNotify event, serial 32, synthetic YES, window 0x6200001,
    event 0x6200001, window 0x6200001, (55,52), width 178, height 178,
    border_width 0, above 0x0, override NO

VisibilityNotify event, serial 32, synthetic NO, window 0x6200001,
    state VisibilityUnobscured

Expose event, serial 32, synthetic NO, window 0x6200001,
    (168,0), width 10, height 140, count 1

Expose event, serial 32, synthetic NO, window 0x6200001,
    (0,140), width 178, height 38, count 0

PropertyNotify event, serial 32, synthetic NO, window 0x6200001,
    atom 0x1bc (_NET_WM_ALLOWED_ACTIONS), time 16513844, state PropertyNewValue

PropertyNotify event, serial 32, synthetic NO, window 0x6200001,
    atom 0x156 (_NET_FRAME_EXTENTS), time 16513844, state PropertyNewValue

PropertyNotify event, serial 33, synthetic NO, window 0x6200001,
    atom 0x15f (_NET_WM_STATE), time 16513848, state PropertyNewValue

PropertyNotify event, serial 33, synthetic NO, window 0x6200001,
    atom 0x15f (_NET_WM_STATE), time 16513848, state PropertyNewValue

PropertyNotify event, serial 33, synthetic NO, window 0x6200001,
    atom 0x1bf (_NET_WM_ICON_GEOMETRY), time 16513895, state PropertyNewValue

PropertyNotify event, serial 33, synthetic NO, window 0x6200001,
    atom 0x1bf (_NET_WM_ICON_GEOMETRY), time 16513895, state PropertyNewValue

KeyRelease event, serial 34, synthetic NO, window 0x6200001,
    root 0x12d, subw 0x0, time 16513915, (287,625), root:(342,677),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

PropertyNotify event, serial 37, synthetic NO, window 0x6200001,
    atom 0x1bf (_NET_WM_ICON_GEOMETRY), time 16514495, state PropertyNewValue

KeyPress event, serial 37, synthetic NO, window 0x6200001,
    root 0x12d, subw 0x0, time 16515406, (287,625), root:(342,677),
    state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

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

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

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  4294967208 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   4294967168 0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 37, synthetic NO, window 0x6200001,
    root 0x12d, subw 0x0, time 16516314, (287,625), root:(342,677),
    state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x6200001,
    root 0x12d, subw 0x0, time 16517461, (287,625), root:(342,677),
    state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

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

FocusIn event, serial 37, synthetic NO, window 0x6200001,
    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   4294967168 0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 37, synthetic NO, window 0x6200001,
    root 0x12d, subw 0x0, time 16517885, (287,625), root:(342,677),
    state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x6200001,
    root 0x12d, subw 0x0, time 16518629, (287,625), root:(342,677),
    state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

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

FocusIn event, serial 37, synthetic NO, window 0x6200001,
    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   4294967168 0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 37, synthetic NO, window 0x6200001,
    root 0x12d, subw 0x0, time 16519033, (287,625), root:(342,677),
    state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

FocusOut event, serial 37, synthetic NO, window 0x6200001,
    mode NotifyNormal, detail NotifyNonlinear

PropertyNotify event, serial 37, synthetic NO, window 0x6200001,
    atom 0x15f (_NET_WM_STATE), time 16520695, state PropertyNewValue

Если Вам нужна дальнейшая информация для помощи мне, я рад обеспечить ее.

1
задан 9 November 2017 в 19:21

1 ответ

Фиксация, которая работала на меня, отключала commands плагин в compiz-settings-manager.

  1. sudo apt-get install compizconfig-settings-manager
  2. Откройте его - ccsm
  3. Поиск commands, снимите флажок с ним и закройте менеджер.
  4. Прибыль.

Мои функциональные клавиши начали работать сразу, не имея необходимость перезапускать или что-либо.

0
ответ дан 8 December 2019 в 03:28

Другие вопросы по тегам:

Похожие вопросы: