Started this over on the main list, but remembered there is a CentOS-virt list also where this would be more appropriate.
At home, I'm all Linux and only run Windows in VMs when I absolutely have to (e.g., TurboTax on Win7 during the tax filing season).
Now I'm trying to get Win7 running in a VM on CentOS 5.6 and kvm to connect to my iTouch and iPhone so I can sync them with iTunes.
When I plug the iPhone in and run lsusb I get an address of 05AC:12A0
Bus 006 Device 001: ID 0000:0000 Bus 007 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 011: ID 05ac:12a0 Apple, Inc. Bus 001 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000
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='0x05AC'/> <product id='0x12A0'/> </source> </hostdev>
But...no joy. Win7 works in all other aspects...just won't connect to a usb device.
Anyone get kvm to pass an iTouch or iPhone through to the VM so it can communicate with iTunes?
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.
Once I clean the host up and back up some data, I'll be migrating to CentOS 6.2. Does that version have more capability to deal with usb pass-through?
Dave
On Sun, 2011-12-25 at 08:19 -0500, David McGuffey wrote:
Started this over on the main list, but remembered there is a CentOS-virt list also where this would be more appropriate.
At home, I'm all Linux and only run Windows in VMs when I absolutely have to (e.g., TurboTax on Win7 during the tax filing season).
Now I'm trying to get Win7 running in a VM on CentOS 5.6 and kvm to connect to my iTouch and iPhone so I can sync them with iTunes.
When I plug the iPhone in and run lsusb I get an address of 05AC:12A0
Bus 006 Device 001: ID 0000:0000 Bus 007 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 011: ID 05ac:12a0 Apple, Inc. Bus 001 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000
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='0x05AC'/> <product id='0x12A0'/> </source> </hostdev>
But...no joy. Win7 works in all other aspects...just won't connect to a usb device.
Anyone get kvm to pass an iTouch or iPhone through to the VM so it can communicate with iTunes?
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.
Once I clean the host up and back up some data, I'll be migrating to CentOS 6.2. Does that version have more capability to deal with usb pass-through?
Dave
bump
Any tips?
Dave