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
keyboardputscancode dropping characters.
-
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.
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.
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 :
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?
Here is the command that is being initiated :
Code: Select all
VBoxManage controlvm TestVm2 keyboardputscancode 13 18 18 14 1CMy 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.
Coming from someone as socially skilled as you, that really hurts! Ouch!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.
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:Here is the command that is being initiated :
The command is sending 'root' with an Enter. Only 'rot' is appearing at the console. 'o' is being dropped.Code: Select all
VBoxManage controlvm TestVm2 keyboardputscancode 13 18 18 14 1C
Code: Select all
VBoxManage controlvm TestVm2 keyboardputscancode 13 93 18 98 18 98 14 94 1C 9CThe original question wasn't. Now that you provided the necessary information, yes, both the problem and the solution are quite obvious, thank you.My question, again, is does anyone have the problem of keyboardputscancode dropping characters? Is this 'obvious' enough for 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.
It should do. Someone with social skills would not reply withmichaln wrote:Coming from someone as socially skilled as you, that really hurts! Ouch!
May I suggestIf 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.
Anyway, I appreciate your help. Thank you.Could you supply command, that you are initiating, to make it easier for us to help 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.
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.
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.