You are not logged in.

#1 2017-09-20 16:28:17

quiwy
Member
Registered: 2017-09-20
Posts: 3

[SOLVED] Keyboard pushing a non-physical key in loop

Hi,

Since yesterday I've a problem with my keyboard which keep pressing and releasing continuously a key, and it looks like the key doesn't exist.
Moreover I've just booted on my windows partition to see if it happens too and everything seems alright with it, so it seems not to be a hardware problem.

Here you can find some usefull output, don't hesitate to ask for more if needed.


$ xev
KeyPress event, serial 34, synthetic NO, window 0x2a00001,
    root 0x14c, subw 0x0, time 548480, (217,551), root:(1661,571),
    state 0x10, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2a00001,
    root 0x14c, subw 0x0, time 548480, (217,551), root:(1661,571),
    state 0x10, keycode 221 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
$ xmodmap -pk
    219    	
    220    	0x1008ff8f (XF86WebCam)	0x0000 (NoSymbol)	0x1008ff8f (XF86WebCam)	
    221    	
    222    	
    223    	0x1008ff19 (XF86Mail)	0x0000 (NoSymbol)	0x1008ff19 (XF86Mail)
$ showkey -s
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
0xe0 0x3d 0xe0 0xbd 
0xe0 0x3d 0xe0 0xbd 
0xe0 0x3d 0xe0 0xbd 
0xe0 0x3d 0xe0 0xbd 

I would appreciate if someone could help me with this very anoying issue.

Last edited by quiwy (2017-09-29 13:21:39)

Offline

#2 2017-09-21 20:59:45

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: [SOLVED] Keyboard pushing a non-physical key in loop

I assume the xev result is truncated? How often does this key get pressed/released? What modifications have you made to your system pertaining to xorg and the keyboard?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2017-09-22 07:15:52

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: [SOLVED] Keyboard pushing a non-physical key in loop

Also try showkey in a linux console to check where those events are generated (kernel or x11)
Next (in the X11 only case) try whether this also happens on a bare X11 server (server + xterm)
Something might try to inhibit dpms/powersaving/screensavers (video players are prone to this)

Offline

#4 2017-09-29 04:01:17

quiwy
Member
Registered: 2017-09-20
Posts: 3

Re: [SOLVED] Keyboard pushing a non-physical key in loop

Thank you for yours answers.

Yeah the zev result is truncated, too muchuseless  information with the mouse I think. But I can paste more if you need.
I've change absolutely nothing about xorg and the keyboard execpt the layout by this command

  setxkbmap -layout us -variant altgr-intl 

  Acording to the time in the xev  output the key is press every 800 ms.

Using showkey in a linux console is not possible at this point given that "^@" appears alone every 800ms when asking for my login.

I had reinstalled all my system last week because windows was very slow so I reinstalled archlinux too, and it was working fine for a week, and it started again tonight sad
Don't know why or what causes this...


EDIT: disabling startx at login and adding autologin to console allowed me to see that even without xserver running showkey has the same output. But it's much less annoying because when I keep another key press it works. Don't know if this help...

Last edited by quiwy (2017-09-29 04:48:54)

Offline

#5 2017-09-29 06:33:25

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: [SOLVED] Keyboard pushing a non-physical key in loop

So it's a kernel/hardware issue. Is this a notebook?
I doubt it's the actual keyboard, but rather some sensor/lidswitch/freakyinputdevice.
=> lsusb/lspci ?

Offline

#6 2017-09-29 12:57:39

seth
Member
Registered: 2012-09-03
Posts: 51,143

Offline

#7 2017-09-29 13:10:26

quiwy
Member
Registered: 2017-09-20
Posts: 3

Re: [SOLVED] Keyboard pushing a non-physical key in loop


Yeah it works big_smile

Thank you and have a nice week-end smile

Offline

Board footer

Powered by FluxBB