PDA

View Full Version : Alt, Ctrl, Win keys act as Shift key



zackyy
2018-03-10, 15:31
Whenever a Ctrl, Alt or Win key is pressed, it counts as if Shift is pressed. Therefore, no shortcuts such as Ctrl+Alt+T work. Keycode is 50 for every button (Shift in my case)

This happened after a fresh install of Kali 64bit on my PC.

Specs & Info

Linux v0id 4.14.0-kali3-amd64 #1 SMP Debian 4.14.17-1kali1 (2018-02-16) x86_64 GNU/Linux
Asura Redragon Keyboard
NVIDIA GeForce GTX 1060 8gb

**EDIT1**

Already tried Aziokbd driver installation, which didn't work, and also redragonkbd driver that I found on the Internet. Both didn't work.

**EDIT2**


xev output as I press Shift, Ctrl and then Alt keys


KeyPress event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3832920, (1589,459), root:(1632,561),
state 0x2, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3833048, (1589,459), root:(1632,561),
state 0x3, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3833224, (1589,459), root:(1632,561),
state 0x2, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3833368, (1589,459), root:(1632,561),
state 0x3, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3833656, (1589,459), root:(1632,561),
state 0x2, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3833768, (1589,459), root:(1632,561),
state 0x3, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

str777
2018-05-03, 00:42
Whenever a Ctrl, Alt or Win key is pressed, it counts as if Shift is pressed. Therefore, no shortcuts such as Ctrl+Alt+T work. Keycode is 50 for every button (Shift in my case)

This happened after a fresh install of Kali 64bit on my PC.

Specs & Info

Linux v0id 4.14.0-kali3-amd64 #1 SMP Debian 4.14.17-1kali1 (2018-02-16) x86_64 GNU/Linux
Asura Redragon Keyboard
NVIDIA GeForce GTX 1060 8gb

**EDIT1**

Already tried Aziokbd driver installation, which didn't work, and also redragonkbd driver that I found on the Internet. Both didn't work.

**EDIT2**


xev output as I press Shift, Ctrl and then Alt keys


KeyPress event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3832920, (1589,459), root:(1632,561),
state 0x2, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3833048, (1589,459), root:(1632,561),
state 0x3, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3833224, (1589,459), root:(1632,561),
state 0x2, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3833368, (1589,459), root:(1632,561),
state 0x3, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3833656, (1589,459), root:(1632,561),
state 0x2, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x2000001,
root 0x522, subw 0x0, time 3833768, (1589,459), root:(1632,561),
state 0x3, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False


THIS WILL FIX IT:
sudo modprobe usbmon
sudo wireshark
DONT ASK ME WHY !!!!! :P