VirtualBox

Ticket #5764 (closed defect: fixed)

Opened 9 months ago

Last modified 3 months ago

Arrow and other keys not working when starting with VBoxSDL => Fixed in SVN

Reported by: harmscon Assigned to:
Priority: critical Component: other
Version: VirtualBox 3.1.0 Keywords: VBoxSDL arrow keys
Cc: Guest type: other
Host type: other

Description (Last modified by frank)

Host: Ubuntu 9.10 32bit i386
Guest: Windows XP SP3 32bit i386
VirtualBox: 3.1

After upgrading the Host OS (from Ubuntu 8.04) the arrow keys, Home, End, Insert, PgUp, PgDwn, and / on the numeric keypad no longer work when starting the virtual machine with VBoxSDL.

The upgrade was an export VBox virtual machine, format hard drive, clean install new OS and then import the vbox Virtual machine.

I use the following command to start VirtualBox:

/usr/bin/gksudo -u fred 'VBoxSDL --startvm freds_VM --nofstoggle --termacpi'

After the upgrade mentioned above, the keyboard keys stopped working (sometimes the Start menu will open, other times it's like a right mouse click is pressed.)

If I start Virtual box like this:

/usr/bin/gksudo -u fred VBoxManage startvm freds_VM

all keys work as expected and as they always have, no matter which of these two methods I use to start the VM.

So this appears to be specific to VBoxSDL.

Attachments

VBox.log (51.7 kB) - added by harmscon on 2009-12-16 07:47:17.

Change History

2009-12-16 07:47:17 changed by harmscon

  • attachment VBox.log added.

2010-04-16 17:17:31 changed by frank

  • status changed from new to closed.
  • resolution set to worksforme.
  • description changed.

I'm quite sure your problems are gone when you append the --evdevkeymap switch to your VBoxSDL parameters.

2010-04-16 22:25:07 changed by mpefra

  • status changed from closed to reopened.
  • resolution deleted.

Hello,

I have the same problem on a windows vista host. I tried option '--evdevkeymap' but this option doesn't exist (Version 3.1.6 r59338).

Any idea?

Thanks in advance.

2010-04-19 08:49:50 changed by frank

That option does exist in VBox 3.1.6. What happens if you start your VM with

VBoxSDL --evdevkeymap --startvm VM_NAME

(replace VM_NAME with the name of a VM)?

2010-04-19 11:51:21 changed by mpefra

It displays the usage message :

PS C:\Program Files\Sun\VirtualBox> & 'C:\Program Files\Sun\VirtualBox\VBoxSDL.exe' --evdevkeymap --startvm Debian
Sun VirtualBox SDL GUI version 3.1.6
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

Error: unrecognized switch '--evdevkeymap'
Usage:
 --startvm <uuid|name>    Virtual machine to start, either UUID or name
 --hda <file>             Set temporary first hard disk to file
 --fda <file>             Set temporary first floppy disk to file
.....

2010-04-19 13:11:10 changed by frank

Which host is that?

2010-04-19 13:36:37 changed by frank

Hmm, looks like this is a Windows host. The --evdevkeymap switch is only available for Linux hosts. Yours must be another issue then.

2010-04-23 08:10:35 changed by mpefra

Yes it is a windows host (as mentionned in my first message). Do I have to create to create a new ticket?

2010-05-25 20:57:55 changed by dreif

Hi,

I have a the same problem with VirtualBox 3.2.0 (ubuntu 10.4 host + ubuntu 9.10 guest). '--evdevkeymap' helps but the new command "VBoxManage --startvm uuid --type sdl" does not allows to pass this option.

I would use the VBoxSDL command, but since this release, VBoxSDL does not set the title attribute of the X windows anymore (tested with xlsclients command line util), which is a MUST in my integration setup. Actually I am stuck.

Regards, Frederic

2010-05-26 21:30:55 changed by frank

  • summary changed from Arrow and other keys not working when starting with VBoxSDL to Arrow and other keys not working when starting with VBoxSDL => Fixed in SVN.

This will be fixed in the next maintenance release. VBoxSDL will inherit the keyboard handling from the Qt GUI.

2010-06-02 21:00:33 changed by frank

  • status changed from reopened to closed.
  • resolution set to fixed.


ContactPrivacy policy