VirtualBox

Opened 11 years ago

Closed 8 years ago

#11772 closed defect (obsolete)

VB 4.2.12 - keyboard and ascii barcode scanner inconsistencies

Reported by: error_401 Owned by:
Component: USB Version: VirtualBox 4.2.12
Keywords: keyboard barcode scanner inconsistent Cc:
Guest type: Windows Host type: Linux

Description

Opening this bug in version 4.2.12 in reference to:

Ticket #11671

in version 4.1.18

Using the new version the same bug occurs altering the input from the scanner in the guest OS. The host scans correctly all the time, in the guest it drops parts of the ASCII character scan.

Attachments (5)

scanning.txt (437 bytes ) - added by error_401 11 years ago.
2013_07_18_vbox_4_2_16_host_linux_barcode_scans.txt (280 bytes ) - added by error_401 11 years ago.
2013_07_18_vbox_4_2_16_guest_linux_barcode_scans.txt (260 bytes ) - added by error_401 11 years ago.
VBox_2013_10_03.log (102.8 KB ) - added by error_401 11 years ago.
dmesg_2013_10_03.txt (1.7 KB ) - added by error_401 11 years ago.

Download all attachments as: .zip

Change History (13)

by error_401, 11 years ago

Attachment: scanning.txt added

comment:1 by Frank Mehnert, 11 years ago

priority: criticalmajor

comment:2 by error_401, 11 years ago

Tested again in version 4.2.16 with guest additions 4.2.16 Same USB barcode scanner.

Same behaviour with a Linux guest in a Linux host VBox 4.2.16

Host OS: Debian 7.0 Wheezy Guest OS: Debian 6.0 Squeeze Guest OS: Windows XP SP3

it still drops characters in the guest while scanning into the host is flawless.

Last edited 11 years ago by error_401 (previous) (diff)

comment:3 by Klaus Espenlaub, 11 years ago

You forgot to mention how the input of the barcode scanner reaches the VM - does this go through the VirtualBox keyboard emulation, or are you using USB passthrough?

Either way, it looks like the virtualization adds just enough overhead that the super fast input signalling by the barcode scanner triggers keyboard buffer overruns...

comment:4 by error_401, 11 years ago

The input goes directly via USB passthroug.

Connected Keyboard to USB1 and scanner to USB2

comment:5 by error_401, 11 years ago

New release - new test

Still exactly the same. In the client it drops characters all once in a while. It still renders the client useless for me as correct input from the barcode scanner is crucial.

Is there a way to narrow down the problem. If somebody tells me how to set up debugging or logging I may try that.

dmesg on the host shows that the barcode scanner has properly been identified and added as USB input device. No problems at all in the host. Only the clients (be it WIN XP or Debian 6) drop characters.

comment:6 by Klaus Espenlaub, 11 years ago

If USB passthrough loses keys then the device is sending them super fast, tripping over the somewhat unpredictable delay of delivering URBs to the VM. The host has a lot simpler task, adding scheduling uncertainty, VirtualBox and the guest OS will not improve this.

Would still be great to get VBox.log to know more about the runtime properties of your VM.

by error_401, 11 years ago

Attachment: VBox_2013_10_03.log added

by error_401, 11 years ago

Attachment: dmesg_2013_10_03.txt added

comment:7 by error_401, 11 years ago

I have checked this issue again with the very same results and problems. Attached two files. One ist the VBox.log after having tested and shut down the client. One is the tail of the linux dmesg file which shows how the barcode scanner was detected. Hope this helps with troubleshooting.

comment:8 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use