I'm all Linux at home and trying to get a Win7 running in a VM on CentOS 5.6 and kvm to connect to my iTouch and iPhone.
When I plug the iPhone in and run lsusb I get an address of 05AC:12A0
I put that into a hostdev block in the xml file that defines the VM.
<hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x0781'/> <product id='0x554f'/> </source> </hostdev>
But...no joy.
Anyone get kvm to pass an iTouch or iPhone through to the VM so it can communicate with iTunes?
Dave
On Sat, 2011-12-24 at 17:53 -0500, David McGuffey wrote:
I'm all Linux at home and trying to get a Win7 running in a VM on CentOS 5.6 and kvm to connect to my iTouch and iPhone.
When I plug the iPhone in and run lsusb I get an address of 05AC:12A0
I put that into a hostdev block in the xml file that defines the VM.
<hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x0781'/> <product id='0x554f'/> </source> </hostdev>
But...no joy.
Anyone get kvm to pass an iTouch or iPhone through to the VM so it can communicate with iTunes?
Dave
Closing this out here and moving it to CentOS-virt
BTW, the hostdev block above is incorrect...that is a copy of the block before I replaced the vendor id and product id with the ones from the iPhone. The xml file in /etc/libvirt/qemu is correct, and should work.
I'm thinking this may be a permissions and SELinux issue...the usb device is owned by 'dave' (my CentOS login id), but the VM is owned by kvm (different owner and different SELinux context).
I remember reading a lengthy discussion on how to get kvm to run as as a regular user...will have to go find it.
Dave