Open nicolasmol opened 2 years ago
Hello there π Thanks for submitting your first issue to the Quickemu project π We'll try and take a look at your issue soon β²
In the meantime you might want to join the Wimpys World Discord π£ where we have a large community of Linux π§ enthusiasts and passionate open source developers π§βπ»
You might also be interested in following Wimpys World Twitch π‘ channel where Wimpy streams let's code video, including this project, several times a week. A back catalog of past live stream and other Linux related content is available on Wimpys World YouTube πΊ channel.
Any progress on that?
It would be good to see a definitive solution for this issue added to the documentation π
@flexiondotorg have you seen that it requires a modification in quickemu script by adding this option : guest-reset=false
This is the only solution that works for me: https://github.com/sickcodes/Docker-OSX/tree/bb1e9929163bc515dd06a68fd92a54f06140dd8d#usbfluxd-iphone-usb---network-style-passthrough-osx-kvm-docker-osx
Hope it'll help someone.
Merci. It works for me :)
Hello,
the solution above doesn't work for me. After I connect the iPhone, I get the message where I can choose "trust the computer" or I "don't trust the computer". I choose trust, but on the macOS Sonoma VM changes nothing. The iPhone is not listed in the finder and is not chooseable in Xcode.
I tried to use spice but not I get the error: usb_redirection error libusb_error_not_found More information here: https://chatgpt.com/share/759bdff2-e230-492e-bc28-04d0498881df
It worked one time and only one time with that solution from chatgpt. I can't reproduce it.
With lsusb I can see, that the iPhone is disconnecting and reconnecting very often. The device number is rising and the error-message, mentioned above, reopens every few seconds. This is because the option in spice "auto redirect newly plugged in USB devices.
This is my config:
guest_os="macos" disk_img="macos-sonoma/disk.qcow2" img="macos-sonoma/RecoveryImage.img" macos_release="sonoma" extra_args="-cpu host -usb -device usb-ehci,id=spiceusb -device usb-host,vendorid=0x05ac,productid=0x12a8" display="spice" cpu_cores=8 ram="8G"
Thanks for the mentioned solution above. I hope to find a solution for this problem and I am thankfull for every anwser.
@SiBurgmaier Yeah, it worked for me only once, so I ended up buying 2018 mac mini instead just to get the initial ios development stages done.
Hi everyone. French here, sorry I'll do my best with English
Manajro (latest) + Gnome, on HP laptop, 3 USB port on the same bus.
It's quite strange because three days before, I installed Quickemu, Mac OS , and I was amazingly surprised that at first run, plugging my Iphone 8 made it instantly recognizes into the VM.
I mean..the goal you know, Xcode, flutter, etc...Why the hell would we need MacOS VM for anything else ? But after hours of investigations I found no solution why it disappeared.
After having struggled with the display mode (*BTW: with default mode, the area into which the mouse can mouve is smaller that the displayed screen) for which I made so many operations until I undertook that the best is to use "gtk" or "spice", it became impossible to get this f*** iphone back into the VM.
Three methods :
No config, gtk display Terminal repeatedly says ...
Host redirection, gtk display with usb_devices=("05ac:12a8")
Terminal repeatedly says ...
I see that I have on my hp popup notifications, like Manjaro is trying the re-hotplug the device. Impossible to find any simple solution to disable the service which as a kind of "fenix" mode...not sure which one, but it sounds to be usbmuxd (https://github.com/libimobiledevice/usbmuxd/issues/110)
spice![image](https://user-images.githubusercontent.com/61077647/167517367-76bcf616-773d-4c54-981b-ba7872de854b.png)
Investigated docs without any success:
Also failed:
And may others...
==> Note also that quitting Spice window doesn't remove the process macos-catalina that has to me manually killed.
[EDIT, 1 day after]
I manage to understand that "my"rules where not in etc/udev/rules.d but in usr/lib/udev/rules.d (who can like linux for this recurrent problem...we never know where are the used files...anyway) So after commenting all rules in 39-usbmux.rules, I face a new dialog box (in spice mode)
Conclusion
At the end some ppl says that it's impossible. Did I dream when I saw the iphone appearing first time ?
Thanks for your help
[FINAL EDIT - SOLUTION FOR DESPERATE PPL who like me spent 48h finding the fix]
ALTHOUGH I'm not sure it will work in "headless mode" (which is the goal) since it may be using "spice" ??? Keep going...
NOTE: no solution found for "spice mode"
In either etc/udev/rules.d or usr/lib/udev/rules.d find a file named something like ??-usbmuxd.rules
Comments the following lines (adding a #)
Initialize iOS devices into "deactivated" USB configuration state and activate usbmuxd
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ACTION=="add", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}="0", OWNER="usbmux", ENV{SYSTEMD_WANTS}="usbmuxd.service"
Make sure properties don't get lost when bind action is called
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ACTION=="bind", ENV{USBMUX_SUPPORTED}="1", OWNER="usbmux", ENV{SYSTEMD_WANTS}="usbmuxd.service"
Exit usbmuxd when the last device is removed
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ACTION=="remove", RUN+="/usr/sbin/usbmuxd -x"
guest_os="macos" disk_img="macos-catalina/disk.qcow2" img="macos-catalina/RecoveryImage.img" macos_release="catalina" display="gtk" usb_devices=("05ac:12a8")