Univention Bugzilla – Bug 22125
UVMM: Dokumentation USB-Weiterleitung
Last modified: 2016-02-04 15:12:43 CET
Frage eines Testers aus 2011040610001905: > - wie richtet man für KVM über das Interface USB-Passthrough [..] ein Ich glaube das müsste direkt mit virsh nach Standardanleitung gehen, eine grundsätzliche Anleitung findet man z.B. hier: http://david.wragg.org/blog/2009/03/using-usb-pass-through-under-libvirt.html Das wäre etwas für das Wiki.
Im Forum angefragt: http://forum.univention.de/viewtopic.php?f=43&t=1540&p=5243
Das reicht so nicht für die Weiterleitung von USB-Sticks in Windows 7/8. Hierzu müsste folgendes ergänzt werden (aus dem Forenthread): Bei der virtuellen Maschine gehören die Zeile: " <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> " durch " <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> " ersetzt, dann kann ich auch USB2 Sticks im Betrieb durchreichen. Dazu erstellt man eine XML: " <hostdev mode='subsystem' type='usb'> <source> <vendor id='0x0951'/> <product id='0x1607'/> </source> </hostdev> " anhand von lsusb " Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 017: ID 1241:1177 Belkin F8E842-DL Mouse Bus 001 Device 016: ID 0951:1607 Kingston Technology DataTraveler 100 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub " Dann wird der Befehl aufgerufen: " virsh attach-device win8 /root/device.xml "
http://forum.univention.de/viewtopic.php?p=8167#p8167
Moved to redmine Issue #4215.