I then had to boot up the vm and then stop libusbmuxd, which was taking control of the device.
I than added 0 = "0x05ac:0x12a8 skip-reset, skip-refresh, skip-setconfig" to the end of the vmx file for the macOS vm where 05ac is the devices' vid and 12a8 is the devices pid, I found this by running lsusb and after ID the string before the colon is the vid and the string after the colon is the pid. The phone is also not mounted through ifuse, as I have used umount to get rid of the mount.Įdit: I have not solved this but have found an alternative by switching to VMWare and following the instructions on the Arch Wiki to use systemd instead of init.d, as prior to that VMWare did not detect any USB devices. When I once more try to redirect the USB I get the same error. I can confirm that process has been killed because when I run the previous command again there are no results.
To fix this error, I ran the command lsusb to determine where the device was connected to and then ran the command sudo fuser /dev/bus/usb/001/043 (that is where the phone was) and than killed the process by running sudo kill PID. I am using virt-manager to run a macOS vm through KVM on my Arch Linux PC and when I plug in my phone and attempt to redirect USB I get the following error.