code: def _find_device(self, idVendor, idProduct):
          
          for bus in usb.busses():
              for device in bus.devices:
                  if (device.idVendor == idVendor and
                      device.idProduct == idProduct):
                      return device
          return None
docs: Find a USB device by product and vendor id.