Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iphone6 Hardware USB port #447

Open
luan-nvg opened this issue Apr 26, 2021 · 8 comments
Open

Iphone6 Hardware USB port #447

luan-nvg opened this issue Apr 26, 2021 · 8 comments

Comments

@luan-nvg
Copy link

Hello, I am facing a problem to which I have an Iphone6 ​​that is recognized in Linux, but not in the virtualization of the Mac.

tentei seguir como o link menciona mas infelizmente não obtive sucesso: https://www.reddit.com/r/hackintosh/comments/f31wx0/macos_on_kvm_and_xcode_and_iphone_usb_passthrough/fm7k960/?utm_source=share&utm_medium=web2x&context=3

for usb_ctrl in $(find /sys/bus/usb/devices/usb* -maxdepth 0 -type l) do pci_path="$(dirname "$(realpath "${usb_ctrl}")")" echo "Bus $(cat "${usb_ctrl}/busnum") --> $(basename $pci_path) (IOMMU group $(basename $(realpath $pci_path/iommu_group)))" lsusb -s "$(cat "${usb_ctrl}/busnum"):" echo done

``
Bus 1 --> 0000:00:14.0
(IOMMU group iommu_group)
Bus 001 Device 005: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical Mouse
Bus 001 Device 004: ID 2a7a:6a18 CASUE CASUE USB Keyboard
Bus 001 Device 003: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC
Bus 001 Device 002: ID 05ac:12a8 Apple, Inc. iPhone5/5C/5S/6
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 2 --> 0000:00:14.0
(IOMMU group iommu_group)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 3 --> 0000:01:00.2
(IOMMU group iommu_group)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 4 --> 0000:01:00.2
(IOMMU group iommu_group)
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
``

my answer is different from the suggested link, what should I do? I'm using basic.sh

@luan-nvg
Copy link
Author

I Tried: -usb -device usb-host,productid=0x12a8,vendorid=0x05ac \

qemu-system-x86_64: libusb_set_configuration: -6 [BUSY]
libusb: error [udev_hotplug_event] ignoring udev action bind
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/048: Dispositivo inexistente
libusb: error [udev_hotplug_event] ignoring udev action bind
libusb: error [udev_hotplug_event] ignoring udev action bind
libusb: error [_open_sysfs_attr] open /sys/bus/usb/devices/1-6/bConfigurationValue failed ret=-1 errno=2
libusb: error [_get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/050: Arquivo ou diretório inexistente
libusb: error [udev_hotplug_event] ignoring udev action bind
libusb: error [udev_hotplug_event] ignoring udev action bind
libusb: error [_open_sysfs_attr] open /sys/bus/usb/devices/1-6/bConfigurationValue failed ret=-1 errno=2
libusb: error [_get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/052: Arquivo ou diretório inexistente
libusb: error [udev_hotplug_event] ignoring udev action bind

@luan-nvg
Copy link
Author

was disconnecting, I put this command "guest-reset = false" and stopped, but the Iphone does not appear

follow the code so far: -usb -device usb-host,productid=0x12a8,vendorid=0x05ac,guest-reset=false \

@luan-nvg
Copy link
Author

qemu-system-x86_64: libusb_set_configuration: -6 [BUSY]

@luan-nvg
Copy link
Author

qemu works pendriver, but iphone does not?????

I'm desperate !!

@rodrigo7331
Copy link

Conseguiu meu querido ?

@luan-nvg
Copy link
Author

Conseguiu meu querido ?

Ainda não

@Joseph-Hui
Copy link

Joseph-Hui commented Jun 24, 2021

You need to passthrough a PCIe USB card for sole use by MacOS.

@luan-nvg
Copy link
Author

You need to passthrough a PCIe USB card for sole use by MacOS.

if I buy a card like this, do I need to mess with some configuration of the gemu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants