VMware Communities > VMTN > Desktop Products > VMware Fusion (for the Mac) > Discussions

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
Reply

USB Device Incompatibility/Incomplete Connectivity?

Jun 16, 2009 5:40 PM

Click to view digitalscott's profile Novice digitalscott 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

Reply Re: USB Device Incompatibility/Incomplete Connectivity? Jun 17, 2009 5:11 PM
Click to view etung's profile Guru etung 11,030 posts since
Oct 15, 2006
VMware
Thank you for the detailed and complete report :) I've filed PR 418321 about this.
Reply Re: USB Device Incompatibility/Incomplete Connectivity? Jun 17, 2009 11:49 PM
in response to: etung
Click to view digitalscott's profile Novice digitalscott 5 posts since
Jun 16, 2009
Thank you for looking into this problem for me. I'll keep an eye out for any contact from VMware for additional information or a solution.

If there's any additional information you need from me, just let me know.

Thanks again,

Scott
Reply Re: USB Device Incompatibility/Incomplete Connectivity? Jun 18, 2009 10:51 AM
in response to: digitalscott
Click to view etung's profile Guru etung 11,030 posts since
Oct 15, 2006
VMware
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.
Reply Re: USB Device Incompatibility/Incomplete Connectivity? Jun 18, 2009 10:55 AM
in response to: digitalscott
Click to view etung's profile Guru etung 11,030 posts since
Oct 15, 2006
VMware
They also want to see the device configuration descriptor from USB Prober (part of the developer tools that are optional installs with OS X)
Reply Re: USB Device Incompatibility/Incomplete Connectivity? Jun 19, 2009 5:27 PM
in response to: etung
Click to view digitalscott's profile Novice digitalscott 5 posts since
Jun 16, 2009
Hi,

I've attached two vmware.log files, one for the compatible board (NEXYS2) and one for the incompatible board (BASYS2) -- I thought having two logs to compare might be helpful. I generated the logs (using the same process for both boards) by:

1. Adding both usb.analyzer.enable = "TRUE" and usb.logging = "scantd scanqh" to the .vmx file for the XP virtual machine.
2. Starting the virtual machine with the USB cable to the board disconnected.
3. Connecting the board's USB cable.
4. Enabling the VM's USB connection to the board (I previously disabled auto-connection of USB devices).
5. Launching version 2.0 of the Digilent Inc. Adept suite, and letting it attempt to initialize the FPGA and PROM on the board. I should note that even for the incompatible BASYS2 board, Adept does manage to identify that the BASYS2 is connected -- it simply fails to communicate further with the board.
6. Closing Adept.
7. Disabling the VM's USB connection to the board.
8. Disconnecting the board's USB cable.
9. Shutting down the virtual machine.

Thanks,

Scott
Attachments:
Reply Re: USB Device Incompatibility/Incomplete Connectivity? Jun 19, 2009 5:30 PM
in response to: etung
Click to view digitalscott's profile Novice digitalscott 5 posts since
Jun 16, 2009
Hi,

I've attached the device descriptor output from the USB Prober, as requested. The output contains all device descriptor entries (for the entire laptop), and not just the board itself. As before, I've provided output for both the functional NEXYS2 board (listed as "ONBOARD USB" in the USB Prober output) and the incompatible BASYS2 board (listed as "Digilent USB Device\u0350Digilent USB Device" in the USB Prober output).

If you need any additional information, please let me know.

Thanks again,

Scott
Attachments:
Reply Re: USB Device Incompatibility/Incomplete Connectivity? Jun 25, 2009 10:28 PM
in response to: digitalscott
Click to view digitalscott's profile Novice digitalscott 5 posts since
Jun 16, 2009
Hi,

I just downloaded and installed VMware Fusion 2.0.5 (173382), and while the Release Notes reportedly note the new release "Contains fixes for more than 80 bugs", my problem has not been resolved.

While I realize VMware cannot comment on future releases, could someone from VMware please give me an update on a resolution to my problem?

Thanks,

Scott
Reply Re: USB Device Incompatibility/Incomplete Connectivity? Jun 26, 2009 12:06 AM
in response to: digitalscott
Click to view etung's profile Guru etung 11,030 posts since
Oct 15, 2006
VMware
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.
Reply Re: USB Device Incompatibility/Incomplete Connectivity? Oct 7, 2009 1:15 PM
in response to: etung
Click to view skot9000's profile Lurker skot9000 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!
Actions