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] Using USB webcam in domU

To: xen-users@xxxxxxxxxxxxxxxxxxx, kin2031@xxxxxxxxx
Subject: Re: [Xen-users] Using USB webcam in domU
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 2 Jan 2008 18:42:15 +0000
Delivery-date: Wed, 02 Jan 2008 10:43:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <399579.92497.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <399579.92497.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
> Hi guys. After searching for solution online, I found out that there is no
> way to access USB in domU, is that true?

For a PV domU you could use PCI passthrough to make a USB host controller 
accessible to the domU.  This does imply that the domU is as trusted as dom0, 
and all devices on that host controller will belong to that domU.

You can find out what PCI devices you have using "lspci", which will also tell 
you which ones are USB host controllers.

> Any possible solution to enable 
> it? What I need is to input the video from a USB webcam. Thanks.

For an HVM guest, USB passthrough is also possible.  But I'm not sure it works 
for isochronous devices such as webcams yet.  I think I remember that it 
didn't work yet, but I could be wrong.

For the record, under HVM it should be possible to pass individual USB devices 
through from dom0 without making the guest trusted and without dedicating the 
entire controller.  But, as I say, it may not work for webcams yet and I have 
heard varying reports of problems with this feature.

Sorry I couldn't be of more help.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] Using USB webcam in domU, Mark Williamson <=