Hi Todd,
i know this page
http://wiki.xensource.com/xenwiki/XenUSBPassthrough
but i think this PVUSB is beta version or not easy to do this work, you
have experience with this matter and can help me?¿
Un Saludo/Best Regards.
Nacho Alegre.
movil.: +34 649 66 92 92
e-mail.: nacho@xxxxxxxxx
web.: http://www.alegre.es
web.: http://distribuciones.alegre.es
> On Wed, Jul 27, 2011 at 8:07 PM, Nacho Alegre Alvarez <nacho@xxxxxxxxx>
> wrote:
>> Good Evenight
>>
>> I try to do working usb's into domU xen guest, SO of xen server is
>> Debian
>> Squenze 6.0, into HVM guest usb works and can make use but with
>> ParaVirtual guest PV can find this devices with lsusb or into /dev/
>> directory.
>>
>> Kernel load into xend and guest is the same and is the kernel provided
>> by
>> this package:
>>
>> ii linux-image-2.6.32-5-xen-amd64 2.6.32-35
>> Linux 2.6.32 for 64-bit PCs, Xen dom0 support
>> ii linux-image-xen-amd64 2.6.32+29
>> Linux for 64-bit PCs (meta-package), Xen dom0 support
>>
>> this is the version of kernel:
>>
>> Linux version 2.6.32-5-xen-amd64 (Debian 2.6.32-35) (dannf@xxxxxxxxxx)
>> (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Tue Jun 14 12:46:30 UTC
>> 2011
>>
>>
>> Configuration of PV guest domain is:
>>
>> bootloader = '/usr/lib/xen-default/bin/pygrub'
>> vcpus = '2'
>> memory = '512'
>> root = '/dev/xvda2 ro'
>> disk = [
>>
>> 'file:/disco/xen/maquinas/domains/debian-prueba/disk.img,xvda2,w',
>>
>> 'file:/disco/xen/maquinas/domains/debian-prueba/swap.img,xvda1,w',
>> ]
>> name = 'debian-prueba'
>> vif = [ 'ip=192.168.0.200,mac=00:16:3E:D2:D7:46' ]
>> on_poweroff = 'destroy'
>> on_reboot = 'restart'
>> on_crash = 'restart'
>> usb=1
>> vusb = ['usbver=2, numports=10,port_1=1-3,port_2=1-2'
>>
>> oput get in XEN whi xm about usb is the next info:
>>
>> root@xen-servidor:/etc/grub.d# xm usb-list debian-prueba
>> Idx BE state usb-ver BE-path
>> 0 0 1 USB2.0 /local/domain/0/backend/vusb/17/0
>> port 1: 1-3
>> port 2: 1-2 [ID 0402:5661 ALi Corp. Audio Player]
>> port 3:
>> port 4:
>> port 5:
>> port 6:
>> port 7:
>> port 8:
>> port 9:
>> port 10:
>>
>> available devices are this:
>>
>> root@xen-servidor:/etc/grub.d# xm usb-list-assignable-devices
>> 1-2 : ID 0402:5661 ALi Corp. Audio Player
>> root@xen-servidor:/etc/grub.d#
>>
>>
>> kernel of this PV domain "debian-prueba" is next:
>>
>> root@debian-prueba:~# cat /proc/version
>> Linux version 2.6.32-5-xen-amd64 (Debian 2.6.32-35) (dannf@xxxxxxxxxx)
>> (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Tue Jun 14 12:46:30 UTC
>> 2011
>> root@debian-prueba:~#
>>
>> but into this guest domain "debian-prueba" when exec lsusb command get
>> nothing, see below:
>>
>> root@debian-prueba:~# lsusb
>> root@debian-prueba:~#
>>
>> at dmesg of this PV domain, can watch only this info about usb and xen:
>>
>> [ 0.316730] XENBUS: Device with no driver: device/vbd/51714
>> [ 0.316740] XENBUS: Device with no driver: device/vbd/51713
>> [ 0.316749] XENBUS: Device with no driver: device/vif/0
>> [ 0.316757] XENBUS: Device with no driver: device/vusb/0
>> [ 0.316766] XENBUS: Device with no driver: device/console/0
>> [ 0.316796]
>> /build/buildd-linux-2.6_2.6.32-35-amd64-aZSlKL/linux-2.6-2.6.32/debian/build/source_amd64_xen/drivers/rtc/hctosys.c:
>> unable to open rtc device (rtc0)
>> [ 0.316837] Initalizing network drop monitor service
>>
>> Anyone have the same situation with PV guest domain working with usb
>> throw
>> PVUSB techonology, can anyone guide me to make run usb at this domain,
>> need connect four devices 2.0 (printer, disc, scanner and modem with
>> serial port throw usb-serial converter)
>>
>> If any one can help me, because i read something about PVUSB but can't
>> make work usb at PV domains or not know steps to do this devices work.
>>
>
> Does this help:
> http://wiki.xensource.com/xenwiki/XenUSBPassthrough
>
> Thanks,
> Todd
>
> --
> Todd Deshane
> http://www.linkedin.com/in/deshantm
> http://www.xen.org/products/cloudxen.html
> http://runningxen.com/
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|