Comments (8)
No, not within usbipd-win
.
Maybe due to the extra delay introduced by the USBIP protocol, some reads arrive close together, and usbmuxd
is not expecting that. For example: reads are requested 40kB per request. For local USB (real hardware) these requests and their replies are spaced apart normally. But due to USBIP some are completed slightly late, such that they arrives close to the next. And maybe usbmuxd then gets 2×40kB in a single read (just example numbers). Just guessing, though.
from usbipd-win.
how would i fix something like that
from usbipd-win.
First, try to see if this is indeed the problem. Make a capture while reproducing, see https://github.com/dorssel/usbipd-win/wiki/Troubleshooting. You can improve the timing (only a bit) by opening task manager and giving the usbipd.exe
service process realtime priority.
from usbipd-win.
Hi Dorssel, I've believe the issue is to do with usbipd on the windows side as ive tested sideloading an app onto the phone from two Linux boxes using usbip and its worked. ive attached the troubleshooting file below.
log.zip
from usbipd-win.
setting the priority didn't fix the issue
from usbipd-win.
Yes, it is because of the packet latency introduced by usbipd
. Linux does everything in the kernel, and therefore has much better timing. usbipd-win
requires user mode software (the drivers themselves do not handle the network USBIP protocol). Therefore, the per packet timing has much more variance. Not really a bug, but unfortunately by design. Your logs show exactly what I meant earlier; the individual packets are not too large (49216 per packet, on line 485 and 489). This is not something that can be fixed.
from usbipd-win.
do you know of any other way to accomplish what I'm trying to do, as this is a brick wall for my project.
from usbipd-win.
You could try to increase the buffer size of usbmuxd
; maybe it's configurable, or else modify the source. From a USB perspective everything seems to be working, it's just that the software on the client cannot handle the timing/bunching of data. Otherwise, I see no options other than to use the device on a native Linux platform instead of forwarding it from Windows.
from usbipd-win.
Related Issues (20)
- Device appears and disappears from list HOT 2
- How to connect WSL2 Ubuntu 22.04 to Windows Joystick HOT 5
- Auto attach is not immediately stopped after exiting the attach loop HOT 2
- Failed to connect ThorLabs HOT 7
- [Question] Use automation dll to attach all devices that are connected+bound but not attached HOT 2
- "Incompatible Hub" when using SEH UTN Manager (network USB hub) HOT 7
- No longer able to access FTDI device in WSL2 HOT 12
- Rebooted from a bug check HOT 4
- can you add manually vendorid and productid of unknown devices? HOT 5
- Trying to restore iPhone from WSL - asyncReadComplete, message was too large HOT 3
- Wix version HOT 3
- how can I have network acess with no translation? HOT 4
- Permissions - solved HOT 2
- Can't connect iPhone to WSL HOT 3
- usb device suddenly works. But why? HOT 2
- problem with USB device reboot loop HOT 37
- NixOS requires other distro to attach HOT 8
- Location is not available | Access is denied| Can't read flash drives HOT 8
- Unable to "attach" usb device through WSL HOT 4
- Trouble connecting sd card reader to work with gparted 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 usbipd-win.