VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
9 Replies Last post: Oct 7, 2009 1:15 PM by skot9000  

USB Device Incompatibility/Incomplete Connectivity? posted: Jun 16, 2009 5:40 PM

Click to view digitalscott's profile Novice 5 posts since
Jun 16, 2009
Hi,

I'm new to the Fusion forums, but am a long-time Fusion user (since the days of the beta). I've been experiencing some unexplainable issues with a USB device, and I'm hoping someone can help me (thanks in advance!). I've read through the instructions on asking questions, but please let me know if you need more information.

Basic Information:
VMware Fusion 2.0.4 (159196)
MacBook Pro (4,1) -- 2.5 GHz Intel Core 2 Duo with 2 GB RAM.
Mac OSX 10.5.7 (9J61)
Virtual Machine: Windows XP Pro SP3 and Windows Vista Business (both were created in Fusion 2, neither are Boot Camp)

My Problem:
I am trying to use a Digilent Inc. BASYS2 FPGA development board. I am able to connect the USB device to the virtual machine using Fusion, and Windows successfully detects the device and installs the driver. When I use Digilent's board communication software (Adept 2.0), however, I am given the error, "Initialization Failed. Check connections and try again.". This problem always occurs, and is not intermittent (and occurs independent of which USB port is used).

Additional Information:
I have access to other FPGA development boards from Digilent Inc., including the NEXYS, NEXYS2, and the
BASYS boards, all of which work correctly (in the same XP and Vista virtual machines).

The major (relevant) difference between the boards which work and the one that doesn't is that compatible boards use a Cypress CY7C68013A USB interface, while the incompatible use an Atmel AT90USB2 interface.

I have tried using the incompatible boards with another MacBook Pro with XP Pro via Boot Camp, and the boards work correctly (so hardware is not at fault).

Fusion USB Debugging Information:
I've included snippets of the vmware.log file for the XP virtual machine for cases where a compatible board worked and where the incompatible didn't (by adding usb.analyzer.enable = "TRUE" to the .vmx file). Note the error messages (in bold).

