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 17:35:19 +0300
Cc: todaygood@xxxxxxxxx, Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 09 Oct 2011 07:36:43 -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=Y/CGKXtlLSQIv9MgKgK+6d/y4ZLT4rEatvV5w+6nerQ=; b=ADnhAI1lETJTPEsZ2TKwg/vmXSOJqmqCqJfryTRIKz7iV/C+WYWQ0JmDAJ+qiN4c+y 0Z1xGh+5eoPYY07kqURaCco5SViKD0OyVSj2wyWybdfoLWwxUe5jk/FBV+vEcxzERjDo R5vsfNNGAgjVHqZwu6y62mNZDk81eGZ1b2fro=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E9199F4.9050005@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> <CAGGBzXLqLUs0ajGZFVpsuuLW+YhcS_+3j4KdagP_BBqiYnttVw@xxxxxxxxxxxxxx> <4E9199F4.9050005@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
That's very good to hear, I didn't try kernel 3.1rc as kernel.org
downloads are still down, I guess usbback must have landed and works
;-)

On 9 October 2011 15:56, Erik Lind <zod@xxxxxxxxxxxxx> wrote:
> That may or may not be correct, I do not know. However I do know that I have
> successfully done usb passthrough from 3.1-rc3 kernel (Dom0) to a windows 7
> DomU, without any patches which I guess mean that the legacy passthrough
> option work?
> (It is possible using the xl tool chain as well either in the config file or
> in the console (not not from the normal cli))
>
> /Erik
>
>
> On 10/09/2011 02:14 PM, Dima Tisnek wrote:
>>
>> 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