From nobody Sun Nov 26 04:07:47 2023 X-Original-To: dev-commits-src-branches@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 4SdFYb4ddDz52k69; Sun, 26 Nov 2023 04:07:47 +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 4SdFYb47X5z3FYr; Sun, 26 Nov 2023 04:07:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700971667; 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=ouNOFMZlsagHaGhbz7HwJp5isK1v7qyOEU0Dt4Rb3R0=; b=SFFTo++5/sQ3xa9lytBCGKdR9TVvd/ynXgHR/lyKzwfYpw3XoPSPPxX379pVhE70lIuJS8 qKq6dSyX/0Z3d80ejG+v/8Fpv40hxOnRKX8dv8tsNFySz6nSq9iAOlEQleoNRhBf2EUnUm sWql0L/jxcEPj6o5Gx4+NfDOF3buKwtrzNYLB1xakeB0LG5vN+zZm/BbA/OAwT4JnPJVZw l46qUQMU/+Zm6OStKwwOA5QcssjueZ8N0CUY2fHqq6fiDa/QvtCE7HuVISWAjLAAp1vhlO 8odL734lgizfXZd5Acy1ORV2UvRCceipQS2Buqx0VoZlEmacuArpM8qZazGb1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700971667; 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=ouNOFMZlsagHaGhbz7HwJp5isK1v7qyOEU0Dt4Rb3R0=; b=lqeJyCRGPXE2XfDZ8GjO9H5FY057L1PyzxElkOn+EkBJpgK/HDVlh/hQBTWW/BLWcHz0aQ wJwUiiPR9Aj3ATqB14TvTPvb5ptpYZ20uYK+8l4/VerahNMBXISA/1/1mju1nqpJlTNBlh 7ufM6XabktTNzAIhTI5kCB7ZS0Y63aUXCvhlPSe3ztoZj6ylSBZ6PejqdI6ZyskPQqHA+8 U10rT6jb44J64u+2VgvJaYRGwopkJ8CEKxwuiJZhn+DleL0yGyYuE1ryh6naFqz5Q74W8K CJCUlyOwMEjxxh6kBFbUmcAOaIu6upRuAFKgiEXA46oxrdOmJk/zxwSWGeNCUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700971667; a=rsa-sha256; cv=none; b=jO7EDKQ4napWLFe5nn+u7No3sQKDK35d2uLdfdJ04dIBPCZ2PtiUwhuy6m4XPLUly4+A/N fzen6cJMYg83cHTVcm2C4ZozvOqCF1egoDn5ThdRqjQEhciW1rykvaxGJ7+wr6/5IaF38j wgTKV2tAzTpIit0Xp/WeInb+tP8ZYHUCJ9d9ibg1TeAPZY3C72oOhDfrLAz4zvHcsyY1u3 zyUGGuRWsetY0mkPvGVPSo7vtZovuKyoaGNYysvN6heUTprLRRYQULxObvIYWffl5g58QE hKXyKEiw2jLS4VC5z+4hTYWCX5gKS8dLoCUtbSVITSrsFKtCioO0avzfnTvhzQ== 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 4SdFYb2hZMzgsS; Sun, 26 Nov 2023 04:07:47 +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 3AQ47lLG028323; Sun, 26 Nov 2023 04:07:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AQ47lVm028320; Sun, 26 Nov 2023 04:07:47 GMT (envelope-from git) Date: Sun, 26 Nov 2023 04:07:47 GMT Message-Id: <202311260407.3AQ47lVm028320@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: 93f1302dc633 - stable/14 - usb: add quirks for the Genesys GL3220 card reader List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/14 X-Git-Reftype: branch X-Git-Commit: 93f1302dc6339bbf7e7ed42664a3e848b76eafcf Auto-Submitted: auto-generated The branch stable/14 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=93f1302dc6339bbf7e7ed42664a3e848b76eafcf commit 93f1302dc6339bbf7e7ed42664a3e848b76eafcf Author: Mazin Fadl AuthorDate: 2023-10-11 03:22:12 +0000 Commit: Kyle Evans CommitDate: 2023-11-26 04:07:11 +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 38016e6abc1b..84ad6398ffca 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 da712c5a5954..72eb001d3508 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -2295,6 +2295,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