User manual

Table Of Contents
n
To remove a rule:
# sudo defaults delete domain property
For example:
# sudo defaults delete com.vmware.viewusb ExcludeVidPid
n
To set or replace a lter rule:
# sudo defaults write domain property value
For example:
# sudo defaults write com.vmware.viewusb ExcludeVidPid vid-1234_pid-5678
I Some conguration parameters require the VID (vendor ID) and PID (product ID) for a
USB device. To nd the VID and PID, you can search on the Internet for the product name combined
with vid and pid. Alternatively, you can look in the USB Log le after you plug in the USB device to the
local system when Horizon Client is running. For more information, see “Turn on Logging for USB
Redirection,” on page 54.
n
To set or replace a spliing rule for a composite device:
# sudo defaults write domain property value
For example:
# sudo defaults write com.vmware.viewusb AllowAutoDeviceSplitting true
# sudo defaults write com.vmware.viewusb SplitExcludeVidPid vid-03f0_Pid-2a12
# sudo defaults write com.vmware.viewusb SplitVidPid "'vid-0911_Pid-149a(exintf:03)'"
# sudo defaults write com.vmware.viewusb IncludeVidPid vid-0911_Pid-149a
Composite USB devices consist of a combination of two or more devices, such as a video input device
and a storage device. The rst line in this example turns on automatic spliing of composite devices.
The second line excludes the specied composite USB device (Vid-03f0_Pid-2a12) from spliing.
The third line tells Horizon Client to treat the components of a dierent composite device
(Vid-0911_Pid-149a) as separate devices but to exclude the following component from being redirected:
the component whose interface number is 03. This component is kept local.
Because this composite device includes a component that is ordinarily excluded by default, such as a
mouse or keyboard, the fourth line is necessary so that the other components of the composite device
Vid-0911_Pid-149a can be redirected to the remote desktop.
The rst three properties are spliing properties. The last property is a ltering property. Filtering
properties are processed before spliing properties.
Example: Excluding a USB Ethernet Device
One example of a USB device you might want to exclude from redirection is a USB Ethernet device. Suppose
that your Mac is using a USB Ethernet device to connect the network for the Mac client system to a remote
desktop. If you redirect the USB Ethernet device, your local client system will lose its connection to the
network and the remote desktop.
If you want to permanently hide this device from the USB connection menu, or if you have set your remote
desktop to autoconnect USB devices, you can add an exception to exclude your Ethernet connection.
sudo defaults write com.vmware.viewusb ExcludeVidPid vid-xxxx_pid-yyyy
In this example, xxxx is the vendor ID and yyyy is the product ID of the USB Ethernet adapter.
Chapter 4 Using a Microsoft Windows Desktop or Application on a Mac
VMware, Inc. 51