Sistema congela ao pressionar a tecla / ? ° em um teclado Corsair K90

Iniciado por ivanf, 01 de Abril de 2021, 14:55

tópico anterior - próximo tópico

ivanf

Boa tarde pessoal, tudo certo? Primeiro post nesse fórum porque não consegui achar uma solução para um problema bem interessante.

Ao pressionar a tecla / ? ° no teclado Corsair Vengeance K90, o sistema dá uma congelada, tendo um pico de atividade no processador.

Eu testei no Ubuntu 20.04 rodando em um USB, e no Pop_OS instalado no meu SSD.

Monitorando o syslog, obtive as seguintes informações:

Ubuntu
Apr  1 16:58:05 ubuntu gnome-shell[5525]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Apr  1 16:58:05 ubuntu gnome-shell[5525]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Apr  1 16:58:05 ubuntu gnome-shell[5525]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Apr  1 16:58:05 ubuntu gnome-shell[5525]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Apr  1 16:58:05 ubuntu gnome-shell[5525]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Apr  1 16:58:05 ubuntu gnome-shell[5525]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Apr  1 16:58:05 ubuntu gnome-shell[5525]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Apr  1 16:58:05 ubuntu gnome-shell[5525]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Apr  1 16:58:05 ubuntu gnome-shell[5525]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).

Pop_OS
/Apr  1 14:39:37 pop-os gnome-shell[3511]: Window manager warning: Overwriting existing binding of keysym 71 with keysym 71 (keycode 18).

Testei esse teclado no notebook da empresa, onde também instalei o Pop_OS, e o problema também ocorreu.

Porém, testei em outras distribuições rodando num pendrive, Manjaro XFCE e Fedora (que utiliza o Gnome também), e também no Windows 10, e o problema não ocorreu.

Usando o xev e digitando a sequência /asd, obtive as informações abaixo:

KeyRelease event, serial 38, synthetic NO, window 0x5c00001,
    root 0x1e0, subw 0x0, time 1566707, (279,55), root:(2394,314),
    state 0x10, keycode 97 (keysym 0x2f, slash), same_screen YES,
    XLookupString gives 1 bytes: (2f) "/"
    XFilterEvent returns: False

MappingNotify event, serial 40, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 40, synthetic NO, window 0x5c00001,
    root 0x1e0, subw 0x0, time 1566746, (279,55), root:(2394,314),
    state 0x10, keycode 39 (keysym 0x73, s), same_screen YES,
    XLookupString gives 1 bytes: (73) "s"
    XmbLookupString gives 1 bytes: (73) "s"
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x5c00001,
    root 0x1e0, subw 0x0, time 1566790, (279,55), root:(2394,314),
    state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: False

KeyPress event, serial 41, synthetic NO, window 0x5c00001,
    root 0x1e0, subw 0x0, time 1566822, (279,55), root:(2394,314),
    state 0x10, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes: (64) "d"
    XmbLookupString gives 1 bytes: (64) "d"
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x5c00001,
    root 0x1e0, subw 0x0, time 1566840, (279,55), root:(2394,314),
    state 0x10, keycode 39 (keysym 0x73, s), same_screen YES,
    XLookupString gives 1 bytes: (73) "s"
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x5c00001,
    root 0x1e0, subw 0x0, time 1566874, (279,55), root:(2394,314),
    state 0x10, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes: (64) "d"
    XFilterEvent returns: False



O mapeamento da tecla, segundo xmodmap, está assim:
keycode  97 = slash question slash question degree questiondown degree questiondown slash question degree questiondown

Tentei eliminar essas repitições com o comando:
xmodmap -e "keycode 97 = slash question degree"

Porém, o problema continua.

Ao utilizar um teclado Logitech MK120, o problema não ocorreu, e não gerou registro no syslog.
A saída do xev para o teclado Logitech MK120, ao digitar a sequência /asd é a seguinte:

KeyPress event, serial 37, synthetic NO, window 0x1e00001,
    root 0x1e0, subw 0x0, time 1907488, (155,-8), root:(2120,101),
    state 0x10, keycode 97 (keysym 0x2f, slash), same_screen YES,
    XLookupString gives 1 bytes: (2f) "/"
    XmbLookupString gives 1 bytes: (2f) "/"
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x1e00001,
    root 0x1e0, subw 0x0, time 1907576, (155,-8), root:(2120,101),
    state 0x10, keycode 97 (keysym 0x2f, slash), same_screen YES,
    XLookupString gives 1 bytes: (2f) "/"
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x1e00001,
    root 0x1e0, subw 0x0, time 1907592, (155,-8), root:(2120,101),
    state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XmbLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x1e00001,
    root 0x1e0, subw 0x0, time 1907640, (155,-8), root:(2120,101),
    state 0x10, keycode 39 (keysym 0x73, s), same_screen YES,
    XLookupString gives 1 bytes: (73) "s"
    XmbLookupString gives 1 bytes: (73) "s"
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x1e00001,
    root 0x1e0, subw 0x0, time 1907720, (155,-8), root:(2120,101),
    state 0x10, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes: (64) "d"
    XmbLookupString gives 1 bytes: (64) "d"
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x1e00001,
    root 0x1e0, subw 0x0, time 1907728, (155,-8), root:(2120,101),
    state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x1e00001,
    root 0x1e0, subw 0x0, time 1907784, (155,-8), root:(2120,101),
    state 0x10, keycode 39 (keysym 0x73, s), same_screen YES,
    XLookupString gives 1 bytes: (73) "s"
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x1e00001,
    root 0x1e0, subw 0x0, time 1907824, (155,-8), root:(2120,101),
    state 0x10, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes: (64) "d"
    XFilterEvent returns: False
/


Com o teclado do notebook, também não ocorre o erro.
Eu tentei conectar o Corsair K90 em outra porta USB, mas o erro continua.

Alguma sugestão do próximo passo para tentar resolver? Fiquei encucado com isso agora. hehe