You can use USB logs to troubleshoot and to determine the product ID and vendor ID of various devices you plug in to the client system.

About this task

You can enable trace logging either just for the current session or across reboots. To enable logging for the current session, you use a shell command. To enable logging across reboots, add the shell command to the appropriate profile file.

Prerequisites

If you plan to configure trace logging to persist across system reboots, you must have Administrator or root permissions on the client system. This prerequisite does not apply if you plan to enable logging for the current session only.

Procedure

  • To enable logging for the current session only, use the launchctl command.
    1. Quit Horizon Client so that the USB service daemon is stopped.
    2. Open a shell (/Applications/Utilities/Terminal.app) as the same user who starts Horizon Client.
    3. Use the following command:
      launchctl setenv VMWARE_VIEW_USBD_LOG_OPTIONS "-o log:trace"
      
    4. Restart Horizon Client.
  • To enable logging across reboots, add the launchctl command to the appropriate shell rc or profile file for your choice of shell, such as ~/.bash_profile for the default Mac OS X shell.

    Following is an example of the launchctl command to add:

    setenv VMWARE_VIEW_USBD_LOG_OPTIONS "-o log:trace"