This is an automated email from Gerrit.

"Lucien Buchmann <[email protected]>" just uploaded a new patch set 
to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9265

-- gerrit

commit 93618f2c351c8719924c88ee7f3a2c5c8edf1c47
Author: Lucien Dufour <[email protected]>
Date:   Fri Nov 21 19:13:30 2025 +0100

    Add libusb_open() result to error log
    
    Change-Id: Ic59e29d4dd06868920c2b912e4c866d4f176a563
    Signed-off-by: Lucien Dufour <[email protected]>

diff --git a/src/jtag/drivers/xds110.c b/src/jtag/drivers/xds110.c
index a2b0dd213e..75d6a4f815 100644
--- a/src/jtag/drivers/xds110.c
+++ b/src/jtag/drivers/xds110.c
@@ -373,6 +373,9 @@ static bool usb_connect(void)
                                        /* If we fall though to here, we don't 
want this device */
                                        libusb_close(dev);
                                        dev = NULL;
+                               } else {
+                                       const char *err_msg = 
libusb_error_name(result);
+                                       LOG_ERROR("libusb_open(): %s", err_msg);
                                }
                        }
                }

-- 

Reply via email to