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] xen hvm usb problem

To: Erik Lind <zod@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] xen hvm usb problem
From: Dima Tisnek <dimaqq@xxxxxxxxx>
Date: Sun, 9 Oct 2011 15:14:06 +0300
Cc: todaygood@xxxxxxxxx, Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 09 Oct 2011 05:15:35 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=/TjXXZlruzF460tjaSTZ9ncXsJsQlI9ZZ5lpAfiKT1k=; b=AT6BVr9OuQGs5zfcCDKdl10ci0KN3djN88yYKXmgsoefT5qYF+EkO9Tlsu7XR0X+Cb 3QC/DI8SRomXlluLzpJLry2JTiTDOz9MnpXDb03MU8BCSwK2mYGPMW/tdPE96AfxuiQe SR04KeN2E1715mpOQCMMcKhzt5ZOJP4Hwxk40=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E918E0C.5050005@xxxxxxxxxxxxx>
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: <4E90E33B.8010201@xxxxxxxxxxx> <4E90EDD0.9090008@xxxxxxxxx> <CAGGBzXKwHyoayEx7CmYCGbGU35XUR77z6+sR-yyFoFCtsX2SoQ@xxxxxxxxxxxxxx> <4E918E0C.5050005@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
my understanding is that after pvops switch (landing xen in linux
kernel, perhaps coinsides with xen3->xen4?) usbback module is not
implemented, at least in vanilla kernel 3.0.4 or Konrad's git 2.6.xx.

xl tools don't support usb yet either. The easiest to try is to play
with xm tools:

manually unbind usb device from whatever module/driver in dom0 (opt)
xm usb list assignable devices (if not shown, try above)
try xm usb-attach
if you get an error, it basically means your dom0 kernel does not have usbback.

you can also check /proc/config.gz

d.

On 9 October 2011 15:05, Erik Lind <zod@xxxxxxxxxxxxx> wrote:
> Hi
>
> Well normal usb 1.1 passthrough should be supported but it depends on device
>  according to:
> http://wiki.xen.org/xenwiki/XenUSBPassthrough
>
> For pvusb support I guess it is correct that the dom0 kernel has to support
> it and the DomU OS of course.
>
> Perhaps you should try the pvusb passthrough or test with some other usb
> device to see if it is device dependent or not?
>
> /Erik
>
> On 10/09/2011 12:16 PM, Dima Tisnek wrote:
>>
>> it could be that your xen/qemu/dom0 version doesn't support usbback
>> (hiding usb from dom0), that is the case e.g. with xen 4.1.1 and linux
>> 3.0 and dom0
>>
>>
>> On 9 October 2011 03:41, Gmail<todaygood@xxxxxxxxx>  wrote:
>>>
>>> xen hvm
>>>
>>> guest os:  windows xp  or SLES Linux 11
>>>
>>> in dom0 , lsusb can find usb device .
>>> by using  add usbdevice="host:vendorID:productID" in windowsxp.cfg or
>>> sles11.cfg
>>>
>>> 1)in windows xp ,I can't find any usb device
>>> 2)in SLES Linux11 ,can't find any usb device  either.
>>>
>>> What can I do for finding usb device?  Please help me .
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-users
>>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

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