Is it possible to run a script pre/post a client sharing a USB device?
I'm wanting to share an audio device that's normally in use by a Mumble server. It shares ok and works remotely, but even though I've used the "AutoAttachToKernel" setting it leaves the Mumble server dazed and confused.
How can I automatically stop the Mumble server when the audio device is shared, and restart it again then the device is released?
Thanks,
Steven P.
Found it. I think.
No sooner had I posted my question than I found https://www.virtualhere.com/quirks
So pre/post commands are set using onBind and onUnBind in the server's config.ini?
.
Yes
Does the onBind script run
Does the onBind script run before or after the device is grabbed by VH? I want to kill a process on the server before the device disappears.
.
Before