You are not logged in.

#1 2016-01-23 14:40:13

Aykan
Member
From: Poland
Registered: 2014-08-29
Posts: 25

Keyboard doesn't work properly.

Hi. Recently, I'm having problems with my keyboard. Certain keys, like coma, return, period and v. Don't work well. E.g. to make period, coma or enter work, I have to press arrow keys, while holding button i want to print. v doesn't work at all i have to copy-paste it. These issues appear on Arch only. Help please

Offline

#2 2016-01-23 16:31:38

Head_on_a_Stick
Member
From: Asteroid B-612
Registered: 2014-02-20
Posts: 3,845
Website

Re: Keyboard doesn't work properly.

Do the problems occur if you load the Arch live ISO?

How have you configured your keyboard?

Have you tried running `xev` to see which keycodes are being passed?

Is this in the console or the graphical desktop or both?

What is the output of:

localectl

_0_
__0
000

Offline

#3 2016-01-23 21:00:44

Aykan
Member
From: Poland
Registered: 2014-08-29
Posts: 25

Re: Keyboard doesn't work properly.

Here's out[ut of localectl

   System Locale: LANG=pl_PL-UTF-8
       VC Keymap: pl
      X11 Layout: pl

It happens both in console and X

Offline

#4 2016-01-23 21:57:39

mich41
Member
Registered: 2012-06-22
Posts: 592

Re: Keyboard doesn't work properly.

WTF, this shouldn't even be possible. Are you absolutely sure it works with other OSs?

Does reverting the kernel to last version which worked help? (see /var/cache/pacman/pkg)

Offline

#5 2016-01-23 22:28:23

Aykan
Member
From: Poland
Registered: 2014-08-29
Posts: 25

Re: Keyboard doesn't work properly.

Yes sir, I've encountered same issue before on Arch, then I've switched to Elementary OS for some time, and now i installed Arch back. And so this issue occurs. Although it seems quite random when pressing key itself, but when pressing for example 'v' key alongside with arrow key v always appears on screen.

Offline

#6 2016-01-23 23:04:59

mich41
Member
Registered: 2012-06-22
Posts: 592

Re: Keyboard doesn't work properly.

OK, so you don't have old kernels to test?

What kind of keyboard it is? PS/2? Laptop? USB? Can you test some other keyboards?

Could you install evtest, run it on this keyboard and see whether it prints EV_KEY lines with proper KEY_xxx when you press those keys?

Offline

#7 2016-01-23 23:36:17

Aykan
Member
From: Poland
Registered: 2014-08-29
Posts: 25

Re: Keyboard doesn't work properly.

It's laptop keyboard. I'm using Lenovo Flex 2-14, evtest prints proper value when I press those keys together with arrows, no output in any other case with one of these. I'll try another keyboard with it tomorrow.

Offline

#8 2016-01-23 23:53:56

Head_on_a_Stick
Member
From: Asteroid B-612
Registered: 2014-02-20
Posts: 3,845
Website

Re: Keyboard doesn't work properly.

Try the LTS kernel.

And answer my other questions.


_0_
__0
000

Offline

#9 2016-01-24 11:59:55

Aykan
Member
From: Poland
Registered: 2014-08-29
Posts: 25

Re: Keyboard doesn't work properly.

Problem still occurs on LTS. I've configured my keyboard with vconsole.conf

KEYMAP=pl
FONT=lat2-16
FONT_MAP=8859-2

and

setxkbmap pl

xev shows me keycodes of those keys only whe i press them alongside with arrow keys.
I haven't checked Live ISO yet.

Offline

#10 2016-01-24 13:27:00

mich41
Member
Registered: 2012-06-22
Posts: 592

Re: Keyboard doesn't work properly.

I suppose evtest lists it as "AT translated set 2 keyboard"?

Then, if you can get USB keyboard or ssh connection to the laptop, try:

echo -n serio_raw >/sys/bus/serio/devices/serio0/drvctl
cat /dev/serio_raw0 |hexdump -e '1/1 "%x\n"'

This should disable normal keyboard driver and instead print all bytes received from the keyboard. Pressing keys should produce some output - if it doesn't, you've got some problem smile

Offline

#11 2016-01-24 16:57:58

Aykan
Member
From: Poland
Registered: 2014-08-29
Posts: 25

Re: Keyboard doesn't work properly.

Unfortunately i have PS2 keyboard. But I've tried some live ISO's. And so i noticed that: on Arch iso, these keys work well excluding v which is as random as normally. When I booted elementary OS on the other hamd everything worked fine, except of v but this time it wasn't as random, because it shown up everytime i've pressed arrow key. I'll try SSH into my laptop.

//EDIT
I've switched to Zen Kernel, and now it works as good as on elementary iso. V show up every time when pressed together with arrows.

Last edited by Aykan (2016-01-24 17:27:38)

Offline

#12 2016-01-24 18:50:10

mich41
Member
Registered: 2012-06-22
Posts: 592

Re: Keyboard doesn't work properly.

Aykan wrote:

These issues appear on Arch only.

Aykan wrote:

When I booted elementary OS on the other hamd everything worked fine, except of v but this time it wasn't as random

Something doesn't add up here.

Maybe hardware is fubar?

Offline

#13 2016-01-24 20:29:56

Aykan
Member
From: Poland
Registered: 2014-08-29
Posts: 25

Re: Keyboard doesn't work properly.

That might be, I didn't think that was possible on 1 year laptop. I'll take it to repair service.

Offline

#14 2016-01-24 22:00:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,117

Re: Keyboard doesn't work properly.

It does sound as if something may have been spilled into the keyboard.  Any children about?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#15 2016-01-25 00:19:55

mich41
Member
Registered: 2012-06-22
Posts: 592

Re: Keyboard doesn't work properly.

Aykan wrote:

That might be, I didn't think that was possible on 1 year laptop. I'll take it to repair service.

Check it in BIOS/UEFI setup smile

Offline

#16 2016-01-25 18:52:31

Aykan
Member
From: Poland
Registered: 2014-08-29
Posts: 25

Re: Keyboard doesn't work properly.

Ok, I ain't got no idea wtf is going on, i tried installing Elementary OS. And now after few reboots keyboard works in 100% Evtest shows every press of every key. Just dafuq.

Offline

#17 2016-01-25 18:55:37

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,117

Re: Keyboard doesn't work properly.

Liquids evaporate with time hmm
Not all liquids leave residue.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#18 2016-01-25 19:31:29

mich41
Member
Registered: 2012-06-22
Posts: 592

Re: Keyboard doesn't work properly.

Some electronic problems may depend on temperature or humidity and some mechanical problems on pressure or vibrations smile

It could also be Embedded Controller bug, possibly triggered by power management drivers. (EC is a chip which integrates keyboard, power management, some ancient I/O interfaces and a kitchen sink).

Offline

Board footer

Powered by FluxBB