Compatible Board (NEXYS2)
Jun 16 16:04:49.076: vmx| VMXVmdbLoadUsbDevices: New set of 5 USB devices
Jun 16 16:04:49.076: vmx| USB: Found device name:Standard\ Flash\ Card\ Reader vid:0424 pid:2228 path:13/15/1/1/1 speed:high family:storage
Jun 16 16:04:49.076: vmx| USB: Found device name:Apple\ Built-in\ iSight vid:05ac pid:8502 path:13/15/4 speed:high family:vendor,other,video
Jun 16 16:04:49.077: vmx| USB: Found device name:Apple\ Bluetooth\ USB\ Host\ Controller vid:05ac pid:820f path:10/1/1/1 speed:full family:vendor,other,wireless,bluetooth
Jun 16 16:04:49.077: vmx| USB: Found device name:Apple\ IR\ Receiver vid:05ac pid:8242 path:13/5/1 speed:low family:hid
Jun 16 16:04:49.077: vmx| USB: Found device name:TransDimension-NH\ ONBOARD\ USB vid:1443 pid:0005 path:13/15/1/1/4 speed:high family:vendor
Jun 16 16:05:01.908: vmx| USB: Connecting device 0xfd1140014430005
Jun 16 16:05:02.119: vmx| VMXVmdbLoadUsbDevices: New set of 4 USB devices
Jun 16 16:05:02.119: vmx| USB: Found device name:Standard\ Flash\ Card\ Reader vid:0424 pid:2228 path:13/15/1/1/1 speed:high family:storage
Jun 16 16:05:02.119: vmx| USB: Found device name:Apple\ Built-in\ iSight vid:05ac pid:8502 path:13/15/4 speed:high family:vendor,other,video
Jun 16 16:05:02.119: vmx| USB: Found device name:Apple\ Bluetooth\ USB\ Host\ Controller vid:05ac pid:820f path:10/1/1/1 speed:full family:vendor,other,wireless,bluetooth
Jun 16 16:05:02.119: vmx| USB: Found device name:Apple\ IR\ Receiver vid:05ac pid:8242 path:13/5/1 speed:low family:hid
Jun 16 16:05:02.120: vmx| 2 /vm/#_VMX/vmx/usbDev/#fd1140014430005/connectState/req/#27b/status/ = done [2]
Jun 16 16:05:02.120: vmx| 2 /vm/#_VMX/vmx/usbDev/#fd1140014430005/connectState/req/#27b/val/ = connected [2]
Jun 16 16:05:02.120: vmx| 2 /vm/#_VMX/vmx/usbDev/#fd1140014430005/connectState/req/#27b/val/connected/port/ = 1 [2]
Jun 16 16:05:02.120: vmx| 2 /vm/#_VMX/vmx/usbDev/#fd1140014430005/connectState/req/#27b/ = (null) [1]
Jun 16 16:05:02.120: vmx| Vmdb_Unset Stale data for path: /vm/#_VMX/vmx/usbDev/#fd1140014430005/connectState/req/#27b/status/ (current value unset) 0->2
Jun 16 16:05:02.304: vmx| USBG: CONNREQ: Dequeued head request after 395 ms for name:TransDimension-NH\ ONBOARD\ USB vid:1443 pid:0005 path:13/15/1/1/4 speed:high family:vendor
Jun 16 16:05:02.310: vmx| USB: Adding autoconnect pattern path:13/15/1/1/4 autoclean:1 in slot 0
Jun 16 16:05:02.312: vmx| USB: Device name:TransDimension-NH\ ONBOARD\ USB vid:1443 pid:0005 path:13/15/1/1/4 speed:high family:vendor should already be connected
Jun 16 16:05:02.312: vmx| VMXVmdbLoadUsbDevices: New set of 5 USB devices
Jun 16 16:05:02.312: vmx| USB: Found device name:Standard\ Flash\ Card\ Reader vid:0424 pid:2228 path:13/15/1/1/1 speed:high family:storage
Jun 16 16:05:02.312: vmx| USB: Found device name:Apple\ Built-in\ iSight vid:05ac pid:8502 path:13/15/4 speed:high family:vendor,other,video
Jun 16 16:05:02.312: vmx| USB: Found device name:Apple\ Bluetooth\ USB\ Host\ Controller vid:05ac pid:820f path:10/1/1/1 speed:full family:vendor,other,wireless,bluetooth
Jun 16 16:05:02.312: vmx| USB: Found device name:Apple\ IR\ Receiver vid:05ac pid:8242 path:13/5/1 speed:low family:hid
Jun 16 16:05:02.312: vmx| USB: Found device name:TransDimension-NH\ ONBOARD\ USB vid:1443 pid:0005 path:13/15/1/1/4 speed:high family:vendor
Jun 16 16:05:43.069: vmx| USB: Removing autoconnect pattern from slot 0
Jun 16 16:05:43.070: vmx| USB: Disconnecting device 0xfd1140014430005
Jun 16 16:05:43.079: vmx| MachPoll: mach_port_extract_member failed for port 53031 (15)
Jun 16 16:05:43.080: vmx| MachPoll: mach_port_extract_member failed for port 52071 (15)
Jun 16 16:05:43.282: vmx| VMXVmdbLoadUsbDevices: New set of 5 USB devices
Jun 16 16:05:43.282: vmx| USB: Found device name:Standard\ Flash\ Card\ Reader vid:0424 pid:2228 path:13/15/1/1/1 speed:high family:storage
Jun 16 16:05:43.282: vmx| USB: Found device name:Apple\ Built-in\ iSight vid:05ac pid:8502 path:13/15/4 speed:high family:vendor,other,video
Jun 16 16:05:43.283: vmx| USB: Found device name:Apple\ Bluetooth\ USB\ Host\ Controller vid:05ac pid:820f path:10/1/1/1 speed:full family:vendor,other,wireless,bluetooth
Jun 16 16:05:43.283: vmx| USB: Found device name:Apple\ IR\ Receiver vid:05ac pid:8242 path:13/5/1 speed:low family:hid
Jun 16 16:05:43.283: vmx| USB: Found device name:TransDimension-NH\ ONBOARD\ USB vid:1443 pid:0005 path:13/15/1/1/4 speed:high family:vendor
Jun 16 16:05:43.284: vmx| VMXVmdbLoadUsbDevices: New set of 4 USB devices
Jun 16 16:05:43.284: vmx| USB: Found device name:Standard\ Flash\ Card\ Reader vid:0424 pid:2228 path:13/15/1/1/1 speed:high family:storage
Jun 16 16:05:43.284: vmx| USB: Found device name:Apple\ Built-in\ iSight vid:05ac pid:8502 path:13/15/4 speed:high family:vendor,other,video
Jun 16 16:05:43.284: vmx| USB: Found device name:Apple\ Bluetooth\ USB\ Host\ Controller vid:05ac pid:820f path:10/1/1/1 speed:full family:vendor,other,wireless,bluetooth
Jun 16 16:05:43.284: vmx| USB: Found device name:Apple\ IR\ Receiver vid:05ac pid:8242 path:13/5/1 speed:low family:hid
Jun 16 16:05:43.301: vmx| VMXVmdbLoadUsbDevices: New set of 5 USB devices
Jun 16 16:05:43.301: vmx| USB: Found device name:Standard\ Flash\ Card\ Reader vid:0424 pid:2228 path:13/15/1/1/1 speed:high family:storage
Jun 16 16:05:43.302: vmx| USB: Found device name:Apple\ Built-in\ iSight vid:05ac pid:8502 path:13/15/4 speed:high family:vendor,other,video
Jun 16 16:05:43.302: vmx| USB: Found device name:Apple\ Bluetooth\ USB\ Host\ Controller vid:05ac pid:820f path:10/1/1/1 speed:full family:vendor,other,wireless,bluetooth
Jun 16 16:05:43.302: vmx| USB: Found device name:Apple\ IR\ Receiver vid:05ac pid:8242 path:13/5/1 speed:low family:hid
Jun 16 16:05:43.302: vmx| USB: Found device name:TransDimension-NH\ USB\ Device vid:1443 pid:0005 path:13/15/1/1/4 speed:high family:vendor

