cezanne / usbip-win

USB/IP for Windows
GNU General Public License v3.0
1.99k stars 350 forks source link

USB 3 SuperSpeed supported? #158

Closed yenchee1970 closed 3 years ago

yenchee1970 commented 4 years ago

USBIP in Linux support SuperSpeed. Does this project support it as well? The best performance I tested between Linux USB server and Windows client is not more than 40MB/s on storage sharing. Is it an issue because of no SuperSpeed support? Thanks.

Oxalin commented 4 years ago

Last time I was working on the code (which is about a year ago, sorry @cezanne for not having been able to continue the work I was doing at the time), it was not supported yet, even though it seemed relativelly simple to add.

cezanne commented 3 years ago

@yenchee1970 : Please try with https://github.com/cezanne/usbip-win/releases/tag/v0.3.5-dev

windowsair commented 3 years ago

@cezanne Hi, My USB 3.0 device is already working properly.😁

However the commands like detach, list, port do not work properly in the dev version of the release page. The latest dev branch doesn't seem to have this problem.

cezanne commented 3 years ago

@windowsair :

Hi, My USB 3.0 device is already working properly.😁

Oh, really? What is your device?

windowsair commented 3 years ago

@windowsair :

Hi, My USB 3.0 device is already working properly.😁

Oh, really? What is your device?

A simple WinUSB device to test whether usbip supports superspeed endpoint. The case bMaxBurst > 0 and usbip stub has not been tested.

I tested it at Sandisk and it works fine.

cezanne commented 3 years ago

@yenchee1970 : I have tested USB 3 stick with v0.3.5 version(works OK for both ude and wdm) even though no bandwidth measurement was done. I'll close this issue. Please reopen if you want.

windowsair commented 3 years ago

Hi, @cezanne : I have a question about usb2.0 and usb3.0.

usb3.0 supports full-duplex communication, while earlier usbip seems to be built on the half-duplex communication of usb2.0 ( for TCP layer).

I have not read the source code in detail, do you have any good ideas? Thanks!

cezanne commented 3 years ago

@windowsair : I have no idea and there's no clue in usbip-win source code.