Comments (8)
Can happen in Restore mode. Have seen this happening on incomplete previous restores, but also sometimes on first time restores. The open source usbmuxd is automatically adding a unique id (usb id), overwriting the last 4 bytes of the fffff* so if two devices are in the same state they will be distinguishable.
from libusbmuxd.
@nikias thanks, but..
on windows we dont use usbmuxd, but the libusbmuxd does what you describes also.
the problem is the for some reason sometime windows and/or its pnp driver or some usbhub hardware driver generates same device instance path (e.g. USB\VID_05AC&PID_12A8\FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF), and this is causing the BSOD..
from libusbmuxd.
it seems both windows7 & iPhone >= 6s "problem".
the iPhone devices when transition from recovery to restore gets this "ffffffffffffffffffffffffffffffffffffffff" udid, and windows7 fails to generate unique device instance path for them.
any clues/thoughts how to overcome this situation?
this bsof is a problem when trying to restore multi devices..
from libusbmuxd.
I just realized that actually libusbmuxd is adapting the device UDID
here: https://github.com/libimobiledevice/libusbmuxd/blob/master/src/libusbmuxd.c#L696
and here: https://github.com/libimobiledevice/libusbmuxd/blob/master/src/libusbmuxd.c#L853
So the only reason why this would fail is when windows somehow has a device handle of -1. Not sure why this would happen though.
from libusbmuxd.
USB\VID_05AC&PID_12A8\FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF as instance ID can only happen with bugged device firmware or driver.
Windows issue query for serial number to USB device (which may or may not be implemented - optional for everything except mass storage). If device responds with unknown/unimplemented command, windows generate "random" identification, but if device responds with value, windows use that value.
i've seen devices (although windows phones, and some chinesse flash drives - mostly fake capacity ones) that responded with weird numbers. although in case of apple udid, i would see it rather as issue with driver, especially if it's exactly 40F - never seen that personaly so far. but without communication capture, one can only guess.
from libusbmuxd.
There's a simple solution: don't use Windows. Apple makes iOS and macOS. Yes, they made iTunes for Windows, but that's not their own platform, so it will never be perfect. They just made it work because so many people use Windows. But except for making it work with a single device, trust me they don't really care about Windows.
The only way to get it fixed is by reporting the issue with the driver to Apple and hope for them to fix it.
from libusbmuxd.
Closing since the bug clearly doesn't originate from libusbmuxd.
from libusbmuxd.
correct, it is a windows issue, there is a problem with some usb (3) drivers that fails to allocate/generate unique device instance path/id.
no problem here with the libusbmuxd.
thanks
from libusbmuxd.
Related Issues (20)
- Compile fail if older version installed HOT 1
- Create new release
- compile on MacOs with Xcode But error:#error No reference implementation for getifaddrs available for this platform.
- I believe a new version is needed or a dependency needs to be changed
- make failed for not found for architecture arm64 HOT 2
- usbmuxd_events_unsubscribe is blocked about 2~3 secs HOT 1
- iproxy erroring with RESULT_CONNREFUSED HOT 1
- recv failed: Resource temporarily unavailable
- Syntax error from ./autogen.sh HOT 1
- Connect just one iOS device.
- libusbmuxd and libimobiledevice-glue built for Windows can lockup on a disconnect HOT 2
- Typo in iproxy.c printf (`connecion` -> `connection`) HOT 1
- Inconsistency between libusbmuxd and libimobiledevice in network structure parsing
- waking up process all the time
- Remove, Reset iProxy Ports HOT 1
- Soname
- usbmuxd_send is broken HOT 1
- socket_create only binds to IPv6 any instead of IPv4 and IPv6 loopback HOT 3
- Fails to build with libplist 2.5.0 HOT 2
- Error connecting to device: Success 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 libusbmuxd.