[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Question about the USB Passthrough in Xen



Hi,

I'm trying to use the joystick (like the joystick used for XBox 360) in the guest domain in Xen.Â
I followed the instructions on Xen's website of the USB passthrough, (http://wiki.xen.org/wiki/Xen_USB_Passthrough), but still cannot see the joystick device in the guest domain.Â
(Because the joystick device is not listed in the output of command 'lspci', I think I cannot use the PCI passthrough to achieve it?)

I'm very confused why the joystick device is not created in the guest domain after I followed the instruction onhttp://wiki.xen.org/wiki/Xen_USB_Passthrough. I didn't see any error report but cannot use the joystick in guest domain.

My question is:
Did I miss something?ÂÂ

Below is my configuration and what I did to configure the system:Â
(My Xen version is Xen 4.3.0)

#âlsusb
Bus 001 Device 002: ID 8087:8008 Intel Corp.Â
Bus 002 Device 002: ID 8087:8000 Intel Corp.Â
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c077 Logitech, Inc.Â
Bus 001 Device 004: ID 8564:4000ÂÂ
Bus 001 Device 008: ID 046d:c21f Logitech, Inc. F710 Wireless Gamepad [XInput Mode]
Bus 002 Device 003: ID 413c:2107 Dell Computer Corp.Â

(I want to use the device "Logitech, Inc. F710 Wireless Gamepad [XInput Mode]" in the guest domain)

#lspci | grep -i USB
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)

My â
Ââguest domain 1's configuration file dom1.cfg:
â
name="dom1"
memory=1024
vcpu=4
disk=['file:/
âguestImages/dom1.img,xvda,w']
vif=['bridge=xenbr0']
usb=1
usbdevice=['joystick','host:1.8','host:046d:c21f']
âbootloader = "pygrub"â
Â

âAfter I use `xl create dom1.cfg`, no /dev/input/js0 was created in the guest domain 1.
(I have the /dev/input/js0 in dom0.)
(I also tried to use usbdevice=['tablet','host:1.8','host:046d:c21f'] as shown in xen's website and still couldn't see /dev/input/js0 in guest domain 1.)Â

Please let me know if you need any further information. I really appreciate any of your help!

Thank you very much for your help and attention in this question!Â

Best,
Â
Meng

-----------
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.