VMware Communities
jasati
Contributor
Contributor
Jump to solution

USB devices are not automaticaly claim by VM for guest OS

host : ubuntu 7.04, kernel 2.6.20-16-386

guest : WXP, version 2002, SP 2

When I unplug an USB device and replug it right after, having the focus on the guest operating system, the VM doesn't automaticaly connect the USB device to the guest. The option enabling such a feature is set.

Moreover, I would like to know if it is possible to "pin" a selected device to a guest operating system. In other word, I would like the VM to claim the device for the guest OS each time I connect it. If such a possibility exist, what do I have to do to activate it ?

Thanks for your help.

Regards.

Reply
0 Kudos
1 Solution

Accepted Solutions
RDPetruska
Leadership
Leadership
Jump to solution

See knowledgebase article 1648 for specifying USB devices to always connect to a guest.

View solution in original post

Reply
0 Kudos
4 Replies
RDPetruska
Leadership
Leadership
Jump to solution

See knowledgebase article 1648 for specifying USB devices to always connect to a guest.

Reply
0 Kudos
Neben
VMware Employee
VMware Employee
Jump to solution

https://bugs.launchpad.net/ubuntu/+bug/102634

So, Ubuntu makes /proc/bus/usb/devices a sym link to /proc/bus/usb/.usbfs/devices. Add the following line to your vmx config file (or global /etc/vmware/config since this is a host wide problem) and you autoconnect on focus should start working again:

usb.generic.devfsPath = "/proc/bus/usb/.usbfs"

Reply
0 Kudos
jasati
Contributor
Contributor
Jump to solution

Many thanks to Neben and RDPetruska. The two answers were correct.

The problem was very annoying.

Best regards.

Reply
0 Kudos
Neben
VMware Employee
VMware Employee
Jump to solution

Glad to hear it! Hopefully we can do something to work around this issue in a future release.

Reply
0 Kudos