Connect your controller to any free USB port on a PC
If you have not already done so, load usbview.exe by double clicking on the file.
In the left hand window, scroll down the tree and locate the device you plugged in to your USB hub. In this example, we are using a Power A Mini Controller for the Xbox One.
Once you have located your controller in the tree list, click on it and the details for it will be show in the right hand window.
idVendor is the VID and idProduct is the PID.
We can ignore the 0x, so in this case, the VID/PID of the controller is 24C6 : 541A