title: How to fetch whether a USB device is connected to USB3.0 or USB2.0 port
body: <p>I just want to know how to find a usb device is connected to USB3.0 or USB2.0 port in windows as well as linux. FYI,  I am using libusbK in WINDOWS and in libusb in LINUX is used to access usb device. Is there any api's or any techniques available to fetch the said information?</p>
  
  <p>Eg: If a usb device is connected to USB3.0, i should be able to tell the user that usb device is connected to USB3.0 port. </p>
  
  <p>Is it not possible to fetch the USB details as mentioned above?</p>
  
  <p>Thanks in Advance. </p>