Hi all, Do any of you know what the syntax would be is I wanted to add the first device listed using lsusb on my dom0 to my domU? lsusb; Bus 002 Device 004: ID 064f:0bd8 Some-Systems AB ABC/DE xm usb-add; Usage: xm usb-add <domain> <[host:bus.addr] [host:vendor_id:product_id]> Unsure what combo works, other then what doesn''t work. - Brian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Mon, Jan 17, Brian Krusic wrote:> Do any of you know what the syntax would be is I wanted to add the first > device listed using lsusb on my dom0 to my domU? > > lsusb; > > Bus 002 Device 004: ID 064f:0bd8 Some-Systems AB ABC/DE > > xm usb-add; > > Usage: xm usb-add <domain> <[host:bus.addr] [host:vendor_id:product_id]> > > Unsure what combo works, other then what doesn''t work.what is the output of "xm usb-list-assignable-devices" maybe this is what you need: o first you have to create a host bus adapter like: xm usb-hc-create domU 2 2 o and than you can attach an usb-device like: xm usb-attach domU 0 1 2-4 where domU is the name of your guest. You can add this to the domU config file like: vusb=[ ''usbver=2, num-ports=2, port_1=2-4'', ] -- 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@lists.xensource.com http://lists.xensource.com/xen-users
Hi Dieter and thanks. I found some docs explaining that on my guest VM, I should run "modprobe xen-hcd" which returns; FATAL: Module xen_hcd not found. The kernel on this PVM is 2.6.18-53. At any rate, after I run the command; xm usb-attach domU 0 1 2-4 I get this; Unexpected error: xen.util.vusb_util.UsbDeviceParseError Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 7, in ? main.main(sys.argv) File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 3620, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 3644, in _run_cmd return True, cmd(args) File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 2868, in xm_usb_attach if vusb_util.bus_is_assigned(bus): File "/usr/lib64/python2.4/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: (2-7). Should I post this to xen-devel? - Brian On Jan 17, 2011, at 11:45 PM, Dieter Bloms wrote:> Hi, > > On Mon, Jan 17, Brian Krusic wrote: > >> Do any of you know what the syntax would be is I wanted to add the >> first >> device listed using lsusb on my dom0 to my domU? >> >> lsusb; >> >> Bus 002 Device 004: ID 064f:0bd8 Some-Systems AB ABC/DE >> >> xm usb-add; >> >> Usage: xm usb-add <domain> <[host:bus.addr] >> [host:vendor_id:product_id]> >> >> Unsure what combo works, other then what doesn''t work. > > what is the output of "xm usb-list-assignable-devices" > > maybe this is what you need: > > o first you have to create a host bus adapter like: > xm usb-hc-create domU 2 2 > > o and than you can attach an usb-device like: > xm usb-attach domU 0 1 2-4 > > where domU is the name of your guest. > > You can add this to the domU config file like: > > vusb=[ ''usbver=2, num-ports=2, port_1=2-4'', ] > > > -- > 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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
can you confirm steps how to add USB flash drive to Windows 2008 DomU ? shall I mount it in dom0 before doing xm usb-add ? when I do: "xm usb-add windows2008 host:xxxxx.aaaaa" it shows in Windows devices with* "!"* saying it works with slow speed 1.1 (what is normal for usb-add command) but I can''t see any new drives in the system. what am I missing? please advice, Alex 2011/1/18 Brian Krusic <brian@krusic.com>> Hi all, > > Do any of you know what the syntax would be is I wanted to add the first > device listed using lsusb on my dom0 to my domU? > > lsusb; > > Bus 002 Device 004: ID 064f:0bd8 Some-Systems AB ABC/DE > > xm usb-add; > > Usage: xm usb-add <domain> <[host:bus.addr] [host:vendor_id:product_id]> > > Unsure what combo works, other then what doesn''t work. > > - Brian > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Possibly Parallel Threads
- Error connecting USB-device to DomU, kernel 2.6.32-5-xen-amd64, Xen 4.0.1
- Bug?
- GPLPV, clock drift and PVUSB in Windows XP HVM
- USB at domU PV domain & PVUSB
- can''t passthrough usb devices to domU (Unexpected error: <class ''xen.util.vusb_util.UsbDeviceParseError''>)