VMware Virtual machine does not recognize USB key on Mac system perfect solution

Source: Internet
Author: User

The recent use of the computer when the need to use encryption lock, is a usbkey, but found that under the VMware virtual machine, the USB device does not appear in the list of USB devices, and can not be connected through the virtual machine, resulting in the virtual machine under the Windows, there is no such device , helpless through bootcamp to start Windows system, can identify this device and can be used normally, and in the system information under the MAC system can also see the information of this device, indicating that the device is no problem, it should be the problem of VMware.

Process:

Find information on the Internet, found that there are many said "NET Silver" USB key also has similar posts, but no one is resolved the post, tried for a few days without fruit.

But the friend's PD virtual machine doesn't have that problem, usbkey equipment can be normal under the virtual machine to identify, because of the early use of VMware, have feelings, has been bragging about the "best virtual machine" I, unwilling to give up VMware (almost to install PD), so dive down to find English information, the results found ..., these questions directly in VMware's troubleshooting lie inside, actually did not have a Chinese post to explain these questions, I do not know that is not the first one.

Results:

Depending on the content of VMware's troubleshooting, this issue is successfully addressed, as follows:

The first step is to open VMware and find the window-> virtual machine repository on the top menu bar

In the list to find the virtual machine to solve the problem, I was directly bootcamp to do the virtual machine, so check the bootcamp, and then right button.

Click "Show in Finder", in fact, this can be by holding down the option button, directly appear edit function options, but hold option when I can't screenshot, so write a full tutorial, if you hold down option, you can go directly to the editing steps, The steps to find a file can be omitted.

Right-click the virtual machine file in the Finder and select Show Package content.

Then locate the Vmx file:

Select Open With text edit

Add a row to a file

Usb.generic.allowHID = "TRUE"

This is the editing process, pay attention to the English quotes, you can directly copy the line I wrote here:

Save the exit, exit VMware, restart the virtual machine, the original USB device, it should now appear in the VMware USB list, select the device to connect to.

Success appears usbkey, end of tutorial.

Principle and Note:

What is the purpose of this line setting, and why does it have the usbkey to do so, and how does this affect the system? I'll answer them all, so that we don't worry.

First, the keyboard and touchpad of the Apple notebook, in fact, is also a USB device, but it is connected through the internal line, we do not see the USB interface, in fact, for the system, are unified according to the USB device to identify and use, their type is HID devices (can be considered a kind of USB devices), HID is the English abbreviation of the Human body learning input device, VMware's default setting is not to put HID devices in the list of USB devices, otherwise if the user accidentally connected to a HID device, if the keyboard or touchpad, the MAC system will not use these devices, can only be used in the virtual machine , I haven't tried, do not know the power button is also useful not, and in general, the signal of these devices will also be passed through the MAC system to the virtual machine, and do not need to exclusive USB connection, so for various reasons, HID devices will not appear in the VMware USB device list.

Unfortunately, our usbkey is considered a HID device, so it will not appear in the VMware USB device list, causing the virtual machine to choose to connect to the device.

The above line of code means to have VMware display all USB devices, do not shield hid devices, so Usbkey appears. However, look at the following figure:

Next to what I've just said about Apple's built-in keyboard/touchpad device, if you choose to connect this, then the keyboard and touchpad under the Mac will not work, but do not worry, the virtual machine, these devices will be released to the Mac, but before shutting down, it is impossible to switch to the Mac to use these devices, And when you choose to connect HID devices, VMware prompts you to confirm (although this warning can be canceled, but not recommended), so it is generally not possible to make a mistake about which device to connect to.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.