Ubuntu – CTRL and ALT works as SHIFT

driverskeyboard

A few hours ago, I installed Ubuntu 14.04 alongside Windows 7.
Everything went fine, installed all my games and programs. But, then I realized that ALT + TAB, CTRL+ALT+T key combinations (as well as many others) do not work.

This is really annoying since I like to use ALT + TAB for multitasking. Anyways, I realized that they were mapped as SHIFT because as you know, if you hold SHIFT and press any key, it will be in CAPS. So that's what happens when I press CTRL or ALT.

It's a custom-built desktop. I'm using a GAMDIAS USB keyboard.

sudo lsusb

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0c45:7603 Microdia 
Bus 001 Device 003: ID 1b80:b40c Afatech 
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 003: ID 1532:0504 Razer USA, Ltd 
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Best Answer

  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:

Related Question