From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gordan Bobic Subject: Re: usbdevice option and specifying a specific device Date: Mon, 29 Jul 2013 21:01:42 +0100 Message-ID: <51F6CA26.6060000@bobich.net> References: <51F6BFDD.8070500@bobich.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51F6BFDD.8070500@bobich.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 07/29/2013 08:17 PM, Gordan Bobic wrote: > I'm trying to use usbdevice option in the config file (instead of > passing USB PCI devices), and the documentation says to specify the > device in the form host:xxxx:yyyy where xxxx:yyyy is the USB > vendor:device ID. > > Except there is a problem with this - I have two identical keyboards and > mice, one set of which I want to pass to the host, and the other set > which I want to pass to the guest. Since the xxxx:yyyy will be the same > for both devices of each type, how can I deterministically specify which > I want to keep on the host and which I want to pass to the guest? > > Is there a way to use something like BusID:DeviceID instead in order to > provide a more deterministic outcome? On a related note, the first device gets passed through successfully, but the second fails with a warning in qemu-dm log: Warning: could not add USB device host:1532:002f My usbdevice list is: usbdevice = [ 'host:045e:00dd', 'host:1532:002f' ] I cannot see anything more explanator in any of the other logs - what should I be looking for? Gordan