Page 1 of 1

Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 25. Feb 2018, 21:15
by thembp
Hi,

I am running a Windows XP guest inside VB 5.2.6 r120293 on High Sierra 10.13.3. The guest is supposed to be running a scanning software working with a old 35mm film scanner PrimeFilm 1800i. The Windows XP guest has been cleanly installed, VBox Additions have been added, and also the driver for the scanner. The installation of the scanner has finished successfully and Windows sees the device in the device manager. So far so good. However when I start the scanning software, it just hangs there (I suppose trying to communicate with the scanner) and does nothing. Why I open this topic, is:
  • - the exact same procedure has been done on my Linux machine (XP guest + vbox additions + scanner driver + scanner software) and there the scanner works flawlessly.
    - when I start the scanning software without the scanner being plugged in, it starts and complains about no scanner.
    - since this all works fine in Linux and since it seems like the problem is somewhere in the software trying to communicate with the device on Mac I think it might be a VB vs. Mac problem.
I have also tried:
  • - several versions of the scanning software and none of them works
    - usb 1 and usb 2 - none work
    - with or without a usb filter - doesn't work
    - I do not see the scanner anywhere on the host system as being connected (eg. in Printers and Scanners)

When I do list usbhost while the guest is running and the scanner is connected I see the following:

Code: Select all

VBoxManage list usbhost
Host USB Devices:

UUID:               772a607e-c632-4409-b888-5970949e6ceb
VendorId:           0x05e3 (05E3)
ProductId:          0x0120 (0120)
Revision:           0.0 (0000)
Port:               1
USB version/speed:  0/Full
Manufacturer:       Genesys Logic, Inc.
Product:            USB Scanner
Address:            p=0x0120;v=0x05e3;s=0x000034881871f8de;l=0x14100000
Current State:      Captured

UUID:               cbad954a-43ca-4d6c-b641-5803a34cf08a
VendorId:           0x05ac (05AC)
ProductId:          0x8600 (8600)
Revision:           1.1 (0101)
Port:               2
USB version/speed:  0/High
Manufacturer:       Apple Inc.
Product:            iBridge
Address:            p=0x8600;v=0x05ac;s=0x000032e3469d4b18;l=0x14200000
Current State:      Busy
So according to the "Captured" all should be Ok. But isn't :( Thanks for any suggestions what more I can try to make this work. Here are the necessary attachments:
log_1.txt
VBoxManager context
(4.65 KiB) Downloaded 13 times
log_2.zip
VirtualBox log of the full USB cycle
(26.11 KiB) Downloaded 15 times

Re: Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 26. Feb 2018, 00:00
by socratis
thembp wrote:the exact same procedure has been done on my Linux machine (XP guest + vbox additions + scanner driver + scanner software) and there the scanner works flawlessly.
So why didn't you simply copy the VM to the OSX host to take any potential differences in the guest, out of the equation?

Everything else looks just fine, so I don't know at this point what's going on at this point. You have a "MacBookPro14,3", which has the "USB 3.1 Gen 2" ports. So how exactly are you connecting the scanner to the computer? You use a USB hub for sure, the question is if that hub is responsible or not for the correct communication.

You don't have a USB 3.1 on your Linux host, do you? Even if you don't can you use the hub that you use on the Mac as well and see if that's the problem?

Re: Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 26. Feb 2018, 11:54
by thembp
Thanks for your answer! Yes i agree everything looks fine. Especially the fact that Windows can detect a new device and install the driver.
The scanner uses an ordinary USB cable and to plug it into the Mac i use a simple adapter from "normal" USB to UBS-c from Apple.

I will try to copy the VM and see what happens. Do you have any other ideas how to debug this ?

Re: Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 26. Feb 2018, 12:57
by socratis
thembp wrote:Do you have any other ideas how to debug this ?
One thing at a time... ;)
Try to copy the VM over and see if that works or not. Then we might need to take a closer look at the adapter. Obviously you can't use it in your Linux host, right? Do you have a link to the adapter's page? Is it actually an Apple made one? This one: https://www.apple.com/shop/product/MJ1M ... sb-adapter ?

Re: Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 26. Feb 2018, 13:18
by thembp
I copied the VM from Linux (where the USB connection to the scanner is working) to the Mac, imported it into VirtualBox and started it. It has the same behavior as the VM that was created on the Mac: the scanner software just freezes at start. What i noticed is that when i start the scanner software from the VM on Linux, the scanner does two small sounds (pbbly some kind of initialization) when the software starts. On Mac with the same VM (or with a newly created VM) i do not hear this sounds..

Re: Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 26. Feb 2018, 13:25
by thembp
As for the adapter yes, i believe it is the one. The adapter says "Model A1632" and I found an Amazon listing for the same adapter your are linking to (i cant link yet after being a fresh user ;)
I cant test it on my Linux machine as i have no USB-c ports.

Re: Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 28. Feb 2018, 12:11
by thembp
(bump) Hi, do you have any other ideas regarding this ? (/bump)

Re: Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 1. Mar 2018, 00:34
by Bicycle
I couldn't get USB to work on 5.2.6 either. The USB 2.0 and 3.0 showed up as invalid configuration when I was able to use at least 2.0 in previous versions. 1.0 kinda worked but the device would spontaneously disconnect randomly.

Re: Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 1. Mar 2018, 09:54
by socratis
thembp wrote:do you have any other ideas regarding this ?
Nope.

@Bicycle
Please do not hijack other people's threads. Open a new one. Especially when this one has absolutely nothing to do with yours.

Re: Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 1. Mar 2018, 12:09
by thembp
Eww, thats bad. Is there a way of opening a ticket on github somewhere with the developers ?

Re: Cant use USB device on VirtualBox 5.2.6 and High Sierra 10.13.3

Posted: 1. Mar 2018, 13:15
by socratis
Bug tracker. Attach your logs and other vital information. It would also help if you can post the bug report number here so other can see the progress, add information, or see the final resolution.