vadimgrn / usbip-win2

USB/IP Client for Windows
GNU General Public License v3.0
469 stars 40 forks source link

Usbip server #63

Open GreatAg opened 8 months ago

GreatAg commented 8 months ago

Hi, Do you have any plan to provide server support for usbip in windows? Thanks

vadimgrn commented 8 months ago

Hi, there is no such plan. I could write it, but I don't have a desire to do that. Maybe I will change my mind in the future.

The direct rival is https://github.com/dorssel/usbipd-win But this project has two major drawbacks

Thus, it makes sense to write a server part of this project (as a driver), but currently I don't have enough time for it.

GreatAg commented 8 months ago

Thanks for quick reply. what about GUI? do you have any plan around it?

vadimgrn commented 8 months ago

GUI will be included in the next release this month.

GreatAg commented 8 months ago

Hi again, i want to know that do you have any plan to support secure connection for this project?

vadimgrn commented 8 months ago

Secure connection is not possible, USBIP protocol does not use it.

GreatAg commented 8 months ago

But tools like usb over network or usb network gate supports secure connection. what is the difference? they are using another protocol?

vadimgrn commented 8 months ago

These proprietary software use its own protocol. USBip is based on this

GreatAg commented 8 months ago

Thanks for your quick reply. Does BSOD problem will be resolved in the next release? and another question is when i installed the usbip-win2.exe does it automatically install wdm and ude drivers?

vadimgrn commented 8 months ago

What BSOD? Read the description of the project, pls.

GreatAg commented 8 months ago

The description said: Is not ready for production use, can cause BSOD!

vadimgrn commented 8 months ago

Every driver can cause BSOD. Just try it with your devices.

vadimgrn commented 8 months ago

WMD https://github.com/vadimgrn/usbip-win2/releases/tag/wdm-0.9.3.4

GreatAg commented 8 months ago

Is the exact release date of the new version known? I am very keen on the GUI.

vadimgrn commented 8 months ago

Try it now https://drive.google.com/file/d/11fBl7tv00tMZhsGdYuuqV14ic94JYBz_/view?usp=drive_link

You are the first real user, it's very interesting to get your feedback about it. I've been working on GUI since December.

GreatAg commented 8 months ago

Thank you for your efforts and sharing the new release with me. I did a preliminary review and here are my thoughts:

  1. When i enter a wrong ip address which doesn't have any usbip client on it the app goes into not responding as follow: Screenshot from 2024-03-13 08-05-36

  2. It would be nicer if the reload button refresh the all devices in all of my servers rather than just reloading the attached devices and only shows them.

  3. I think load and save are useless. What are they used for?

  4. It would be nicer that when i close the app, it runs in the background and the hidden apps shows the app icons.

Another question i have is that the wmd version supports the gui when it published? I will look into it further and keep you posted on my comments. Thanks.

vadimgrn commented 8 months ago
  1. When i enter a wrong ip address which doesn't have any usbip client on it the app goes into not responding as follow:

This is unavoidable because the call to the driver is blocking and cannot be cancelled.

2. It would be nicer if the reload button refresh the all devices in all of my servers rather than just reloading the attached devices and only shows them.

Not sure about that. It allows you to remove all unused devices from the tree. Ctrl+R and Ctrl+L do what you want. Something like 'Refresh' is not required at all, the app updates its state by reading status events from the driver.

3. I think load and save are useless. What are they used for?

They are useful if you use it :) Load will be executed during the app start if you save something, otherwise you must always add devices each time.

4. It would be nicer that when i close the app, it runs in the background and the hidden apps shows the app icons.

Not in this release.

Another question i have is that the wmd version supports the gui when it published?

WDM driver is obsolete and will be completely abandoned after this release.

GreatAg commented 8 months ago

They are useful if you use it :) Load will be executed during the app start if you save something, otherwise you must always add devices each time.

Wow I didn't know that, I tested it and it works, this is a nice idea, Thanks.

WDM driver is obsolete and will be completely abandoned after this release.

Does ude driver is stable and fully functional?

GreatAg commented 8 months ago

Since i install new release, when i attach a webcam to my windows after sometime my windows gets freeze. I didn't see this issue with the current version! is there something wrong with the driver?

vadimgrn commented 8 months ago

There were no changes of the driver since previous release as far as I remember.

GreatAg commented 8 months ago

Ok, i reinstalled it and the problem gone.

GreatAg commented 8 months ago

Hi, what is SDK and how can i use it? does it have any manual?

vadimgrn commented 8 months ago

Look in libusbip headers, all function have documented. Examples of usage are usbip and wusbip projects. Headers are installed into "C:\Program Files\USBip\include\usbip\"