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/
Home Products Support Community News


Re: [Xen-devel] Error connecting USB-device to DomU

To: Hans van Zijst <hans@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Error connecting USB-device to DomU
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Tue, 8 Mar 2011 10:44:26 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 08 Mar 2011 07:46:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D6BFFCA.1080306@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4D6BFFCA.1080306@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Mon, Feb 28, 2011 at 09:04:26PM +0100, Hans van Zijst wrote:
> Hi,
> When trying to connect my USB printer to the DomU that has CUPS
> installed, I run into an error:
> Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>
> Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
> Traceback (most recent call last):
>   File "/usr/lib/xen-4.0/bin/xm", line 8, in <module>
>     main.main(sys.argv)
>   File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 3620, in main
>     _, rc = _run_cmd(cmd, cmd_name, args)
>   File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 3644, in _run_cmd
>     return True, cmd(args)
>   File "/usr/lib/xen-4.0/lib/python/xen/xm/main.py", line 2868, in
> xm_usb_attach
>     if vusb_util.bus_is_assigned(bus):
>   File "/usr/lib/xen-4.0/lib/python/xen/util/vusb_util.py", line 275, in
> bus_is_assigned
>     raise UsbDeviceParseError("Can't get assignment status: (%s)." % bus)
> xen.util.vusb_util.UsbDeviceParseError: vusb: Error parsing USB device
> info: Can't get assignment status: (5-2).
> I'm running Xen 4.0.1 on Debian Wheezy, kernel 2.6.32-5-xen-amd64, both
> on Dom0 and the DomU.

I don't think the 2.6.32 has the USB passthrough code in it.

Xen-devel mailing list

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