Loading

×Sorry to interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] Uncaught ReferenceError: addCTracking is not defined
Failing descriptor: {markup://c:KM_ArticleThemeLayout}

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Problems using some USB devices in a virtual machine (774)

Last Updated: 4/9/2020Categories: How toTotal Views: 61252Language:
Chinese (Simplified)Portuguese (European)Portuguese (Brazil)JapaneseSpanishEnglish

18 like this article

Subscribe to get an email
newsletter with new updates

18 people found this helpful Please provide article feedback:

Details

You cannot use a specific USB device in my virtual machine.

The guest operating system locks up.

Failure when you plug in a USB device

You see an error message similar to:.

Inappropriate ioctl for device

Solution

These sections describe various problems that can occur when you use USB devices with a virtual machine, and suggest ways to avoid or work around those problems. The last section in this article explains how to file a support request with VMware.

Note: USB devices do not work in a Solaris virtual machine on VMware Server 1.0.

USB 3.0 Devices

For information on USB 3.0 devices, see VMware Workstation 7.x does not detect and connect USB devices attached through USB 3.0 host controller (1025956) and Host and guest OS USB 3.0 and virtual xHCI support with Workstation 9 (2041591)

USB 2.0 Devices

VMware Workstation 6, 7, and 8, VMware Player 2, 3, and 4, and VMware ACE 2 include a virtual EHCI controller that allows guests to fully use USB 2.0 devices. To enable USB 2.0 support for a virtual machine created with older products, you need to:

Open the virtual machine with Workstation.

Upgrade the virtual machine hardware version. For more information, see the Workstation help topic Change the Version of a Virtual Machine.

Add a USB 2.0 controller. For more information, see the Workstation help topic Enable the USB 2.0 Controller for a Virtual Machine.

If you do not want to upgrade the virtual machine, there is a workaround. Try plugging the device into a USB 1.1 host port, or plugging the device into a USB 1.1 hub and then into a USB 2.0 host port. This action forces the transactions between the host and device to be USB 1.1. We suggest this because some USB 2.0 devices can experience problems when they are connected to the host with a USB 2.0 connection. This is due to operating system or driver limitations in passing the USB 2.0 host data to the virtual machine’s USB 1.1 controller. For example, formatting a USB 2.0 flash thumb drive or USB 2.0 hard drive can cause a Windows XP or Windows 2003 guest to fail with a blue screen error.

Troubleshooting USB devices

Follow these steps to troubleshoot a USB devices that does not work properly with your guest:

Read the VMware product documentation on the VMware Web site for information on various types of USB devices and their expected behaviors in a virtual machine:

Workstation

For Workstation 12.x, see the Connecting USB Device to Virtual machine section in the Using VMware Workstation 12 Pro Guide

For Workstation 11.x, see the Connecting USB Device to Virtual machine section in the Using VMware Workstation 11 Guide

For Workstation 10.x, see the Connecting USB Device to Virtual machine section in the Using WMware Workstation 10 Guide

For Workstation 9.x, see the Connecting USB Device to Virtual machine section in the Getting started with VMware Workstation 9

For Workstation 8.x, see the Connecting USB Device to Virtual machine section in the Using VMware Workstation Guide Workstation 8

For Workstation 7.x, see the Connecting USB Device to Virtual machine section in the Using VMware Workstation Guide Workstation 7

For Workstation 6.x, see the Connecting USB Device to Virtual machine section in the Using VMware Workstation Guide Workstation 6

For Workstation 5.5.x, see the Using VMware Workstation Guide Workstation 5.5

For Workstation 5.0.x, see the Using VMware Workstation Guide Workstation 5.0

For Workstation 4.x, see the Using VMware Workstation Guide Workstation 4

For Workstation 3.x, see the Using VMware Workstation Guide Workstation 3

GSX Server

For GSX Server 3.x, see the GSX Server 3.x Administration Guide

For GSX Server 2.5.x, see the GSX Server 2.x User's Manual.

Ensure that your USB device works when you plug it in and use it on the host system. If the USB device is not recognized on the host or does not work properly there, it might not work in a virtual machine, either.

Ensure that the necessary drivers are installed in Windows. For more information, see A connected USB storage device is not displayed in a Windows virtual machine (1004584).

Check whether the device needs to be automatically connected to the virtual machine. Syncing devices (such as PDAs or smart phones) must often connect quickly to the syncing software and so they require USB autoconnect. Before connecting the device or initiating a sync command from the device, ensure that the virtual machine has focus.

Also, try:

Linux hosts: Disable hotplug and unload any kernel modules to improve the results. For related information, see Cannot use USB device in a virtual machine on a RHEL 4 x64 host (1036506).

Windows hosts: The first time the device is autoconnected, the VMware USB driver must load. Leave the syncing device connected while you load the driver, then disconnect and reconnect the device a second time for a quick connection into the virtual machine.

Determine whether the USB device needs extra configuration. Issues can occur because the USB devices do not implement the USB protocol as expected. To resolve this issue, you can use certain quirks in the guest's interactions with the USB device.

To add quirks:

Open the vmware.log file.

Search for the device manufacturer's name. Locate a line similar to:

vmx | USB: Found device [name:Apple\ IR\ Receiver vid:05ac pid:8240 path:13/7/2 speed:full family:hid]

The line has the name of the USB device and its vid and pid information. Make a note of the vid and pid values.

Edit the .vmx file. Add this line to the .vmx file, replacing vid and pid with the values noted in Step 2, each prefixed by the number 0 and the letter x.

usb.quirks.device0 = "0xvid:0xpid skip-reset"

For example, for the Apple device found in step 2, this line is:

usb.quirks.device0 = "0x05ac:0x8240 skip-reset"

Note: For more information on editing the VMX file, see Editing the .vmx file of a VMware Workstation and VMware Player virtual machine (2057902)

Save and close the .vmx file.

Restart the virtual machine and try connecting the device again.

If the issue is not resolved, replace the quirks line added in Step 4 with one of these lines, in the order provided, and repeat Steps 5 to 8:

usb.quirks.device0 = "vid:pid skip-refresh"

usb.quirks.device0 = "vid:pid skip-setconfig"

usb.quirks.device0 = "vid:pid skip-reset, skip-refresh, skip-setconfig"

Notes:

Use one of these lines at a time. If one does not work, replace it with another one in the list. Do not add more than one of these in the .vmx file at a time.

The last line uses all three quirks in combination. Use this only if the other three lines do not work.

Filing a Support Request with VMware

If the issue continues to exist after trying the steps in this article, or if you have found a quirk that works, let us know. We need some specific information from you, so follow this process:

Shut down the virtual machine.

Open your .vmx file for editing again, and add this line:

usb.analyzer.enable = "TRUE"

Note: For more information on editing the VMX file, see Editing the .vmx file of a VMware Workstation and VMware Player virtual machine (2057902)

Edit the virtual machine settings and go to Options > Advanced.

Set Gather debugging information to Full.

Power on your virtual machine.

Connect the USB device to your virtual machine.

Collect the VMware Support Information. For more information, see Collecting diagnostic information for VMware Workstation (1346).

File a support request with VMware Support and quote this Knowledge Base article ID (774) in the problem description. For more information, see Filing a Support Request in Customer Connect (2006985) . Ensure to include this information with your Support Request:

The most recent log file.

A complete description of how the device failed to work in the virtual machine.

The exact make and model of the USB device you are trying to use.

After collecting the support information, set Gather debugging information to None.

Additional Information:

This article applies primarily to VMware Workstation.

For information specific to VMware Fusion, see Troubleshooting USB devices using USB quirks in Fusion (1025256)

To workaround if Ethernet Over USB status is not displayed correctly, see Ethernet Over USB status not displayed correctly from Web Client disabling BMC

For translated versions of this article, see:

Portuguese: Problemas para usar certos dispositivos USB em uma máquina virtual (2016884)

Spanish: Problemas en el uso de ciertos dispositivos USB en una máquina virtual (2016705)

日本語: 仮想マシンで一部の USB デバイスを使用する際の問題 (2078463)

简体中文: 在虚拟机中使用某些 USB 设备时出现的问题 (2040907)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)Portuguese (Brazil)JapaneseSpanishEnglish

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation

VMware Server

VMware GSX Server

VMware ACE

Related Versions:

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant