aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaju Mathew <shaju@google.com>2024-04-13 14:14:49 +0000
committerShaju Mathew <shaju@google.com>2024-04-15 19:53:26 +0000
commit2ce30230560c8d0d3bc789c123080dbbc6fc09c4 (patch)
treed945ea4df2cfe33a46650cab5ab88f6d5a0a1b86
parent2cd628379692da0d78634ba1c147e80bdb373d9e (diff)
downloadadb-2ce30230560c8d0d3bc789c123080dbbc6fc09c4.tar.gz
Retrofitting usb port display format compatibility
libusb usb port display format disparity caused failure on partner (and pixel) fabrication workflow. Test: Manual Bug: 333535981 Change-Id: I66f8a1c5118c40ba3e0959b7783afde29adfa759
-rw-r--r--client/usb_libusb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/usb_libusb.cpp b/client/usb_libusb.cpp
index 6133e7c8..b96ee7e1 100644
--- a/client/usb_libusb.cpp
+++ b/client/usb_libusb.cpp
@@ -872,7 +872,7 @@ static std::unordered_map<libusb_device*, std::weak_ptr<LibusbConnection>> usb_h
static std::atomic<int> connecting_devices(0);
static void process_device(libusb_device* device_raw) {
- std::string device_address = get_device_address(device_raw);
+ std::string device_address = "usb:" + get_device_address(device_raw);
VLOG(USB) << "device connected: " << device_address;
unique_device device(libusb_ref_device(device_raw));