From 67ac8a0803034bc6022c6ce53cd813848cd4fe77 Mon Sep 17 00:00:00 2001 From: Simon Chan Date: Mon, 23 Oct 2023 21:14:13 +0800 Subject: [PATCH] windows: Recognize Samsung composite device driver Closes #1331 --- libusb/os/windows_winusb.c | 5 ++++- libusb/version_nano.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libusb/os/windows_winusb.c b/libusb/os/windows_winusb.c index 74f35fdb9..1bed091c6 100644 --- a/libusb/os/windows_winusb.c +++ b/libusb/os/windows_winusb.c @@ -2293,7 +2293,10 @@ const struct windows_backend winusb_backend = { * USB API backends */ -static const char * const composite_driver_names[] = {"USBCCGP"}; +static const char * const composite_driver_names[] = { + "USBCCGP", // (Windows built-in) USB Composite Device + "dg_ssudbus" // SAMSUNG Mobile USB Composite Device +}; static const char * const winusbx_driver_names[] = {"libusbK", "libusb0", "WinUSB"}; static const char * const hid_driver_names[] = {"HIDUSB", "MOUHID", "KBDHID"}; const struct windows_usb_api_backend usb_api_backend[USB_API_MAX] = { diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 1c6f8872a..155d1e018 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11812 +#define LIBUSB_NANO 11813