USB Troubleshooting windows 7 64 bit

Discussions about using Windows guests in VirtualBox.
Post Reply
mfreem2
Posts: 4
Joined: 25. Sep 2017, 20:10

USB Troubleshooting windows 7 64 bit

Post by mfreem2 »

I have to use some legacy programs to do programming for PLC's. I have two guests, a windows 2000 professional machine and a windows 7 64 bit machine, running on Ubuntu 16.04.1 SMP (kernel 4.10.0-35-generic). For the Windows 2000 professional vm, the guest is able to see and use my usb to serial converter and everything works as it should. The Windows 7 Machine, USB is not working for the usb to serial converter or to the PLC directly (both with and without a filter). Usb is enabled and I have tried all of the usb controllers. The devices show up in the Device Manager, but do not appear to be able to make contact with the end device, the plc. Guest additions are installed on both windows vms. Where do I look from here?

VBoxManage -version:

Code: Select all

 5.1.22r115126 
VBoxMange list extpacks:

Code: Select all

Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.1.22
Revision:     115126
Edition:      
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true 
Why unusable: 

VBoxManage list usbhost

Code: Select all

Host USB Devices:

UUID:               6e67ab3c-525c-4a62-ba86-7695a652ca33
VendorId:           0x1b31 (1B31)
ProductId:          0x0000 (0000)
Revision:           0.0 (0000)
Port:               1
USB version/speed:  2/Full
Product:            MicroPLC
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2//device:/dev/vboxusb/002/018
Current State:      Available

UUID:               49288d3b-13b2-451b-ba8c-770fcfbe2267
VendorId:           0x0c45 (0C45)
ProductId:          0x6409 (6409)
Revision:           156.48 (15648)
Port:               1
USB version/speed:  2/High
Manufacturer:       USB 2.0 Camera_FLV14
Product:            USB 2.0 Camera
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2//device:/dev/vboxusb/001/005
Current State:      Busy
VBoxManage list usbfilters

Code: Select all

Global USB Device Filters:

<none>
VM Log attached
mfreem2
Posts: 4
Joined: 25. Sep 2017, 20:10

Re: USB Troubleshooting windows 7 64 bit

Post by mfreem2 »

id

Code: Select all

uid=1000(melissa) gid=1000(melissa) groups=1000(xxxxxxx),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),128(sambashare),129(vboxusers),131(libvirtd)
mfreem2
Posts: 4
Joined: 25. Sep 2017, 20:10

Re: USB Troubleshooting windows 7 64 bit

Post by mfreem2 »

gzipped file
Attachments
Win7-64Bit-2017-09-25-13-58-48.log.gz
(28.5 KiB) Downloaded 13 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: USB Troubleshooting windows 7 64 bit

Post by mpack »

That's an odd one. I can understand why it fails in a Win7 guest (you've configured the VM for USB3, and I bet you haven't installed USB3 controller drivers - since Win7 has none by default). The greater puzzle is why it should work in Win2k, which I'm not certain even supports USB2 by default. It might depend on which service pack you have installed.

I'd suggest that you check whether the device itself is USB2 or USB3, then check what port you're plugging it into on the host. I suspect that if you configure Win7 for USB2 and you plug the device into a USB2 port (or USB2 hub on a USB3 port), then it may work. Or, install the Intel xHCI drivers in the Win7 VM.
mfreem2
Posts: 4
Joined: 25. Sep 2017, 20:10

Re: USB Troubleshooting windows 7 64 bit

Post by mfreem2 »

My understanding is that USB3 is backwards compatible with USB2 and that it was the preferred controller. I have installed USB3 intel drivers in the guest. I have also tried usb2 with the same effect. And I should also add that the device communicates fine when Windows 7 is installed on the metal.
Post Reply