cbw.setLength((byte) scsiCmd.length);
cbw.setCdb(scsiCmd);
log.debug(cbw.toString());
// Sent CBW to device
USBDataPipe outPipe = ((USBDataPipe) storageDeviceData.getBulkOutEndPoint().getPipe());
USBRequest req = outPipe.createRequest(cbw);
if (timeout <= 0) {
outPipe.asyncSubmit(req);
} else {
outPipe.syncSubmit(req, timeout);
}