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

[Xen-users] can't passthrough usb devices to domU (Unexpected error: <cl

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] can't passthrough usb devices to domU (Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>)
From: Dieter Bloms <xensource.com@xxxxxxxx>
Date: Tue, 6 Sep 2011 11:59:35 +0200
Delivery-date: Tue, 06 Sep 2011 03:04:31 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=bloms.de; h=date:from:to :subject:message-id:mime-version:content-type; s=selector1; bh=y H0lLZzaCHx7cma3G8Lcn/AFeHU=; b=LHs82z05kk27CM4zJrx/VNX2PpLLxsF6x pTydEwBYHxIRT9pDB0/Wewi53ILQAHPuT3ATUwEtWa91VKbXx9i8IoCyIecaLMMi f+i+SgfOD/528kGUZzhc04OhuypNyUaarM5+vO+KZkfbGEhPa7FLjbli79xPOeaF IIGlOMwOB0kscLE642yCDtZX8JZ+/Xe7c1B5sb1BeEwszQZy3geWEQl/pYH9n07b sbGR40qHFx0A3gDzPgfXVjpe1Vd87RSlACPHc3+BbcQ8J+c4rd6ZJx8suaoUhA36 3ZcGH+JBJ/r7n6XUuZquaYm1LUzVAZI5g48sFV84puUaJZHbGKUOrxi1SMLtAZmE ZQHT3jMq1q1ktmsi1G7x7NjTD3fhhumnsOBO3kgCx6ev22qW0Y68IAoUVhYGXeVx SD7NG0z1IGWwbVYGbecphJTLvaSRAinHKIFMM1WgUxSLQvtyg3+Wd/hVsP3qHK4W WyK71f9etcwqxfVYjq2txuVCK5cpU6T6D5g8LMrGQVBfdXdQRj2HnA41LeJfhjpa 4sdWMJzrVrcYZlVXCz4Lxfm2BJwfVnKzOWLOf4/ectLWCcaHuVy/I3pPR9p9YKAQ 2HArf0QRInSjDRHOC0ILBfgXv4Ns+GRO7bHd/gnx9ncNMu2ixg7PP1Q65SxcS2yw 2cJ1JkfkPI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
Hello,

I try to passthrough an usb 1.1 device (floppy drive) to a domU.
Dom0 and domU are based on opensuse11.4.


I did the follwowing in dom0 

--snip--
xenserver:~ # xm usb-list-assignable-devices
3-1          : ID 0644:0000 TEAC     TEAC FD-05PUB   
3-2          : ID 0644:0000 TEAC     TEAC FD-05PUB   
xenserver:~ # xm usb-hc-create vdrserver 1 2
xenserver:~ # xm usb-list vdrserver
Idx BE  state usb-ver  BE-path                       
0   0   1     USB1.1  /local/domain/0/backend/vusb/23/0  
port 1: 
port 2: 
xenserver:~ # xm usb-attach vdrserver 0 1 3-1
Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 7, in <module>
    main.main(sys.argv)
  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3988, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 4012, in 
_run_cmd
    return True, cmd(args)
  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3057, in 
xm_usb_attach
    if vusb_util.bus_is_assigned(bus):
  File "/usr/lib64/python2.7/site-packages/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: (3-1).
--snip--

does anybody know, where I did a mistake ?


-- 
Best regards

  Dieter Bloms

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] can't passthrough usb devices to domU (Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>), Dieter Bloms <=