cezanne / usbip-win

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

UDE client driver loses attached device as soon as device is accessed #339

Open jin-1-2-3 opened 1 year ago

jin-1-2-3 commented 1 year ago

Setup: My setup uses linux on the server side (tried ubuntu desktop, ubuntu server, and arch linux; various versions) using linux usbipd, and usbip-win on the client side (tried Windows 10 21h2, Windows 10 22h2, and Windows 11 22h2). I used usbip-win 0.3.6 pre-built binaries from "Releases".

Problem: With usbip-win version 0.3.6's UDE driver, the device (tried webcam and sd card reader) could be successfully attached, and USBDeview shows it. However as soon as a program tries to use the device it gets detached. In the case of webcam, opening the Camera app would detach it; for the card reader, as soon as the drive letter shows up it detaches. At the exact same time, the linux (server-side) console shows an error message:

For the webcam: usbip-host 1-1: submit_urb error, -90

For the card reader: usbip-host 2-1: submit_urb error, -53

Also wanted to mention that the "manual installation" instructions for the UDE driver couldn't work. In the step where I'm supposed to "Click on the usbip-win VHCI(ude), and then click Next", instead of a list, I received an error msg stating there was no device drivers in the directory. Please let me know what I may be missing.

Thank you.