Page 1 of 1

Help getting a sound interface to work

Posted: 6. Feb 2019, 18:27
by icefire
So I am running a host with Ubuntu 18.04 and a virtual machine with Windows 10 64-bit. I can't get the usb sound interface to work. The windows system sees the sound interface, all drivers are installed, programs that are supposed to use the interface see that it is connected but nothing happens.

It is an old Line6 Guitarport - a legacy USB interface which captures and converts the signal from an electric guitar and allows the use of amp simulators. It doesn't work within ubuntu but that is probably because of the lack of proper drivers for linux. Ubuntu does see it as a playing and recording device but I cannot get any sound of it. Anyway, I have confirmed that the device works perfectly on another pc with the same Windows 10 version as the virtual machine.

I have set the USB controller to xHCI but this didn't help. What am I missing?

I have attached the log of the virtual machine.

Thank you :)

Re: Help getting a sound interface to work

Posted: 6. Feb 2019, 19:35
by mpack
So your question is not about sound at all, it is about getting a USB device to work in a VM.

With the VM shut down, please unplug and replug the USB device and show me the output from the following host terminal command :-

Code: Select all

VBoxManage list usbhost

Re: Help getting a sound interface to work

Posted: 6. Feb 2019, 21:10
by icefire
Well, yes, but I thought that the device being a usb sound interface is relevant.

Here is the whole output:

Code: Select all

$ VBoxManage list usbhost
Host USB Devices:

UUID:               199c0a4f-60c0-4389-ba6a-f37c3c1bea06
VendorId:           0x152d (152D)
ProductId:          0x2339 (2339)
Revision:           1.0 (0100)
Port:               2
USB version/speed:  2/High
Manufacturer:       Prestigio
Product:            USB Storage HDD
SerialNumber:       30FB2EBFFFFF
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3//device:/dev/vboxusb/001/004
Current State:      Busy

UUID:               a50d0253-72f8-4224-9173-a0e920409a75
VendorId:           0x0e41 (0E41)
ProductId:          0x4750 (4750)
Revision:           0.1 (0001)
Port:               1
USB version/speed:  1/Full
Manufacturer:       Line 6
Product:            GuitarPort
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2//device:/dev/vboxusb/001/006
Current State:      Busy

UUID:               fdd5034d-c358-419f-94cf-f4e5741813c0
VendorId:           0x0a12 (0A12)
ProductId:          0x0001 (0001)
Revision:           49.100 (49100)
Port:               2
USB version/speed:  2/Full
Manufacturer:       Cambridge Silicon Radio, Ltd
Product:            BT2.0
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3//device:/dev/vboxusb/002/003
Current State:      Busy

UUID:               c2a7b168-3675-4c65-904d-91e22727719e
VendorId:           0x09da (09DA)
ProductId:          0x000a (000A)
Revision:           0.2 (0002)
Port:               5
USB version/speed:  1/Low
Manufacturer:       A4Tech
Product:            PS/2+USB Mouse
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6//device:/dev/vboxusb/001/005
Current State:      Busy

UUID:               6fb7b2b0-ae76-4ada-a76d-99927a209e11
VendorId:           0x058f (058F)
ProductId:          0x6364 (6364)
Revision:           1.0 (0100)
Port:               3
USB version/speed:  2/High
Manufacturer:       Generic
Product:            Mass Storage Device
SerialNumber:       058F63646476
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4//device:/dev/vboxusb/002/004
Current State:      Busy

UUID:               5f992484-b8af-4b6f-9c57-95964291266d
VendorId:           0x046d (046D)
ProductId:          0xc52b (C52B)
Revision:           36.1 (3601)
Port:               6
USB version/speed:  2/Full
Manufacturer:       Logitech
Product:            USB Receiver
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7//device:/dev/vboxusb/002/005
Current State:      Busy

UUID:               4fbb4555-a072-4473-91e7-bc9017c43510
VendorId:           0x03f0 (03F0)
ProductId:          0x122a (122A)
Revision:           1.0 (0100)
Port:               7
USB version/speed:  2/High
Manufacturer:       Hewlett-Packard
Product:            HP LaserJet 200 colorMFP M276nw
SerialNumber:       CNC8DDP0SJ
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8//device:/dev/vboxusb/002/006
Current State:      Busy
And here just the part about the device I am trying to get working:

Code: Select all

UUID:               a50d0253-72f8-4224-9173-a0e920409a75
VendorId:           0x0e41 (0E41)
ProductId:          0x4750 (4750)
Revision:           0.1 (0001)
Port:               1
USB version/speed:  1/Full
Manufacturer:       Line 6
Product:            GuitarPort
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2//device:/dev/vboxusb/001/006
Current State:      Busy
This is the output with the VM turned off and the sound interface unplugged and replugged. If I then start the VM the status is changes to Captured and when I turn it off (without replugging the device) - Available

Re: Help getting a sound interface to work

Posted: 7. Feb 2019, 10:52
by mpack
Hmm, a USB 1.0 device. Don't see many of those. Well you were wasting your time enabling xHCI: enabling USB3 support will not help this device at all.

The log contains this:
00:00:05.714682 VUSB: Attached '00007fab90d18f70[proxy 0e41:4750]' to port 2 on RootHub#1 (FullSpeed)
Which shows that VirtualBox sees and captures the correct device, and identifies the USB mode correctly.

So, we need to look inside the guest OS for this problem. Can you expand on "all drivers are installed"? Did you really find 64bit Windows drivers for such an old device (Guitarport) ?


p.s. On the Windows 10 configuration side, I would increase the CPU count to 2, it should make things much smoother.

Re: Help getting a sound interface to work

Posted: 7. Feb 2019, 21:35
by icefire
mpack wrote:So, we need to look inside the guest OS for this problem. Can you expand on "all drivers are installed"? Did you really find 64bit Windows drivers for such an old device (Guitarport) ?
Yes, there are drivers for Windows 10 on the official website of Line6. The site doesn't allow me to copy a direct link but there are Guitarport drivers here: https://line6.com/software/index.html
Furthermore, I have tested the exactly same device on another PC with exactly the same version of Windows 10 64 bit and it works. However, just to be sure, I imported a 32-bit VM and tested and used it to test the device. Got the same result. The device is recognized, shows up in Device Manager, the amp simulator knows that it is attached but there is no communication with it - neither playing nor recording works.

Re: Help getting a sound interface to work

Posted: 7. Feb 2019, 22:21
by socratis
It may be a timing issue with the USB device. The device IS seen and the guest, but it may fail to transfer data correctly. It happens. JTAG devices are known to do that for example...

Re: Help getting a sound interface to work

Posted: 8. Feb 2019, 00:10
by icefire
Maybe. But then again, there are people across different forums who claim they have got it working in a VM (all very old forum threads so a lot has changed since then).

Re: Help getting a sound interface to work

Posted: 8. Feb 2019, 00:59
by socratis
icefire wrote:there are people across different forums who claim they have got it working in a VM
Citations needed.