VMware {code} Community
asheridan
Contributor
Contributor
Jump to solution

Connect/Disconnect USB

Is there an API to connect/disconnect a USB device to/from the guest/host?

I don't see any function definitions for such a use case in the APIs.... but this is "mission critical", so I thought I'd ask.

Can any vmware employees confirm that these do or do not exist?

Reply
0 Kudos
1 Solution

Accepted Solutions
stanguturi
VMware Employee
VMware Employee
Jump to solution

There are no apis avaiable for USB connect/disconnect operation in VIX SDK.

-Thanks

Sankar.

View solution in original post

Reply
0 Kudos
5 Replies
stanguturi
VMware Employee
VMware Employee
Jump to solution

There are no apis avaiable for USB connect/disconnect operation in VIX SDK.

-Thanks

Sankar.

Reply
0 Kudos
asheridan
Contributor
Contributor
Jump to solution

Of course, if there is some other way to automate the USB connect/disconnect out side of the VIX APIs, please let me know.

Reply
0 Kudos
asheridan
Contributor
Contributor
Jump to solution

Sankar: are there any plans to add this functionality to VIX?

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

Are you using VMware Workstation for this?

We can look at this for the next version -- features are still being sorted, so I can't make a promise here.

Could you describe the use case -- i.e. what you're trying to do? It might help with determining if there are other ways of reaching the end goal.

Reply
0 Kudos
asheridan
Contributor
Contributor
Jump to solution

Hi Matt,

My company is a software company that provides middleware for private practice Radiology groups. Specifically, we provide a unified worklist that allows radiologists to read for different facilities (Hospitals or outpatient clinics) which may have incompatible software products. Specifically, the Radiologist may be using a dictation/voice recoginition system for Hospital A but they want to get a contract to read for Hospital B... which already has a different and incompatible voice recoginition system. In order to put both of these systems on the same workstation, we are exploring the use of VMWare Workstation.

There are other use cases for which we are investigating VMWare Workstation: multiple instances of the same image viewer which may connect to different servers, for example.

Ideally, most of these problems could be resolved by changing how the application(s) themselves work (removing incompatibilities). But... this is usually not possible (for many reasons).

In the case of the voice rec systems, we need the ability to programmatically switch the microphone from the Host to the Guest when the radiologist begins dictation for the facility for which the voice rec system has been virtualized.

Hope this helps.

ps: I saw that vmware-cmd has this capability, but my assumption is that there is no way to use vmware-cmd with Workstation. Am I right?

Reply
0 Kudos