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] using USB Host Controller in domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] using USB Host Controller in domU
From: Marcus Brown <marcusbrutus@xxxxxxxxxxxxxxxx>
Date: Tue, 26 Jul 2005 14:09:44 +1000
Delivery-date: Tue, 26 Jul 2005 04:08:37 +0000
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)
Hi all.

I've been attempting to export the USB Host Controller to a domU,
so that I can use a USB Bluetooth adapter (and possibly a USB camera).
I've been using xen-testing on Debian (dom0 is sid, domU is sarge)

I've managed to get the domU to boot using a few of the following settings:

    The kernel line in grub's menu.lst now includes:
        physdev_dom0_hide=(00:07.2)
    The domU kernel config has:
         XEN  --->
              [*] Physical device access
              [*]   Block-device backend driver
              [ ]   Network-device backend driver
             X86 Processor Configuration  --->
               Bus options (PCI, PCMCIA, EISA, MCA, ISA)  --->
                [*] PCI support
                [*] Legacy /proc/pci interface
                [*] PCI device name database
             Device Drivers  --->
              Networking support  --->
               <M> Bluetooth subsystem support  --->
                --- Bluetooth subsystem support
                <M>   L2CAP protocol support
                <M>   SCO links support
                <M>   RFCOMM protocol support
                 [*]     RFCOMM TTY support
                <M>   BNEP protocol support
                 [*]     Multicast filter support
                 [*]     Protocol filter support
                <M>   HIDP protocol support
                Bluetooth device drivers  --->
                 <M> HCI USB driver
                  [*]   SCO (voice) support
                 <M> HCI VHCI (Virtual HCI device) driver              
  Device Drivers  --->
               Multimedia devices  --->
                <M> Video For Linux
               USB support  --->
                <M> Support for Host-side USB
                 [*]   USB device filesystem
                 <M> UHCI HCD (most Intel and VIA) support
                <M> USB STV680 (Pencam) Camera support

After booting the domU, the USB modules can be loaded manually,
however, there are no PCI devices found, or USB devices listed.

I have come to the conclusion (from the xen-users manual) that my
xend-config.sxp is in error. I've tried appending:
    (backend (blkif))
    (device (pci (bus 00) (dev 07) (func 2)))

(this could explain why I now get errors from 'xm list -v' now:))

but during boot of the domU I still get the following:
    Starting hotplug subsystem:
       pci
    cat: /sys/bus/pci/devices/*/class: No such file or directory
    cat: /sys/bus/pci/devices/*/vendor: No such file or directory
    cat: /sys/bus/pci/devices/*/device: No such file or directory
    cat: /sys/bus/pci/devices/*/subsystem_vendor: No such file or directory
    cat: /sys/bus/pci/devices/*/subsystem_device: No such file or directory
    Bad PCI agent invocation

Can anyone see something obviously wrong here?
The users manual talks about placing these options
"somewhere within the vm element of its configuration"
but I'm unable to find information on how to do this.

Thanks for any pointers,

Marcus.

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