Bug 22125 - UVMM: Dokumentation USB-Weiterleitung
UVMM: Dokumentation USB-Weiterleitung
Status: RESOLVED MOVED
Product: Z_wiki.univention.de
Classification: Unclassified
Component: Cool Solutions - other
unspecified
Other Linux
: P5 enhancement
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks: 30440
  Show dependency treegraph
 
Reported: 2011-04-06 11:50 CEST by Ingo Steuwer
Modified: 2016-02-04 15:12 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Steuwer univentionstaff 2011-04-06 11:50:12 CEST
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.
Comment 1 Tim Petersen univentionstaff 2011-08-01 11:53:15 CEST
Im Forum angefragt:
http://forum.univention.de/viewtopic.php?f=43&t=1540&p=5243
Comment 2 Tim Petersen univentionstaff 2013-02-14 12:12:16 CET
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
"
Comment 4 Timo Denissen univentionstaff 2016-02-04 15:12:43 CET
Moved to redmine Issue #4215.