Comments (7)
@wrenchonline : (1) Yeah, 255 class had not been treated.. But this case can be easily improved. (2) You mentioned IRP_MN_REMOVE_DEVICE happens. Honestly, I have no idea for that case. More thoughts needed?
from usbip-win.
@wrenchonline : (1) Yeah, 255 class had not been treated.. But this case can be easily improved. (2) You mentioned IRP_MN_REMOVE_DEVICE happens. Honestly, I have no idea for that case. More thoughts needed?
After more thought, IRP_MN_REMOVE_DEVICE may be issued by an upper USB class driver. This problem was addressed at #6 (comment) .
from usbip-win.
@wrenchonline : In my opinion, IOCTL_INTERNAL_USB_GET_TOPOLOGY_ADDRESS is not related to device removal. As noted before, I suspect that USB command timeout (500msec) makes PNP manager to issue IRP_MN_REMOVE_DEVICE. By the way, do your logs have any cancellation of an issued IRP ? The reason why i ask is that IRP cancellation is preceded before removing a device.
from usbip-win.
@wrenchonline : If you comment out following lines, vhci cannot handle a real faulty error.
It seems the return STATUS_UNSUCCESSFUL;Is the upper driver issued IRP_MN_REMOVE_DEVICE key!
I finally have realized why IRP cancellation was not found when your device was removed. In your case, IRP actually failed!! Yeah, usbip-win logging is too bad to miss an important event.
I think that dropping STATUS_UNSUCCESSFUL cannot be a desirable solution. How about trying to find the reason why usbip command fails at linux box. Linux kernel logs may provide a useful information.
from usbip-win.
@wrenchonline : Your hub on linux doesn't seem to work correctly. "device descriptor read/64, error -110" is generated by drivers/usb/core/hub.c in linux kernel. -110 error is ETIMEDOUT.
I recommend you to check a physical or virtual hub.
from usbip-win.
@wrenchonline : I'm happy to see your smile. Maybe, returning STATUS_SUCCESS is more reasonable. I 'll check it out more.
from usbip-win.
@wrenchonline : Is your vendor specific class device working correctly if a recent vhci driver is applied ?
from usbip-win.
Related Issues (20)
- UDE client driver loses attached device as soon as device is accessed
- Trying to access a USB device filtered in VirtualBox
- installation guide out of date
- Windows 11 with latest 0.3.6-dev version
- How to sign the Stub driver in production?
- install usbip vhci driver cause a BSOD HOT 2
- how to use usb device that is redirected from server to client HOT 5
- usbip work normally in WLAN? HOT 1
- About debug in VS2019
- USB microphone does not work (does not transmit a signal). USB flash works
- Attaching remote device by VID rather than BUS ID HOT 6
- is it possible to use usbip inside a remote desktop session together with a wacom tablet?
- failed to attach, code:-6 HOT 1
- usbip:error:attacher.exe not found
- Device shows up on client, but stops working after attached HOT 1
- Xbox Wireless Adapter for Windows Attaches but unable to associate controller HOT 11
- python hid.py usbip.py
- Driver signing / Microsoft
- Merge in upstream?
- Confused about the notes on release usbip-win 0.3.6-dev HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usbip-win.