WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xm usb-add syntax

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xm usb-add syntax
From: Dieter Bloms <xensource.com@xxxxxxxx>
Date: Tue, 18 Jan 2011 08:45:56 +0100
Delivery-date: Mon, 17 Jan 2011 23:47:26 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=bloms.de; h=date:from:to :subject:message-id:references:mime-version:content-type :content-transfer-encoding:in-reply-to; s=selector1; bh=cIQlweXb NG19ehwKjV+VbpzxGCE=; b=ZrOB9G9sUSLcb1VSSz3l+Uz3FJUwSYtf7ZPQN1SV mXjGaam7Fd7zE6qjQ6nIblMy51yw9xguCWdX7FCCQsYK13QkT+Zr/hAmC7X6zQCP ms3LlwrlrpvF4Dhjizu5Xu7iPm5ABruyIt2YcMrSmvmYnN+HokkxPzH7jZ08nbAM 7rNhZjpoOnfs7wOz6PR5Oi4Lda7ZJ6LIRJcdKWXnYNpwBkHKYKNWHjEuo1wVAaoH hwSur/JQk339unvKyuaNiluBDWQzCpJ7+Hs/gOH4KbZzmcfkpVWDrvDNsmCpMUPp nHnlSKT8J5CGnC+pFiacLhBycPChRAzF8nSXEXUsiz421CrPthhaeXcJIRi8esnx 54rf7l6Lhmk18DtuetQdRuac80h/8ITfJLji7Lke38iRJrhIPXYaE2LocXudGIy0 DmT/oyDYlpyBl3cEb2mQVLj/LFvFbiBL1FYJWjy19bSXNzsbCGPUO1Gt+8fPQe6X Nivmnl/jGqJLMWdljRpi2u96sjw7r1JYuz2IPgZ66AyxjyVlkwRBPaFMBCCnewCK 6GK9OndxQKxZ8Y4AjKzYOhCxFignZh/JngiTP5kjlPteLUiZq9CFCv5IfYVZroPW lQM7HYrW8m+KXsvmCWHFtWqdCzgZAIfsH2653DnFRy4wNJwgIx+7G8s1PyYs6xpg wu4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3D03D189-2AE3-4BEC-B76A-0FE88F63C3BA@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <3D03D189-2AE3-4BEC-B76A-0FE88F63C3BA@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
Hi,

On Mon, Jan 17, Brian Krusic wrote:

> Do any of you know what the syntax would be is I wanted to add the first 
> device listed using lsusb on my dom0 to my domU?
>
> lsusb;
>
> Bus 002 Device 004: ID 064f:0bd8 Some-Systems AB ABC/DE
>
> xm usb-add;
>
> Usage: xm usb-add <domain> <[host:bus.addr] [host:vendor_id:product_id]>
>
> Unsure what combo works, other then what doesn't work.

what is the output of "xm usb-list-assignable-devices"

maybe this is what you need:

o first you have to create a host bus adapter like:
  xm usb-hc-create domU 2 2

o and than you can attach an usb-device like:
  xm usb-attach domU 0 1  2-4

where domU is the name of your guest.

You can add this to the domU config file like:

vusb=[ 'usbver=2, num-ports=2, port_1=2-4', ]


-- 
Best regards

  Dieter Bloms

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>