Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect iphone via usb to sosumi/qemu

Tags:

qemu

ubuntu

kvm

usb

I am struggling to find a way to connect my iPhone to my ubuntu 20.04.

I installed macOS via sosumi and at launch file, I added this line:

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

from lsusb I got this:

Bus 001 Device 009: ID 05ac:12a8 Apple, Inc. iPhone5/5C/5S/6

I also did:

sudo chmod a+w /dev/bus/usb/001/009

Also, I have given access to raw-usb.

Whats is happening is that my ubuntu recognizes the iPhone and tries to connect. I am suspecting that ubuntu is stealing the USB connection from sosumi. Any thoughts will be much appreciated.

like image 680
Iraklis Bekiaris Avatar asked Sep 02 '25 01:09

Iraklis Bekiaris


1 Answers

Ok, after 3 hours of searching i was able to find a solution.

I am referencing to two links

  • explaining the reason why it is happening
  • other person with same problem

the line that did the trick was this one:

-device usb-host,vendorid=0x05ac,productid=0x12a8,guest-reset=false,id=iphone \
like image 85
Iraklis Bekiaris Avatar answered Sep 04 '25 18:09

Iraklis Bekiaris