USB in DomU: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 19: | Zeile 19: | ||
P: Vendor=04a9 ProdID=1093 Rev= 1.10 | P: Vendor=04a9 ProdID=1093 Rev= 1.10 | ||
xen0:~# | xen0:~# | ||
xen0:~# lsmod | </pre> | ||
<pre> | |||
xen0:~# lsmod | grep usb | |||
Module Size Used by | Module Size Used by | ||
usblp 12768 0 | usblp 12768 0 | ||
usbcore 113380 4 usblp,ehci_hcd,uhci_hcd | usbcore 113380 4 usblp,ehci_hcd,uhci_hcd | ||
xen0:~# | xen0:~# | ||
xen0:~# rmmod usblp ehci_hcd uhci_hcd | xen0:~# rmmod usblp ehci_hcd uhci_hcd | ||
xen0:~# | |||
</pre> | |||
<pre> | |||
xen0:~# for slot in 0 1 2 7; do | xen0:~# for slot in 0 1 2 7; do | ||
SLOT=0000:00:1d.$slot | SLOT=0000:00:1d.$slot | ||
Zeile 37: | Zeile 38: | ||
</pre> | </pre> | ||
Einträge in DomU Konfiguration: | USB Einträge in DomU Konfiguration: | ||
<pre> | <pre> | ||
pci =[ '00:1d.1','00:1d.2','00:1d.0','00:1d.7' ] | pci =[ '00:1d.1','00:1d.2','00:1d.0','00:1d.7' ] | ||
usbdevice='host:04a9:1093' | usbdevice='host:04a9:1093' | ||
</pre> | </pre> |
Version vom 15. Januar 2007, 23:16 Uhr
USB Geräte in DomU einbinden
Zuerst die USB Geräte in der Dom0 herausfinden:
xen0:~# lspci | grep -i usb 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01) xen0:~#
PCI Devices mittels LateBinding in DomU einbinden:
- USB Gerät identifizieren
- Betroffene Module entladen (usb*)
- Device ins PCI Backend exportieren
xen0:~# cat /proc/bus/usb/devices | grep P: | grep -v "Vendor=0000" P: Vendor=04a9 ProdID=1093 Rev= 1.10 xen0:~#
xen0:~# lsmod | grep usb Module Size Used by usblp 12768 0 usbcore 113380 4 usblp,ehci_hcd,uhci_hcd xen0:~# xen0:~# rmmod usblp ehci_hcd uhci_hcd xen0:~#
xen0:~# for slot in 0 1 2 7; do SLOT=0000:00:1d.$slot echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind done xen0:~#
USB Einträge in DomU Konfiguration:
pci =[ '00:1d.1','00:1d.2','00:1d.0','00:1d.7' ] usbdevice='host:04a9:1093'