Skip to contentSkip to conversation

weird behaviour of numlock key

Qemu-devel Nikola Ciprich 3 participants 8 messages Apr 12, 2013 – Apr 16, 2013

lore
Share & tools
lore
#0 lore raw

Hi guys,

I'm trying to figure out the reason of strange problem we're having. When I start some VM under qemu-kvm, and connect using VNC, numlock behaves in a funny way. First press of the numeric keyboard behaves like numlock is enabled (or disabled), another presses then behave the opposite way - therefore for example pressing '1' on numpad issues:
<End>
1
1

etc. Trying to google this up, it seems that people are having various trouble with numlock/capslock (usually it's disabled on remote machine while enabled locally or vice versa), I understand that some of them are caused by the VNC itself..

However I was not able to find any mention about this particular problem (or solution) and I think it could be directly qemu-related..

Any idea on how to debug this?

I'm using qemu-1.4.0 x86_64 on RHEL6 based system.

Thanks a lot for any replies in advance

BR

nik

Signature · 13 lines
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28.rijna 168, 709 00 Ostrava

tel.:   +420 591 166 214
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------
#1 lore raw
Quoted 15 lines · Nikola Ciprich

Hi guys,

I'm trying to figure out the reason of strange problem we're having. When I start some VM under qemu-kvm, and connect using VNC, numlock behaves in a funny way. First press of the numeric keyboard behaves like numlock is enabled (or disabled), another presses then behave the opposite way - therefore for example pressing '1' on numpad issues:
<End>
1
1

etc. Trying to google this up, it seems that people are having various trouble with numlock/capslock (usually it's disabled on remote machine while enabled locally or vice versa), I understand that some of them are caused by the VNC itself..

Quoted 8 lines

However I was not able to find any mention about this particular problem (or solution) and I think it could be directly qemu-related..

Any idea on how to debug this?

I'm using qemu-1.4.0 x86_64 on RHEL6 based system.

Thanks a lot for any replies in advance

Hi Nikola,

I am working on this problem. And the proposal already send as the refference link below, you might want to take a look.

https://bugzilla.linux.ibm.com/show_bug.cgi?id=90304

If you have any suggestion, it'd be very thankful.

Thanks.

Quoted 6 lines

BR

nik

Signature · 1 line
Lei
#2 lore raw
Quoted 1 line

Hi Nikola,

Hello Lei,

thanks for Your reply.

Quoted 3 lines

I am working on this problem. And the proposal already send as the refference link below, you might want to take a look.

I'll gladly have a look..

Quoted 1 line

https://bugzilla.linux.ibm.com/show_bug.cgi?id=90304

bash-4.1$ ping bugzilla.linux.ibm.com
ping: unknown host bugzilla.linux.ibm.com

is this site available from the public?

cheers

nik

Quoted 16 lines

If you have any suggestion, it'd be very thankful.

Thanks.

Quoted 6 lines

BR

nik

Signature · 1 line
Lei
Signature · 13 lines
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28.rijna 168, 709 00 Ostrava

tel.:   +420 591 166 214
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------
#3 lore raw
Quoted 7 lines · Nikola Ciprich
Quoted 1 line

Hi Nikola,

Hello Lei,

thanks for Your reply.

Quoted 2 lines

I am working on this problem. And the proposal already send as the refference link below, you might want to take a look.

Quoted 7 lines

I'll gladly have a look..

Quoted 1 line

https://bugzilla.linux.ibm.com/show_bug.cgi?id=90304

bash-4.1$ ping bugzilla.linux.ibm.com
ping: unknown host bugzilla.linux.ibm.com

is this site available from the public?

Opoos, sorry, my fault...

http://lists.gnu.org/archive/html/qemu-devel/2013-04/msg01421.html

Quoted 17 lines

cheers

nik

Quoted 13 lines

If you have any suggestion, it'd be very thankful.

Thanks.

Quoted 5 lines

BR

nik

Signature · 1 line
Lei
Signature · 1 line
Lei
#4 lore raw
In reply to Nikola Ciprich
Quoted 8 lines · Nikola Ciprich

Hi guys,

I'm trying to figure out the reason of strange problem we're having. When I start some VM under qemu-kvm, and connect using VNC, numlock behaves in a funny way. First press of the numeric keyboard behaves like numlock is enabled (or disabled), another presses then behave the opposite way - therefore for example pressing '1' on numpad issues: <End> 1 1

Which vnc client is this?

cheers,
Gerd

#5 lore raw

Hi Gerd,

I'm using tigervnc, but the problem occurs also with xrdp vnc2rdp proxy..

If it can help, I can send pcap of communication, whowin that same codes are sent on each key stroke..

BR

nik

Quoted 16 lines · Gerd Hoffmann
Quoted 8 lines · Nikola Ciprich

Hi guys,

I'm trying to figure out the reason of strange problem we're having. When I start some VM under qemu-kvm, and connect using VNC, numlock behaves in a funny way. First press of the numeric keyboard behaves like numlock is enabled (or disabled), another presses then behave the opposite way - therefore for example pressing '1' on numpad issues: <End> 1 1

Which vnc client is this?

cheers,
Gerd

Signature · 13 lines
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28.rijna 168, 709 00 Ostrava

tel.:   +420 591 166 214
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------
#6 lore raw
Quoted 4 lines · Nikola Ciprich

Hi Gerd,

I'm using tigervnc, but the problem occurs also with xrdp vnc2rdp proxy..

Do things improve with a gtk-vnc based client? vinagre or remote-viewer (comes bundles with recent virt-viewer versions)?

cheers,
Gerd

#7 lore raw

Hi Gerd,

Quoted 2 lines

Do things improve with a gtk-vnc based client? vinagre or remote-viewer (comes bundles with recent virt-viewer versions)?

tried vinagre now, same result...

nik

Quoted 5 lines

cheers,
Gerd

Signature · 13 lines
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28.rijna 168, 709 00 Ostrava

tel.:   +420 591 166 214
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------