keyboardputscancode dropping characters.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
dcod
Posts: 8
Joined: 12. Jan 2012, 14:48
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: linux

keyboardputscancode dropping characters.

Post by dcod »

Hi,

Upon bringing up a vm, I use 'control keyboardputscancode' to login and and setup some data. I am finding that the odd character is not being sent. The dropped characters are always in the same place! (i.e when logging in as root, the user name is always rot! drops the o).

Anyone else had this problem?

Thanks,

Dave
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: keyboardputscancode dropping characters.

Post by michaln »

If you don't show exactly what you're sending, no one can say with certainty whether they have the same problem or not. That should be obvious.
dcod
Posts: 8
Joined: 12. Jan 2012, 14:48
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: linux

Re: keyboardputscancode dropping characters.

Post by dcod »

I am sure you have been blessed with a certain degree of technical intelligence, however, I suggest that you now try to find some time to work on your social skills.

Here is the command that is being initiated :

Code: Select all

VBoxManage controlvm TestVm2 keyboardputscancode 13 18 18 14 1C
The command is sending 'root' with an Enter. Only 'rot' is appearing at the console. 'o' is being dropped.

My question, again, is does anyone have the problem of keyboardputscancode dropping characters? Is this 'obvious' enough for you?
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: keyboardputscancode dropping characters.

Post by michaln »

dcod wrote:I am sure you have been blessed with a certain degree of technical intelligence, however, I suggest that you now try to find some time to work on your social skills.
Coming from someone as socially skilled as you, that really hurts! Ouch! :D
Here is the command that is being initiated :

Code: Select all

VBoxManage controlvm TestVm2 keyboardputscancode 13 18 18 14 1C
The command is sending 'root' with an Enter. Only 'rot' is appearing at the console. 'o' is being dropped.
The problem is pretty obvious... you're sending the scancodes indicating key presses, but no key releases. Depending on exactly how the guest is implemented, there's a high likelihood that any repeated characters will be ignored, ie. both "root" and "roto" will end up as "rot". Try the following instead:

Code: Select all

VBoxManage controlvm TestVm2 keyboardputscancode 13 93 18 98 18 98 14 94 1C 9C
My question, again, is does anyone have the problem of keyboardputscancode dropping characters? Is this 'obvious' enough for you?
The original question wasn't. Now that you provided the necessary information, yes, both the problem and the solution are quite obvious, thank you.
dcod
Posts: 8
Joined: 12. Jan 2012, 14:48
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: linux

Re: keyboardputscancode dropping characters.

Post by dcod »

michaln wrote:Coming from someone as socially skilled as you, that really hurts! Ouch! :D
It should do. Someone with social skills would not reply with
If you don't show exactly what you're sending, no one can say with certainty whether they have the same problem or not. That should be obvious.
May I suggest
Could you supply command, that you are initiating, to make it easier for us to help you?
Anyway, I appreciate your help. Thank you. :D
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: keyboardputscancode dropping characters.

Post by michaln »

You're welcome! :)

FWIW, the keyboardputscancode usage is independent of the host OS and probably guest OS independent as well, but I don't feel like moving this thread.
Post Reply