Comments (30)
@zhLoser01 : The error(0x103, ERROR_NO_MORE_ITEMS) in your screenshot may indicate that your system has a more specific driver than usbip_stub.sys in a temporarily generated inf. Take a look at UpdateDriverForPlugAndPlayDevices API in msdn. According to the document, the following code may require additional INSTALLFLAG_FORCE flag. Can you try?
https://github.com/cezuni/usbip-win/blob/f87ff13c0bef32062a016d6e6d0a3b8f3619ce56/userspace/lib/usbip_stub.c#L176
from usbip-win.
from usbip-win.
@zhLoser01 : modify the source as follows:
"INSTALLFLAG_NONINTERACTIVE" -> "INSTALLFLAG_NONINTERACTIVE | INSTALLFLAG_FORCE"
from usbip-win.
from usbip-win.
error 103
from usbip-win.
@zhLoser01 : Which drivers are currently loaded for the DataTraveler G4 device ? You can manually replace the driver with an usbip stub driver via device manager.
from usbip-win.
from usbip-win.
I have manually updated the driver
from usbip-win.
@zhLoser01 : If you can update the driver manually, there's no reason to fail with usbip bind. Can you try with usbip bind again after removing the device?
from usbip-win.
@zhLoser01 : I recommend you to build usbip.exe with no INSTALLFLAG_NONINTERACTIVE. If that flag is dropped, some useful window may appear.
from usbip-win.
This file is generated by you, how can I generate it?
from usbip-win.
@zhLoser01 : It's a template file for a stub driver inf. You can get it from source tree or release page.
from usbip-win.
Yes, I use the source code you posted, but you are 64-bit, my server is 32-bit.
from usbip-win.
@zhLoser01 : Well, usbip-win is not ready for 32bit. But you can easily edit the file for 32bit. Maybe all most things to do is to replace amd64 -> x86 ??
from usbip-win.
Yes, I am compiling with x86, the compiler can pass, but I don't know why the binding failed. The error code is 103.
from usbip-win.
@zhLoser01 : usbip_stub.inx should be properly modified for 32bit(x86). Did you edit that file?
from usbip-win.
no
from usbip-win.
no
You should. If you have trouble for editing, I'll do that later..
from usbip-win.
I don't know how to compile this file.
from usbip-win.
@zhLoser01 : usbip_stub.inx is just a simple text file. usbip.exe reads that file and automatically generates a stub driver installation file(inf). No need to compile.
from usbip-win.
Ok, compiling this usbip_stub with x86 is also successful.
from usbip-win.
I commented out this paragraph. Is this a hint that the binding is successful?
from usbip-win.
@zhLoser01 : No, it's not working. You just need a modified usbip_stub.inx for 32bit.
from usbip-win.
I don't know how to change this to 32-bit.
from usbip-win.
@zhLoser01 : I'm not sure but all you have to do is to replace amd64 with x86 for usbip_stub.inx file. Here is good reference.
from usbip-win.
So, this usbip_stub.inx file needs to be written manually, it is not automatically generated?
from usbip-win.
@cezuni What is the cause of this error?
from usbip-win.
So, this usbip_stub.inx file needs to be written manually, it is not automatically generated?
No, it's not automatically generated. You can edit the file manually.
The server screenshot tells that the 1-71 device is not correctly bound to a usbip stub. Please retry after you edits the usbip_stub.inx.
Here is a modified usbip_stub.inx for x86, which is not tested because I have no x86 test machine.
from usbip-win.
The server uses 32 bits and the client uses 64 bits. This seems to be no good
from usbip-win.
@zhLoser01 : Close too old issue.
from usbip-win.
Related Issues (20)
- 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
- Unable to Bind More Than 12 USB Devices Using USB IP Solution
- Device from Linux server on Windows client disconnects after 3 seconds
- USBIP error on attach with: usbip: error: failed to attach on client and usbipd: info: request 0x8003(5): failed on server
- Camera issues HOT 3
- Device is "Unstably bound"
- UDE Driver conflicts with Parsec's Virtual USB device driver
- swiotlb buffer is full (sz: 524288 bytes), total 32768 (slots), used 4 (slots)
- connected device is not realy connected (W11 / 24H2)
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.