Incompatible Board (BASYS2)
Jun 16 16:02:54.258: vmx| USB: Connecting device 0xfd1121014430007
Jun 16 16:02:54.469: vmx| USBG: CONNREQ: Dequeued head request after 211 ms for name:TransDimension-NH\ Digilent\ USB\ Device͐Digilent\ USB\ Device vid:1443 pid:0007 path:13/15/1/1/2/1 speed:full family:other
Jun 16 16:02:54.475: vmx| USB: Adding autoconnect pattern path:13/15/1/1/2/1 autoclean:1 in slot 0
Jun 16 16:02:54.483: vmx| USB: Device name:TransDimension-NH\ Digilent\ USB\ Device͐Digilent\ USB\ Device vid:1443 pid:0007 path:13/15/1/1/2/1 speed:full family:other should already be connected
Jun 16 16:02:54.483: vmx| VMXVmdbLoadUsbDevices: New set of 5 USB devices
Jun 16 16:02:54.483: vmx| USB: Found device name:Standard\ Flash\ Card\ Reader vid:0424 pid:2228 path:13/15/1/1/1 speed:high family:storage
Jun 16 16:02:54.483: vmx| USB: Found device name:Apple\ Built-in\ iSight vid:05ac pid:8502 path:13/15/4 speed:high family:vendor,other,video
Jun 16 16:02:54.483: vmx| USB: Found device name:Apple\ Bluetooth\ USB\ Host\ Controller vid:05ac pid:820f path:10/1/1/1 speed:full family:vendor,other,wireless,bluetooth
Jun 16 16:02:54.483: vmx| USB: Found device name:Apple\ IR\ Receiver vid:05ac pid:8242 path:13/5/1 speed:low family:hid
Jun 16 16:02:54.483: vmx| USB: Found device name:TransDimension-NH\ Digilent\ USB\ Device͐Digilent\ USB\ Device vid:1443 pid:0007 path:13/15/1/1/2/1 speed:full family:other
Jun 16 16:03:27.103: vmx| USBGM: Submitting URB to ep 82 without valid pipe
Jun 16 16:03:27.103: vmx| USBGM: Unhandled status ffffffff
Jun 16 16:03:27.103: vmx| USBGM: Submitting URB to ep 1 without valid pipe
Jun 16 16:03:27.103: vmx| USBGM: Unhandled status ffffffff
Jun 16 16:03:27.241: vmx| USBGM: Submitting URB to ep 82 without valid pipe
Jun 16 16:03:27.241: vmx| USBGM: Unhandled status ffffffff
Jun 16 16:03:27.242: vmx| USBGM: Submitting URB to ep 82 without valid pipe
Jun 16 16:03:27.242: vmx| USBGM: Unhandled status ffffffff
Jun 16 16:03:34.893: vmx| USB: Removing autoconnect pattern from slot 0
Jun 16 16:03:34.895: vmx| USB: Disconnecting device 0xfd1121014430007
Jun 16 16:03:34.896: vmx| MachPoll: mach_port_extract_member failed for port 52027 (15)
Jun 16 16:03:35.100: vmx| VMXVmdbLoadUsbDevices: New set of 5 USB devices
Jun 16 16:03:35.100: vmx| USB: Found device name:Standard\ Flash\ Card\ Reader vid:0424 pid:2228 path:13/15/1/1/1 speed:high family:storage
Jun 16 16:03:35.100: vmx| USB: Found device name:Apple\ Built-in\ iSight vid:05ac pid:8502 path:13/15/4 speed:high family:vendor,other,video
Jun 16 16:03:35.100: vmx| USB: Found device name:Apple\ Bluetooth\ USB\ Host\ Controller vid:05ac pid:820f path:10/1/1/1 speed:full family:vendor,other,wireless,bluetooth
Jun 16 16:03:35.100: vmx| USB: Found device name:Apple\ IR\ Receiver vid:05ac pid:8242 path:13/5/1 speed:low family:hid
Jun 16 16:03:35.100: vmx| USB: Found device name:TransDimension-NH\ Digilent\ USB\ Device͐Digilent\ USB\ Device vid:1443 pid:0007 path:13/15/1/1/2/1 speed:full family:other

