Archive for November 19th, 2006

Annoying keystrokes problem in VMWare

Sunday, November 19th, 2006

While working with a Linux virtual machine, an annoying error keeps flashing past on the console:

Unknown key pressed

Sometimes it even prevents me from logging into the system.

At first, I thought it might be just a problem with this specific flavor of Linux. But the error just kept coming back even after changing to other Linux distributions.

After a bit of Google searching I located a blog article here, describing the same problem and it was caused by the Microsoft Wireless Keyboard I am using!

To solve this problem, two commands are needed to reset the extra keystrokes scancodes to blank:

setkeycodes e001 125
setkeycodes e059 126