VMware Horizon Community
bidiak
Contributor
Contributor

Horizon USB pass through issue

Hi,

I'm experiencing an odd issue when attaching a specific USB device through the VM Horizon View client (v3.5 -4.2). The device is a National Instruments NI myRIO. I have a group of students who are using the hardware in the class while connected to the View client. 35 of the 40 students have no issues connecting to the device. The 5 that have issues are mainly using windows 10 and are using versions 4.0-4.2 of the view client. When connecting the myRIO to the host machine it is recognized in the host's device manager the same way: as "Generic USB-EEM Network Adapter", whether it passes through properly or not. The only difference I could find between hosts where the device passed through properly and it didn't was in the logs.

For a host that failed to pass the device through these two lines are consistently in the logs:

2016-09-06T11:41:53.166-04:00DEBUG(1110-1128)<vmware-usbd> [vmware-view-usbd] Filter Result: [UsbDeviceId: 4000000a3923762f] On enumeration of device: 1/5. Name: National Instruments NI myRIO-1900 [NI-myRIO-1900-0308e394]
2016-09-06T11:41:53.166-04:00DEBUG(1110-1128)<vmware-usbd> [vmware-view-usbd] Filter Result: [UsbDeviceId: 4000000a3923762f] Error fetching descriptor(s). Device 'National Instruments NI myRIO-1900 [NI-myRIO-1900-0308e394]' is blocked

   

What's interesting is that on the hosts that work it still doesn't actually find the descriptor:

2016-09-29T13:14:07.440-04:00DEBUG(127C-0FB8)<vmware-usbd> [vmware-view-usbd] Filter Result: [UsbDeviceId: 400000063923762f] Descriptor(s) not available. Filtering on Device 'National Instruments NI myRIO-1900 [NI-myRIO-1900-0308f4de]' not processed. Perform the filtering after descriptors are available  and disconnect the device if needed
2016-09-29T13:14:07.440-04:00DEBUG(127C-0FB8)<vmware-usbd> [vmware-view-usbd] Filter Result: [UsbDeviceId: 400000063923762f] Device 'National Instruments NI myRIO-1900 [NI-myRIO-1900-0308f4de]' is allowed - no partial forwarding done
2016-09-29T13:14:07.440-04:00DEBUG(127C-0FB8)<vmware-usbd> [vmware-view-usbd] USBG: Created 400000063923762f
2016-09-29T13:14:07.440-04:00INFO(127C-0FB8)<vmware-usbd> [vmware-view-usbd] Claimed 'National Instruments NI myRIO-1900 [NI-myRIO-1900-0308f4de]' device, PlugNo: 1

It appears that regardless of whether it passes through or not client is not receiving the device descriptors.  What I don't understand  is why certain hosts seem to ignore the lack of descriptors and connect anyway and some block the device immediately. Any ideas?

Thanks,

Bidiak

1 Reply
gshi
Contributor
Contributor

Hi Bidiak,

Could you compare the USB policy configuration (run gpedit.msc)  to double check if there are some policies that blocked the NI myRIO-1900 device? Or try to include the vid and pid of NI myRIO-1900 device in USB policy to see if it works or not.

If not work. I suggest you file a SR with logs attached and Dev can have a further investigation.