
On Tue, Jun 12, 2012 at 02:00:34PM -0700, Dale Amon wrote:
On Tue, Jun 12, 2012 at 02:09:12PM -0600, Dax Kelson wrote:
On Tue, 2012-06-12 at 11:02 -0700, Dale Amon wrote:
I tunneled the USB device to it:
<hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x055f'/> <product id='0x040b'/> <address bus='3' device='8'/> </source> <alias name='hostdev0'/> </hostdev>
I could be wrong. But I believe you want managed='yes' so that libvirtd detaches the device from the host automatically.
Seemed like a good idea and it may have done some good, but if I disconnect the USB connector to the scanner and then reconnect it, an lsusb in the VM does not see it again. I have to reboot the VM to get it back.