Other Notes:
I'm not sure the significance of this, but note that in the debugging output, "family" is listed as "vendor" for the compatible board, while it's listed as "other" for the incompatible one.

I hope someone can point me in the right direction.

Again, thanks in advance for any help you can provide.

Scott

Click to view etung's profile Guru 11,086 posts since
Oct 15, 2006
Thank you for the detailed and complete report :) I've filed PR 418321 about this.
Click to view etung's profile Guru 11,086 posts since
Oct 15, 2006
USB gurus would like you to specify this additional .vmx config option in addition to the usb.analyzer.enable = "TRUE":
usb.logging = "scantd scanqh"


They also want to see the entire log. Please attach instead of copy/pasting, the forum software messes up formatting.
Click to view etung's profile Guru 11,086 posts since
Oct 15, 2006
They also want to see the device configuration descriptor from USB Prober (part of the developer tools that are optional installs with OS X)
Click to view etung's profile Guru 11,086 posts since
Oct 15, 2006
Sorry, I think I dropped the ball on updating the bug (but even if I did and the USB experts had been able to immediately diagnose it, it probably still wouldn't have made it into 2.0.5). Can you drop me an email to remind me to update the bug? Stuff can get lost in the forums.
Click to view skot9000's profile Lurker 1 posts since
Oct 7, 2009
Has there been any progress on this bug? I am a Mac user looking to get a Basys board to use with VMWare. thanks!

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities