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] Access to USB devices

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Access to USB devices
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Sat, 2 Apr 2005 14:16:44 +0100
Cc: xen@xxxxxxxxxxx
Delivery-date: Sun, 03 Apr 2005 13:16:26 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050403104331.GA20839@taxus>
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: <20050403104331.GA20839@taxus>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
> However, this domain needs access to several hot-plug USB devices, like
> a photo-camera (gphoto2), a USB-storage-stick and a scanner.

OK, several ways you might like to try:
* export the USB stick (and the camera, if possible) as VBDs from dom0
* export the devices using networked solutions (e.g. NFS / NBD for the storage 
devices, something else must be available for the scanner), as you would for 
multiple machines
* try the PCI virtualisation stuff in the stable tree and give the USB 
controller device to the domain for direct control
* try the USB virtualisation stuff in the unstable tree and give the domain 
control of the appropriate host USB ports

Cheers,
Mark

> Dom0 gets all access to these devices, but from another domain (with the
> same full-privileged kernel) I can't see or use these devices.
> The Debian hotplug startscripts say this:
>
> bad PCI agent invocation
>
> What's going wrong and how can I allow another domain to use USB
> devices? If possible, with access to only _these_ devices?
>
> Thanks very much, Arie Kraai
>
> _______________________________________________
> 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

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