From nobody Sun Nov 26 04:07:56 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SdFYm2SyDz52kSB; Sun, 26 Nov 2023 04:07:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SdFYm1pkRz3FtF; Sun, 26 Nov 2023 04:07:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700971676; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HOqGU51J+YAdflg06pv8jMOd2+NpJ6QQsPDD5Xs8IRo=; b=dmvm/C7H9LtVDWrJk3BSyfymUhS5vEUv2HJQFRLRdKuYg6M1rwOab0ylA9KgvP+sXD+Qpp VkV2aUmJrip4vt0DK1F/mU3cd6pS5N72m1Ry4rjVUKpy9Nu8vYAsZL1PiCLqIrxATjsK+G b3uHtGIomj8nMZLq350rc8ygeJqX5XNptVb5rSgna5O4RBCTrKvgxvejwc12W6d7uAmMgU GjK6wGk6EDIzO0ztQh953bYfSC5AvXGBSFixK8n7RwFiixMufoIjyiNmnFju7mfSSKz4Qy H1WcObYaHHVhtypxAZrnjLJ/EysguyUAmkRAhiVmZ4GHef4fExyRJFlPdk5h8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700971676; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HOqGU51J+YAdflg06pv8jMOd2+NpJ6QQsPDD5Xs8IRo=; b=X2/ieIDyXUSIQgBb6DS1t82tR4n/c+QhOZk66Q44T+D+A9V5vT82qPPkEQhvylamPsAAjS y2AYdzQMcCFWVPVPmFWb5IeqJ6hEfLxwH4mv9qaR5V2Bm5HOHUdIYyV6FV5ZUBjCH/rJdO D3XFRbXJ7yaKY086fgZsrPYw0PjeL+9xz1lLfyvvMi1jXuYKaJILko5dHSwvrQVKyp79Or MdXs3ohVWW0+Lwcm1GdaZNMptYkNJGRzDLNg+Jguq8zVrTAt8JfzJ1yzTN2W5lr994BA1b d9Xkob9tHv6O7h6LaX1kDDVkI+suFQvyWoA0cg3V97qaL8FxfaOWr7YDe5bLGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700971676; a=rsa-sha256; cv=none; b=eK6vPfB3+yR5oj0AjR6QlB7KFrFFmFBfM8tuwezsNcphYH723VSWM9LFMe8rfnEWzzqktt sMa0b0R6SD/P3eG2DfBzh6d6+VEw3UQMCSNAMw92DTFwNmPcKeCB6zoDOMNwY85jgc4mv/ wkCrX2zpIFgs0tyi/792TFA4gjeSMObME/4lvePbQZkXd8yNEv37Q/4wHf/rE8qYqkd+rL Xsk1acyf15zcUhL/V+lGOONV8WQU8IjVxH894YzWePwwm+oIjg2aloIPO9AbWRC7HAfVjF FAXRPs5wzQrLt+r7gy1OpBjo3IpbEZW6jPLiu+D9GnYleMpFj2gUmpjPbbyKfA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SdFYm0n91zgsV; Sun, 26 Nov 2023 04:07:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AQ47uHp028751; Sun, 26 Nov 2023 04:07:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AQ47uc4028748; Sun, 26 Nov 2023 04:07:56 GMT (envelope-from git) Date: Sun, 26 Nov 2023 04:07:56 GMT Message-Id: <202311260407.3AQ47uc4028748@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kyle Evans Subject: git: 5330fb235ae6 - stable/13 - usb: add quirks for the Genesys GL3220 card reader List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 5330fb235ae6db376bc4ee09f8270f88c27256ca Auto-Submitted: auto-generated The branch stable/13 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=5330fb235ae6db376bc4ee09f8270f88c27256ca commit 5330fb235ae6db376bc4ee09f8270f88c27256ca Author: Mazin Fadl AuthorDate: 2023-10-11 03:22:12 +0000 Commit: Kyle Evans CommitDate: 2023-11-26 04:07:16 +0000 usb: add quirks for the Genesys GL3220 card reader Without these, card hotplugging does not work on the GL3220. PR: 263868 Fixes: 7520b88860d7a79 ("usb(4): Automagically apply all quirks [...]") (cherry picked from commit 94efe9f91be7f3aa501983716db5a4378282a734) --- sys/dev/usb/quirk/usb_quirk.c | 2 ++ sys/dev/usb/usbdevs | 1 + 2 files changed, 3 insertions(+) diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c index 5df08225dff3..42083d6d74bd 100644 --- a/sys/dev/usb/quirk/usb_quirk.c +++ b/sys/dev/usb/quirk/usb_quirk.c @@ -260,6 +260,8 @@ static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = { UQ_MSC_NO_START_STOP, UQ_MSC_IGNORE_RESIDUE), USB_QUIRK(GENESYS, GL641USB_2, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_WRONG_CSWSIG), + USB_QUIRK(GENESYS, GL3220, 0x0000, 0xffff, UQ_MSC_NO_INQUIRY, + UQ_MSC_NO_RS_CLEAR_UA), USB_QUIRK(HAGIWARA, FG, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI), USB_QUIRK(HAGIWARA, FGSM, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index 8297d14233f2..3eda1dd71be1 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -2294,6 +2294,7 @@ product GENESYS GL3520_SS 0x0616 GL3520 4-Port USB 3.0 DataPath product GENESYS GL641USB 0x0700 GL641USB CompactFlash Card Reader product GENESYS GL641USB2IDE_2 0x0701 GL641USB USB-IDE Bridge No 2 product GENESYS GL641USB2IDE 0x0702 GL641USB USB-IDE Bridge +product GENESYS GL3220 0x0732 GL3220 USB 3.1 AiO Card Reader product GENESYS GL3233 0x0743 GL3233 USB 3.0 AiO Card Reader product GENESYS GL641USB_2 0x0760 GL641USB 6-in-1 Card Reader