From bead963d33475eb086b815c617877cb4dcf45906 Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Thu, 15 Apr 2021 12:00:44 -0500 Subject: [PATCH] usb: Recognize SDX55 The SDX55 shows up with bInterfaceProtocol of 17, so allow this to get past the USB filtering routine. Signed-off-by: Bjorn Andersson --- qdl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qdl.c b/qdl.c index 47debd9..14685bc 100644 --- a/qdl.c +++ b/qdl.c @@ -212,9 +212,10 @@ static int parse_usb_desc(int fd, struct qdl_device *qdl, int *intf) if (ifc->bInterfaceSubClass != 0xff) continue; - /* bInterfaceProtocol of 0xff and 0x10 has been seen */ + /* bInterfaceProtocol of 0xff, 0x10 and 0x11 has been seen */ if (ifc->bInterfaceProtocol != 0xff && - ifc->bInterfaceProtocol != 16) + ifc->bInterfaceProtocol != 16 && + ifc->bInterfaceProtocol != 17) continue; qdl->fd = fd;