You are not logged in.

#1 2017-11-16 19:37:41

6PM
Member
Registered: 2017-11-08
Posts: 7

Numpad not working

Hello,
after installation the Keyboard's number pad is not working very well on console and GUI
When I press any number the keys do ^[[2~ [[6~ or moving the cursor.


I have this:

/etc/vconsole.conf
KEYMAP=la-latin1
FONT=Lat2-Terminus16
FONT_MAP=8859-15

/etc/mkinitcpio.conf
HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt lvm2 filesystems fsck)


Any ideas where to look for trying to fix this please?

Offline

#2 2017-11-16 19:48:39

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: Numpad not working

Do you want the numbers or the functions? Obviously you tried the "Num Lock" key.

Offline

#3 2017-11-16 20:57:08

6PM
Member
Registered: 2017-11-08
Posts: 7

Re: Numpad not working

The numbers, yes I tried "num lock"

Offline

#4 2017-11-16 22:57:22

seth
Member
Registered: 2012-09-03
Posts: 49,979

Re: Numpad not working

What is the output of "setleds" when you expect the numpad to work (in a  linux console, it won't work on an X11 terminal)?
What display server drives your GUI (wayland or Xorg?)?
Does your keyboard have a numlock LED? Does it toggle when  you press the numlock key?

Offline

#5 2017-11-17 01:26:30

6PM
Member
Registered: 2017-11-08
Posts: 7

Re: Numpad not working

Current default flags:   Numlock off CapsLock off ScrollLock off
Current flags:            Numlock off CapsLock off ScrollLock off
Current leds:            Numlock off CapsLock off ScrollLock off

Arch is on virtualbox, it use Xorg with virtualbox-guest-utils.
Daemon vboxservice is loading the kernel modules correctly.
Yes, the keyboard has a numlock LED and it toggle.

But even the numeric keypad doesn't work in grub.

In other installation on virtualbox (arch-anywhere) and the arch live ISO, the numbers works with the same settings: KEYMAP=la-latin1



NEWS: I discovered the numeric keypad is working in reverse (only on mate desktop. It doesn't work on console)

8 = up arrow
2 = down arrow
SHIFT + 8 = 8
SHIFT + 2 = 2

._.?

Last edited by 6PM (2017-11-17 01:40:37)

Offline

#6 2017-11-17 08:08:26

seth
Member
Registered: 2012-09-03
Posts: 49,979

Re: Numpad not working

Current default flags:   Numlock off CapsLock off ScrollLock off
Current flags:            Numlock off CapsLock off ScrollLock off
Current leds:            Numlock off CapsLock off ScrollLock off

Try to switch it by software on using "setleds" and "xset" (and check whether the LED gets sysnced to the logic state at some point)
The shifted behavior is normal.

In other installation on virtualbox (arch-anywhere)

Is the affected system an arch-anywhere installation as well?

Offline

#7 2017-11-17 13:30:25

6PM
Member
Registered: 2017-11-08
Posts: 7

Re: Numpad not working

The affected system is only an official archlinux.
I was reviewing the installation steps in case I did something wrong, but I didn't find anything.

I was also reading the setleds manual:

setleds +num
It works very well. The LED gets synced to the logic state on console and then on GUI
I can use the numeric keyboard.

But
setleds -D +num
and
mkinitcpio -p linux
They don't save the changes after reboot the system. I press "NumLock" and LED turn on and off.
But the same, numbers keys doesn't work.

Nevertheless
xset -led 1 led on
It saved the changes after reboot and works. (only GUI Obviously)

Offline

#8 2017-11-17 17:37:24

seth
Member
Registered: 2012-09-03
Posts: 49,979

Re: Numpad not working

setleds -D +num
and
mkinitcpio -p linux

This cannot be expected to work. Your keyboard (some fancy programmable razer thing?) has apparent initialization issues - and maybe also w/ the numlock key?
Does the key work afterwards/somehow?
Does it generate events in "xev -event keyboard"?

In doubt you'll have to go with the software control (eg. add a start service that runs setleds or so)

Offline

Board footer

Powered by FluxBB