You are not logged in.

#1 2017-08-25 14:17:06

beppo
Member
Registered: 2017-08-01
Posts: 26

[Solved] Keyboard keys Ctrl, Alt and Win act as Shift.

Hello again, I've finally installed Arch as dualboot and want to use it as my main OS. yay.

But here is the problem I encountered whilest installing it.
All my keyboard keys on the lowest row except Space invoke as Shift. So for example when I press Ctrl + d in terminal it types an uppercase D.

So here is what I've tried to pinpoint the error.

  • Tried the keyboard with Windows 10 - keyboard works

  • Use different keyboard on arch - different keyboard works

  • Check what the xev output is when Ctrl, Alt, Win are pressed on the faulty keyboard - indeed shows Shift_L with keycode 50

  • Check what xev prints with the working keyboard - prints the correct codes.

  • Since xev recognizes the keys as shift I'm not sure how I could remap them with xmodmap

Additional information:

  • I use the german keyboardlayout.

  • The working keyboard has the british layout

  • The faulty one has the german layout

Thankful for any tips or advise!

Last edited by beppo (2017-08-25 19:25:23)

Offline

#2 2017-08-25 14:27:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: [Solved] Keyboard keys Ctrl, Alt and Win act as Shift.

Start with providing the relevant info ;-)

Xorg log and "setxkbmap -print -query"
Also which desktop environment you use, whether this also happens on a linux console (ie. w/o Xorg) and whether you use some input module (https://wiki.archlinux.org/index.php/In … ds_in_Xorg) - though wrt. to xev I don't think this is the problem here.

Offline

#3 2017-08-25 14:47:23

beppo
Member
Registered: 2017-08-01
Posts: 26

Re: [Solved] Keyboard keys Ctrl, Alt and Win act as Shift.

So here comes the relevant info, gotta have some sort of cliffhanger ^^

This is what setxkbmap spits out:

xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwertz)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+de+inet(evdev)"	};
	xkb_geometry  { include "pc(pc105)"	};
};
rules:      evdev
model:      pc105
layout:     de

Heres the Xorg.0.log
https://pastebin.com/5LwFPxcN

I use i3-gaps, my Termianl emulator is Termite, but the bug does also occur in Ctrl+F2

Offline

#4 2017-08-25 15:00:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: [Solved] Keyboard keys Ctrl, Alt and Win act as Shift.

First thing I notice is that you're using evdev codes and symbols, but your input driver is libinput.
=> install xf86-input-evedv and add something like the below (adjsut or remove some options you don't like)

/etc/X11/xorg.conf.d/11-keyboard.conf

Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard	"yes"
    Option	        "XkbLayout" "de"
    Option              "XkbVariant" "deadgraveacute"
    Option		"XkbModel" "evdev"
    Option		"XkbOptions" "terminate:ctrl_alt_bksp,compose:caps"
    Option		"XkbKeycodes" "evdev"
    Driver		"evdev"
EndSection

If the "ctrl+F2" thing actually means VT2 (ie. Ctrl+Alt+F2) this will however rather not be it - the keyboard might be broken (eg. w/ a permanent shift modifier due to a broken or shortcut lane on the board)

Offline

#5 2017-08-25 15:20:51

beppo
Member
Registered: 2017-08-01
Posts: 26

Re: [Solved] Keyboard keys Ctrl, Alt and Win act as Shift.

Alright, I've isntalled the evdev package, and added the config file at the appropriate place as is.
So far after the reboot nothing has changed.

With Ctrl+F2 I ment the Terminal without X. There I have the same issue.

The thing that keeps me from ditching the keyboard is, that it works perfectly on my windows partition.
I read online where somebody had a similar problem, that it might be caused by nvidia drivers, but the thread had no valuable information for me.

Offline

#6 2017-08-25 18:14:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: [Solved] Keyboard keys Ctrl, Alt and Win act as Shift.

It seems to generate wrong codes on the kernel level then. "Bad".
What kind of keyboard is that and how is it wired? Do you have similar problems with other (maybe more "ordinary"?) german layouted keyboards?

Offline

#7 2017-08-25 19:14:09

beppo
Member
Registered: 2017-08-01
Posts: 26

Re: [Solved] Keyboard keys Ctrl, Alt and Win act as Shift.

It is a Cougar 200k, appearently there are also issues with the 700k model. And since I have now connected another keyboard with german layout which works flawlessly, the odds of it beeing a software problem shrink.
So at this point im quite certain that its a problem with the keyboard.

Anyways I might purchase one of those flat microsoft keyboards. Of course one with bluetooth, because hey, buying an ordinary keyboard is way too convenient.^^
Until then, thanks for your efforts!
Best wishes!
Philipp

Last edited by beppo (2017-08-25 19:20:11)

Offline

#8 2017-08-25 19:50:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: [Solved] Keyboard keys Ctrl, Alt and Win act as Shift.

https://bitbucket.org/Swoogan/aziokbd - never tried, though.

Offline

#9 2017-08-26 22:19:03

beppo
Member
Registered: 2017-08-01
Posts: 26

Re: [Solved] Keyboard keys Ctrl, Alt and Win act as Shift.

Hey, thanks, will give it a try.
But as I suspected, I drove my silly bum to the next hardware store and bought one of those classy looking microsoft bluetooth keyboards. And I thoroughly read the wiki about bluetooth and guess what, had no issues. Who would have thought that the archwiki gives valuable and detailed advise. jk big_smile

Offline

Board footer

Powered by FluxBB