1

I installed Ubuntu a few days ago and I noticed that both of my CTRL and both of my ALT keys behave exactly the same as the Shift key.

I have tried changing input method, but it didn't help.

What could be the problem and how can I fix it? I am using ubuntu on dekstop pc Keyboard is Tracer hellway

1 Answers1

0

Appears to a possible Duplicate of CTRL and ALT works as SHIFT?.
Anyway try this:-

  1. Install driver from https://bitbucket.org/Swoogan/aziokbd

    sudo apt-get install mercurial build-essential linux-headers-generic dkms
    hg clone https://bitbucket.org/Swoogan/aziokbd
    cd aziokbd
    sudo ./install.sh dkms
    
  2. Add kernel option to grub to prevent usbhid from being used for this keyboard. Append:

    usbhid.quirks=0x0c45:0x7603:0x4
    

    to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.

    Example:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbhid.quirks=0x0c45:0x7603:0x4"
    
  3. Update grub

    sudo update-grub
    
  4. Reboot

References:

Orignally answered by user.dz

Anunay
  • 176
  • nope it didnt help – Daukšas Lukas Oct 22 '18 at 16:28
  • Can you tell me the keycodes you get when you use xev -event keyboard and press the shift, ctrl and alt key. – Anunay Oct 22 '18 at 16:41
  • this is what i get after pressing CTRL ALT or SHIFT
    KeyRelease event, serial 28, synthetic NO, window 0x2e00001, root 0x1e7, subw 0x0, time 28479517, (100,-167), root:(291,403), state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
    – Daukšas Lukas Oct 23 '18 at 13:20
  • @DaukšasLukas Is it the same for all the keys? You seem to have provided only 1. – Anunay Oct 23 '18 at 15:59
  • Shift = KeyPress event, serial 25, synthetic NO, window 0x4a00001, root 0x1e7, subw 0x0, time 39749349, (1345,488), root:(1376,547), state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False

    KeyRelease event, serial 28, synthetic NO, window 0x4a00001, root 0x1e7, subw 0x0, time 39749461, (1345,488), root:(1376,547), state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False

    – Daukšas Lukas Oct 23 '18 at 16:27
  • Ctrl= KeyPress event, serial 25, synthetic NO, window 0x4a00001, root 0x1e7, subw 0x0, time 39865243, (134,80), root:(165,139), state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False

    KeyRelease event, serial 28, synthetic NO, window 0x4a00001, root 0x1e7, subw 0x0, time 39865411, (134,80), root:(165,139), state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False

    – Daukšas Lukas Oct 23 '18 at 16:29
  • Alt = KeyPress event, serial 25, synthetic NO, window 0x4a00001, root 0x1e7, subw 0x0, time 39902250, (935,306), root:(966,365), state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False

    KeyRelease event, serial 28, synthetic NO, window 0x4a00001, root 0x1e7, subw 0x0, time 39902314, (935,306), root:(966,365), state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False

    – Daukšas Lukas Oct 23 '18 at 16:29
  • It appears That your keyboard sends same keycode for all the keys, there is no way the kernel can differentiate between the keys, You will need a proprietary driver. (which might not be available for linux.) I don't understand Why Manufaturars don't make HID compliant Devices. – Anunay Oct 23 '18 at 16:50
  • If i would switch my keyboard maybe it will fix it selft then? – Daukšas Lukas Oct 24 '18 at 13:38
  • @DaukšasLukas It Should, you may also try finding drivers (my answer linked to a set of Driver for keyboard which had the same problem). – Anunay Oct 24 '18 at 14:25