Key repeat is disabled intermittently

Bug #891295 reported by Steven Haber
78
This bug affects 13 people
Affects Status Importance Assigned to Milestone
xserver-xorg-input-keyboard (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have VMWare 8 and dual monitors running separate X servers. Every hour or so while writing code in Emacs, my keyboard key repeat will stop functioning. I can re-enable it by opening the keyboard configuration utility and unchecking/checking the key repeat box. I do not know exactly what sequence of events causes it to occur.

The following question has a list of other users experiencing this issue with their symptoms and repros, etc.:
https://answers.launchpad.net/ubuntu/+source/xserver-xorg-input-keyboard/+question/175128

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xserver-xorg-input-kbd (not installed)
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Wed Nov 16 11:02:32 2011
DistUpgraded: Log time: 2011-10-13 10:35:49.291641
DistroCodename: oneiric
DistroVariant: ubuntu
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MachineType: Dell Inc. Precision WorkStation 490
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=7f3fdaf1-f7d2-46b4-bd65-7a4fba0d2514 ro quiet splash vt.handoff=7
SourcePackage: xserver-xorg-input-keyboard
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (33 days ago)
dmi.bios.date: 05/24/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A05
dmi.board.name: 0GU083
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA05:bd05/24/2007:svnDellInc.:pnPrecisionWorkStation490:pvr:rvnDellInc.:rn0GU083:rvrA00:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision WorkStation 490
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu5
version.ia32-libs: ia32-libs 20090808ubuntu26
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
Steven Haber (sthaber) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-input-keyboard (Ubuntu):
status: New → Confirmed
Revision history for this message
Steven Haber (sthaber) wrote :

I'm now running a clean install of 11.10 on a different machine with a clean install of VMWare 8.0.1 build-528992 with a Windows 7 VM. I now only have one monitor, so it's unrelated to my previously hacked together Xorg.conf. Still hitting the issue.

Revision history for this message
SwitchDK (switchdk) wrote :

Same problem for me on a Dell Latitude E6510 with Ubuntu 11.10 with VMware Workstation 7.1.5 installed. As a temporary solution I have created a very basic shell script to reset the repeat" (equivalent to going to System Settings -> Keyboard -> Untick and tick "Key presses repeat when key is held down"). Every time repeat stops working I execute the script.

Script:
#!/usr/bin/env bash
xset r off
xset r on
echo "Reset of keyboard repeat done!"

Revision history for this message
SwitchDK (switchdk) wrote :

Just found a note on VMware's website that the problem is relating to VMware Workstation and users have to upgrade to VMware Workstation 8.0.2 (see release notes http://www.vmware.com/support/ws80/doc/releasenotes_workstation_802.html - section Resolved Issues - "In Ubuntu 11.10 hosts, key repeat was disabled after ungrabbing or quitting VMware Workstation"). I guess that means individuals on VMWare Workstation 7.1 is stuck for now. Unfortunately, the Ubuntu team can't do anything about this.

Revision history for this message
Steven Haber (sthaber) wrote :

Good find! Unfortunately the 8.0.2 patch isn't on the update server yet, although you can reinstall the whole thing if you're feeling ambitious. I hope they are working on the patch for the update server.

Revision history for this message
Tom McSweeney (tjmcs) wrote :

The 8.0.2 patch may not be available through the "Software Updates" menu item under VMware Workstation, but it is available directly from VMware through the "Support and Downloads" part of their website:

http://downloads.vmware.com/d/info/desktop_end_user_computing/vmware_workstation/8_0

The version that is currently available on that page is v8.0.2 (for both 32-bit and 64-bit and Linux) and it seems to have resolved the issue for me.

Revision history for this message
Michael Taylor (grandfathermax) wrote :

I can confirm that it has now been 19 hours since I installed 8.0.2 on my Ubuntu 11.10 x64 that already had VMWare 8.0.1 on it and with a flawless "Upgrade" (it first removed 8.0.1 and installed 8.0.2 as part of the install process, suspending my active virtual guests in the process). I am happily working away between guest and host with not a single loss of key repeat.

Thanks SwitchDK for the headsup, it had gone way past annoyance to the point I was so used to it I had started not to notice it, like back pain or an annoying younger sibling. It isn't until they are gone you realise just how much it annoyed you.

Bryce Harrington (bryce)
Changed in xserver-xorg-input-keyboard (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Sebastien Lacroix (sebastien-slacroix) wrote :

I also confirm that the problem does not occur any more with VMWare Workstation upgraded to 8.0.2 (actually reinstalled).
So this was not an Ubuntu bug but a VMWare one when working with Ubuntu

Revision history for this message
Sebastien Lacroix (sebastien-slacroix) wrote :

Sorry, actually this problem still occurs from time to time, even with the last version of VMWare (8.0.2 build-591240)

Anyway, somehow, I do not like the fact that a third party app like VMWare player/workstation can disturb the handling of my keyboard this way. I understand that a Windows guest VM also need to achieve key repeat, but this should not affect the host indeed.
Perhaps we should make the mechanism default to the opposite state (after all, it's enabled by default on Windows) so it would remain enabled when things start to go out of sync between the Host Desktop and a VMWare session.

Revision history for this message
Tom McSweeney (tjmcs) wrote :

Like Sebastian, I too have seen this issue continue to crop up from time to time. The issue doesn't occur as often as it did prior to updating to the latest version of VMware (8.0.2 build-591240), but it does still occur. As such, I wouldn't consider this issue resolved, but it is better than it used to be.

Revision history for this message
Chuck Torrens (hockeybum27) wrote :

I use VMWare Player 4.0.2 build-591240 on Ubuntu 12.04 64-bit, and have this problem on a consistent basis. Apparently the VMWare Workstation fixes are not making it to VMWare Player...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.