Quantcast
Channel: VMware Communities : All Content - Workstation Pro
Viewing all articles
Browse latest Browse all 18268

Problems with USB devices persistantly auto-connecting.

$
0
0

Hi,

 

I've recently migrated to a new laptop and am having issues with USB devices automatically connecting to my guest.

 

I'm running VMWare Workstation 9 and the guest is WinXP Pro SP3 which has been copied from my old laptop.

 

I've checked under the VM > Settings menu, then USB Controller to make sure the "Automatically connect new USB devices" option is unchecked.

 

In my .VMX file, I have usb.generic.autoconnect = "FALSE", and usb.autoConnect.device0 = "path:1/0/0/1 autoclean:1".

 

I remove the usb.autoConnect.device0 = "path:1/0/0/1 autoclean:1" line, and boot up my VM.

 

Upon first insertion of the USB device, it does not auto-connect - I must connect it manually.

 

However, every subsequent connection of the same USB device will automatically connect and give me a driver error message. I have to disconnect the device from the guest, and reconnect it for it to function correctly.

 

What I find strange is that the usb.autoConnect.device0 = "path:1/0/0/1 autoclean:1" line is automatically added to my .VMX file after the second connection of the USB device.

 

If I shut down the VM, remove the usb.autoConnect.device0 = "path:1/0/0/1 autoclean:1" line, it will reappear after the second connection of the USB device.

 

Here's an excerpt from my logs.

 

2013-04-16T14:52:46.625+10:00| vmx| I120: USB: Found device [name:Rockwell\ Automation\ 2080-LC30 vid:14c0 pid:0001 path:1/0/0/1 speed:full family:vendor instanceId:USB\\VID_14C0&PID_0001\\281F544000 serialnum:281F544000 disconnected:1 arbRuntimeKey:18 version:2]
2013-04-16T14:52:46.625+10:00| vmx| I120: USB: Autoconnecting device "Rockwell Automation 2080-LC30" matching pattern [path:1/0/0/1 autoclean:1 virtPath:usb.autoConnect.device0 version:2] prefer usb

 

How can I make sure that my VM does not ever automatically connect USB devices? It seems to be over-riding my preferences.

 

I've attached my logs and VMX file.

 

Thanks in advance for any help.


Viewing all articles
Browse latest Browse all 18268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>