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.
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.
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.
- To enable logging for the current session only, use the launchctl command.
- Quit Horizon Client so that the USB service daemon is stopped.
- Open a shell (/Applications/Utilities/Terminal.app) as the same user who starts Horizon Client.
- Use the following command:
launchctl setenv VMWARE_VIEW_USBD_LOG_OPTIONS "-o log:trace"
- 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"