Results 1 to 3 of 3

Thread: ctrl, alt and super keys bug

  1. #1
    Join Date
    2017-Jan
    Posts
    1

    Unhappy ctrl, alt and super keys bug

    Hey, I just installed kali linux 2016.2 on my computer.
    After messing around with it a little bit I found out that the ctrl, alt and super keys all act as if I pressed the shift key.
    For example if I press CTRL-A it types in a capital A as if I pressed SHIFT+A.
    That means alt-tab doesn't work for me as well(registers as shift+tab), ctrl+f doesn't work as well and most of the keyboard shortcuts are messed up...

    Does anyone know how to fix this problem?

  2. #2
    Join Date
    2016-Mar
    Location
    Visoko, Bosnia
    Posts
    4

    Unhappy

    i have the exact same problem.. I searched the whole internet to find a sollution, but nothing i've tested have worked for me.. tried it with xkb to remap the keys but i can't do it couse when i press any of the keys it gives me the same input as SHIFT L, and SHIFT R also acts as SHIFT L..
    I've tried the USB Keyboard on my second PC which has W7 installed and everything works fine..
    here are some info:

    uname -a
    Code:
    Linux kali-vu4ra 4.9.0-kali1-amd64 #1 SMP Debian 4.9.6-3kali2 (2017-01-30) x86_64 GNU/Linux
    lsusb -v -d 1c4f:0056
    Code:
    Bus 002 Device 012: ID 1c4f:0056 SiGma Micro 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0         8
      idVendor           0x1c4f SiGma Micro
      idProduct          0x0056 
      bcdDevice            3.70
      iManufacturer           1 SIGMACH1P
      iProduct                2 USB Keyboard
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           59
        bNumInterfaces          2
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0xa0
          (Bus Powered)
          Remote Wakeup
        MaxPower               98mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         3 Human Interface Device
          bInterfaceSubClass      1 Boot Interface Subclass
          bInterfaceProtocol      1 Keyboard
          iInterface              0 
            HID Device Descriptor:
              bLength                 9
              bDescriptorType        33
              bcdHID               1.10
              bCountryCode            0 Not supported
              bNumDescriptors         1
              bDescriptorType        34 Report
              wDescriptorLength      54
             Report Descriptors: 
               ** UNAVAILABLE **
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0008  1x 8 bytes
            bInterval              10
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         3 Human Interface Device
          bInterfaceSubClass      0 No Subclass
          bInterfaceProtocol      1 Keyboard
          iInterface              0 
            HID Device Descriptor:
              bLength                 9
              bDescriptorType        33
              bcdHID               1.10
              bCountryCode            0 Not supported
              bNumDescriptors         1
              bDescriptorType        34 Report
              wDescriptorLength     141
             Report Descriptors: 
               ** UNAVAILABLE **
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x82  EP 2 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0008  1x 8 bytes
            bInterval              10
    Device Status:     0x0000
      (Bus Powered)
    lsmod | grep hid
    Code:
    hid_generic            16384  0
    usbhid                 53248  0
    hid                   122880  2 hid_generic,usbhid
    usbcore               249856  8 usbmon,ath9k_htc,uvcvideo,usbhid,ehci_hcd,ipheth,usbtest,ehci_pci
    lsmod | grep usb
    Code:
    usbmon                 28672  0
    usbtest                36864  0
    usbhid                 53248  0
    hid                   122880  2 hid_generic,usbhid
    usbcore               249856  8 usbmon,ath9k_htc,uvcvideo,usbhid,ehci_hcd,ipheth,usbtest,ehci_pci
    usb_common             16384  2 usbcore,usbtest
    dmesg output
    Code:
    [156432.086788] usb 2-1.3: USB disconnect, device number 12
    [156435.892495] usb 2-1.3: new low-speed USB device number 13 using ehci-pci
    [156436.010938] usb 2-1.3: New USB device found, idVendor=1c4f, idProduct=0056
    [156436.010941] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [156436.010943] usb 2-1.3: Product: USB Keyboard
    [156436.010944] usb 2-1.3: Manufacturer: SIGMACH1P
    [156436.014854] input: SIGMACH1P USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:1C4F:0056.000E/input/input38
    [156436.073084] hid-generic 0003:1C4F:0056.000E: input,hidraw0: USB HID v1.10 Keyboard [SIGMACH1P USB Keyboard] on usb-0000:00:1d.0-1.3/input0
    [156436.080920] input: SIGMACH1P USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.1/0003:1C4F:0056.000F/input/input39
    [156436.140795] hid-generic 0003:1C4F:0056.000F: input,hidraw1: USB HID v1.10 Keyboard [SIGMACH1P USB Keyboard] on usb-0000:00:1d.0-1.3/input1
    Please can someone guide me to fix this or at least give me the reason of this misbehavior and i will try to fix it myself..
    thanks

  3. #3
    Join Date
    2017-Nov
    Posts
    1
    @vu4rac0d3 , I run into the same issue with you, and my keyboard's model seems like yours. The vendor id and product id of my keyboard is
    Code:
    1c4f:0059
    , comparing your
    Code:
    1c4f:0056
    .

    I'm running Ubuntu 17.10. It is a driver issue and not relative to a specific distro.

    uname
    Code:
    4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    lsusb -v -d 1c4f:0059
    Code:
    ➜  ~ sudo lsusb -v -d 1c4f:0059
    
    Bus 001 Device 009: ID 1c4f:0059 SiGma Micro 
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0         8
      idVendor           0x1c4f SiGma Micro
      idProduct          0x0059 
      bcdDevice            1.00
      iManufacturer           1 SIGMACHIP
      iProduct                2 USB Keyboard
      iSerial                 0 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           59
        bNumInterfaces          2
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0xa0
          (Bus Powered)
          Remote Wakeup
        MaxPower               98mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         3 Human Interface Device
          bInterfaceSubClass      1 Boot Interface Subclass
          bInterfaceProtocol      1 Keyboard
          iInterface              0 
            HID Device Descriptor:
              bLength                 9
              bDescriptorType        33
              bcdHID               1.11
              bCountryCode            0 Not supported
              bNumDescriptors         1
              bDescriptorType        34 Report
              wDescriptorLength      54
             Report Descriptors: 
               ** UNAVAILABLE **
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0008  1x 8 bytes
            bInterval              10
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         3 Human Interface Device
          bInterfaceSubClass      1 Boot Interface Subclass
          bInterfaceProtocol      0 None
          iInterface              0 
            HID Device Descriptor:
              bLength                 9
              bDescriptorType        33
              bcdHID               1.11
              bCountryCode            0 Not supported
              bNumDescriptors         1
              bDescriptorType        34 Report
              wDescriptorLength     167
             Report Descriptors: 
               ** UNAVAILABLE **
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x82  EP 2 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0008  1x 8 bytes
            bInterval              10
    Device Status:     0x0000
      (Bus Powered)

    In
    Code:
    xev
    , all of "CTRL_L CTRL_R ALT_L ALT_R SHIFT_R" produce keycode 50, aka Shift_L.
    Super key didn't captured by xev, but it acts just like Shift key.
    Code:
    KeyPress event, serial 37, synthetic NO, window 0x4e00001,
        root 0x1de, subw 0x0, time 39030998, (106,-11), root:(223,96),
        state 0x0, 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 0x4e00001,
        root 0x1de, subw 0x0, time 39031070, (106,-11), root:(223,96),
        state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
        XLookupString gives 0 bytes: 
        XFilterEvent returns: False

    Did you solve the issue now?

    I found some links on Ask Ubuntu, all refer to https://bitbucket.org/Swoogan/aziokbd , but they are all for 0c45:7603 devices, I don't think they will work for me.

Similar Threads

  1. Alt, Ctrl, Win keys act as Shift key
    By zackyy in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2018-05-03, 00:42
  2. Replies: 1
    Last Post: 2016-06-03, 14:29

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •