benchmarking/utils/usb_controller.py [47:62]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        try:
            port_number, hub_serial = self.device_map[device_hash]
        except KeyError:
            raise Exception("Device {} or hub not connected".format(device_hash))

        stem = brainstem.stem.USBHub3p()
        result = stem.discoverAndConnect(brainstem.link.Spec.USB, int(hub_serial))

        if result != Result.NO_ERROR:
            raise Exception(
                "Could not connect to hub {} with error code {}".format(
                    hub_serial, result
                )
            )

        try:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



benchmarking/utils/usb_controller.py [76:91]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        try:
            port_number, hub_serial = self.device_map[device_hash]
        except KeyError:
            raise Exception("Device {} or hub not connected".format(device_hash))

        stem = brainstem.stem.USBHub3p()
        result = stem.discoverAndConnect(brainstem.link.Spec.USB, int(hub_serial))

        if result != Result.NO_ERROR:
            raise Exception(
                "Could not connect to hub {} with error code {}".format(
                    hub_serial, result
                )
            )

        try:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



