VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/settings-usb.dita

最後變更 在這個檔案是 107390,由 vboxsync 提交於 3 月 前

Docs: bugref:10705. bugref: 10829. The docs build has been modified to split generated refentry dita files and the user manual files and the following commits from doc's team git repo has been applied:

0946136c74dda0483704db891345cb39548b4e28 Started consolidating known issues and troubleshooting information
845b847e6a8e778b38a57867e25ee5e086a73800 Added individual topics for list of known issues, integrated into Troubleshooting section.
bb574836aac775889bd61e4a72f489617fcb7d18 Removed EFI firmware from experimental features for 7.2
6d2e68b244869991e713d170ecd239739d99ba56 Moved known issues into Known Issues section
e2630c896561587718b5c3197c384a38d07014d5 Merge branch 'VBP-1461_experimental-features' into 'main'
0512e2cce51f49ccdc56f3381a2a0c924f2bd278 Feedback on known issues
a77d6c980f6ff5cad9d32b2fb9290990093a03fa Restructured host and guest OS topics
988af5cc9628f5de0806531bc98686f691a911fd Updates with feedbback from Jacob
982a61c9f25b22b745ec483e763e3d88efe59c40 Included feedback from Jacob
93181c8c6cc2d9a26bcccb1145cb0423c0d9f4c9 Updated known issues with feedback from Klaus
8bc369561c383f09b409fe5e44f507440b3735fb Created Legacy Guest OS section
d7932f55accdab7a03666302d58b8c941cd48be2 Moved known issues to more appropriate places for the info
2a4aa094ba8a7ac6894d2a777316eabf41746580 Further moving of known issues
baeabd5308c5519a4dc26b4197be9b00e419a85a Updated links to cli_topics

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 6.6 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE topic
3 PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
4<topic xml:lang="en-us" id="settings-usb">
5 <title>USB Settings</title>
6
7 <body>
8 <p>The <b outputclass="bold">USB</b> section in a virtual machine's <b
9 outputclass="bold">Settings</b> window enables you to configure <ph
10 conkeyref="vbox-conkeyref-phrases/product-name"/>'s sophisticated USB support. </p>
11 <p><ph conkeyref="vbox-conkeyref-phrases/product-name"/> can enable virtual
12 machines to access the USB devices on your host directly. To achieve this, <ph
13 conkeyref="vbox-conkeyref-phrases/product-name"/> presents the guest OS with a virtual USB
14 controller. </p>
15 <p>
16 <note id="note_bzl_prv_qbc" type="caution">
17 <p>As soon as the guest system starts using a USB device, it will be disconnected from the
18 host without a proper shutdown. This may cause data loss.</p>
19 </note>
20 </p>
21 <note>
22 <p>USB support on Oracle Solaris hosts requires Oracle Solaris 11 FCS or later. Webcams and other isochronous devices are known to have poor performance.</p>
23 </note>
24 <p><ph conkeyref="vbox-conkeyref-phrases/product-name"/> also enables your guests
25 to connect to remote USB devices by use of the VirtualBox Remote Desktop Extension (VRDE). See
26 <xref href="usb-over-rdp.dita">Remote USB</xref>. </p>
27 <section id="section_pfm_vsv_qbc">
28 <title>Enable USB for a VM</title>
29 </section>
30
31 <ol id="ol_fpr_wsv_qbc">
32 <li>Ensure the VM is not running.</li>
33 <li>Select the VM in the machine list, and then click <b outputclass="bold"
34 >Settings</b>.</li>
35 <li>On the USB tab, select <b outputclass="bold">Enable USB Controller</b> and choose the
36 USB Controller you need for your guest OS. In most cases this will be xHCI. Only use OHCI or
37 EHCI if your guest OS does not support xHCI. For some legacy Windows guests you'll need to
38 install third party drivers for xHCI support. <p>
39 <ul id="ul_rzz_l5v_qbc">
40 <li>OHCI supports USB 1.1 </li>
41 <li>EHCI supports USB 2.0. This also enables OHCI.</li>
42 <li>xHCI supports all USB speeds up to USB 3.0</li>
43 </ul>
44 </p></li>
45
46
47
48 <li>Specify which devices can be attached to the guest by adding <b
49 outputclass="bold">USB Device Filters</b>. USB devices with a matching filter will be
50 automatically passed to the guest once they are attached to the host. USB devices without a
51 matching filter can be passed manually to the guest, for example by using the <b
52 outputclass="bold">Devices</b>, <b outputclass="bold">USB</b> menu. <ul
53 id="ul_jjz_cxv_qbc">
54 <li>Click the <b>USB filter</b> button to create a new filter with blank fields, and then
55 complete the fields. </li>
56 <li>Or, click the <b>Add USB filter</b> button to create a filter with the fields
57 completed for the selected USB device. </li>
58 </ul><p>Give the filter a name, for later reference, and specify the filter criteria. The
59 more criteria you specify, the more precisely devices will be selected. For instance, if
60 you specify only a vendor ID of 046d, all devices produced by Logitech will be available
61 to the guest. If you fill in all fields, on the other hand, the filter will only apply to
62 a particular device model from a particular vendor, and not even to other devices of the
63 same type with a different revision and serial number. </p><p>The following criteria are
64 available: </p><ul id="ul_av4_41w_qbc">
65 <li>
66 <p><b outputclass="bold">Vendor and Product ID.</b> With USB, each vendor of USB
67 products carries an identification number that is unique world-wide, called the
68 <i>vendor ID</i>. Similarly, each line of products is assigned a <i>product ID</i>
69 number. Both numbers are commonly written in hexadecimal, and a colon separates the
70 vendor from the product ID. For example, <codeph>046d:c016</codeph> stands for
71 Logitech as a vendor, and the M-UV69a Optical Wheel Mouse product. </p>
72 <p>Alternatively, you can also specify <b outputclass="bold">Manufacturer</b> and <b
73 outputclass="bold">Product</b> by name. </p>
74 <p>To list all the USB devices that are connected to your host machine with their
75 respective vendor IDs and product IDs, use the following command: </p>
76 <pre xml:space="preserve" id="pre_bv4_41w_qbc">VBoxManage list usbhost</pre>
77 <p>On Windows, you can also see all USB devices that are attached to your system in the
78 Device Manager. On Linux, you can use the <userinput>lsusb</userinput> command. </p>
79 </li>
80 <li>
81 <p><b outputclass="bold">Serial Number.</b> While vendor ID and product ID are quite
82 specific to identify USB devices, if you have two identical devices of the same brand
83 and product line, you will also need their serial numbers to filter them out
84 correctly. </p>
85 </li>
86 <li>
87 <p><b outputclass="bold">Remote.</b> This setting specifies whether the device will be
88 local only, remote only, such as over VRDP, or either. </p>
89 </li>
90 </ul><p>As an example, you could create a new USB filter and specify a vendor ID of 046d for
91 Logitech, Inc, a manufacturer index of 1, and <i>not remote</i>. Then any USB devices on
92 the host system produced by Logitech, Inc with a manufacturer index of 1 will be visible
93 to the guest system. </p><p>Several filters can select a single device. For example, a
94 filter which selects all Logitech devices, and one which selects a particular webcam.
95 </p></li>
96 <li>
97 <p>On a Windows host, you will need to unplug and reconnect a USB device to use it after
98 creating a filter for it. </p>
99 </li>
100 <li>
101 <p>Ensure the filters you need immediately are selected in the list. Selected filters will
102 be attached automatically when the VM starts.</p>
103 </li></ol>
104 </body>
105
106 </topic>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette