Description
Hi. Thanks for a great tool!
I have a need to automatically bind and unbind devices on the Windows client as they are bound/unbound on the server. This seems related to this other issue: #160
In my case, the intention is to make a Linux usbip server's USB port "available" to a Windows client. On Linux, it is fairly straightforward to automate binding and unbinding the device as it is plugged in using appropriate udev
rules that match the bus/port in question. However, it is still necessary to manually execute the bind
/unbind
commands on the Windows client. Ideally, the Windows client would poll periodically for any new/removed devices, and execute the bind
/unbind
operations automatically.
This could perhaps be enabled by adding an auto -i seconds -r target
option that polls the specified server for any changes. This could perhaps be implemented using a Powershell script, but unfortunately, the output of usbip list
is not the easiest to parse. It seems to me that it would make more sense to implement this within the usbip
program itself?