You are not logged in.

#1 2015-05-04 10:58:34

stormhaden
Member
Registered: 2013-10-02
Posts: 6

[SOLVED] Wrong scancodes for Ctrl, Super and Alt on keyboard

I have bought this keyboard and I'm having an issue with it that I can't figure out. Under Archlinux, the Control, Super and Alt key are interpreted as the Shift key. I have tested it on a tablet running Android and its behavior is identical however when testing it under a laptop running Windows 8 it behaved correctly.

I've checked the scancodes and keycodes using showkey and all of the 3 problem keys match the Shift key's scancode / keycode.

When pluging in the keyboard, this is what dmesg outputs:

[ 3151.870872] usb 1-2: new low-speed USB device number 13 using xhci_hcd
[ 3152.040418] usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 3152.040428] usb 1-2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 3152.043548] input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:0C45:7603.0011/input/input33
[ 3152.094113] hid-generic 0003:0C45:7603.0011: input,hidraw0: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:00:14.0-2/input0
[ 3152.107227] input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:0C45:7603.0012/input/input34
[ 3152.158239] hid-generic 0003:0C45:7603.0012: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:00:14.0-2/input1

Any help in figuring out the issue is highly appreciated.

Last edited by stormhaden (2015-05-04 13:51:29)

Offline

#2 2015-05-04 13:50:55

stormhaden
Member
Registered: 2013-10-02
Posts: 6

Re: [SOLVED] Wrong scancodes for Ctrl, Super and Alt on keyboard

Turns out I wasn't searching for my problem using the right keywords. After some variation in the search terms I have found this driver: https://bitbucket.org/Swoogan/aziokbd. I gave it a try and it seems to fix the problem.

Offline

Board footer

Powered by FluxBB