VMware Communities
pj1001
Contributor
Contributor

keyboard problem - key gets stuck (autorepeat) in guest

Here is my config:

vmware workstation 6.5.2

host ubuntu 9.04 (Jaunty Jackalope)

guest XP (from physical partition)

I noticed on occasions keys in guest were stuck. I type something in terminal and the key goes autorepeat.

To stop it: switch to host, open terminal (the key will be still pressed and autorepeating itself) and press something.

The autorepeat still accepts modifiers (I can press Shift and get G out of repeating g).

It looks like the key release event is lost.

I have found reliable way to reproduce. When focus is in host, press Ctrl-G, the stuck key will be "g".

If I select the VM->Grab Input it does not happen.

Since my ubuntu and vmware have a "history" i have nucked the ~/.vmware /etc/vmare and reinstalled workstation

The original ~/.vmware/config had the workaround for the Ctrl-Alt-Shift problem, but not anymore.

I also tried to put xkeymap.noKeycodeMap = "TRUE" in the config, but it did not change anything.

I used to remap "Caps Lock" to "Ctrl" but took it out and rebooted since.

The following comes up in vmware.log when it happens:

Apr 26 20:14:25.173: mks| MKS could not find key event for 0x25 up

Apr 26 20:14:25.179: mks| MKS set modifier mapping failed: MappingBusy, giving up

Apr 26 20:14:25.179: mks| MKS could not find key event for 0x25 down

Apr 26 20:14:28.654: mks| MKS lost grab

Apr 26 20:14:28.670: mks| MKS set modifier mapping failed: MappingBusy, giving up

Apr 26 20:14:28.692: mks| MKS set modifier mapping failed: MappingBusy, giving up

0x25 is left control. The left control works in guest and host.

I am slowly running out of options, any suggestions are welcome.

--Pawel

0 Kudos
24 Replies
oznet
Contributor
Contributor

Well, not completely fixed but it's better.

Just a few minutes ago I was trying to power off a machine with CTRL-E when it captured the keyboard and started repeating 'eeeeeeeeeeeeeeeeeeeeee' in the guest. I couldn't escape out of the VM either. Took about 5 minutes of pounding on the keyboard before I eventually got X to exit to the console (on the host).

0 Kudos
pj1001
Contributor
Contributor

Hi,

i did a couple of Ctrl-g to test it. No problems so far.

However, the behavior is not perfect, the g out of Ctrl-g makes to the

guest (application with the focus gets the keystroke).

--pawel

0 Kudos
vm_dude123
Enthusiast
Enthusiast

I have the same problem running VMWare Server 2.0.0 on Jaunty (9.04). For me, its often the "d" key or another control key that is stuck repeating. It's been really annoying up until yesterday were the key that got stuck was enter. It opened up about 300 instances of a desktop app on the host (whose launch button was selected when I exited the guest to open a terminal in the host). The host ultimately crashed taking down 8 running virttual machines, one of which came back up with serious disk problems.

Hopefully the fix in Workstation will find its way to Server soon. I am running out of patience with this bug.... The setxkbmap thing works, but only temporarily....been using it to get through these past few months, but it seems like its getting worse with time....

0 Kudos
UserOfVirtualMa
Enthusiast
Enthusiast

I just want to point out that all version 10 and 11 VMware Fusion suffer from this problem. It is very disruptive when it happens.

It just happened to me, right now, in VMware Fusion 11.5.5 (16269456) on macOS Catalina 10.15.5.

This problem has occurred in prior VMware Fusion versions, running on prior macOS versions. An update about a year ago was supposed to solve this problem but it's still there.

0 Kudos
AT-AT
Contributor
Contributor

Wow... that's a long living problem, so many years later, and it is still here -- Workstation 17.5 , Ubuntu 23.10, no enhanced keyboard driver (don't know where to get it to be honest) on the host. gggggggggggg, suspend guest, resume guest. 

0 Kudos