From patchwork Thu Sep 1 00:54:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Hu X-Patchwork-Id: 12961609 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 176BDECAAD1 for ; Thu, 1 Sep 2022 00:55:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229706AbiIAAzC (ORCPT ); Wed, 31 Aug 2022 20:55:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbiIAAzB (ORCPT ); Wed, 31 Aug 2022 20:55:01 -0400 Received: from mailgw.kylinos.cn (unknown [124.126.103.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DE68B4B6 for ; Wed, 31 Aug 2022 17:54:53 -0700 (PDT) X-UUID: cf3f1b9fc32d48d79d0c56a4afc52ff4-20220901 X-CPASD-INFO: 402aa0f1ce7649f3a1eefe6103e0928c@fYBsgY5ilGGPhXmCg3yxbYFilZWWkVa Acm2FYGdiZIOVhH5xTV5uYFV9fWtVYV9dYVR6eGxQYmBgZFJ4i3-XblBgXoZgUZB3g3JsgZFelg== X-CLOUD-ID: 402aa0f1ce7649f3a1eefe6103e0928c X-CPASD-SUMMARY: SIP:-1,APTIP:-2.0,KEY:0.0,FROMBLOCK:1,OB:0.0,URL:-5,TVAL:173. 0,ESV:0.0,ECOM:-5.0,ML:0.0,FD:0.0,CUTS:104.0,IP:-2.0,MAL:-5.0,PHF:-5.0,PHC:-5 .0,SPF:4.0,EDMS:-5,IPLABEL:4480.0,FROMTO:0,AD:0,FFOB:0.0,CFOB:0.0,SPC:0,SIG:- 5,AUF:6,DUF:3710,ACD:66,DCD:66,SL:0,EISP:0,AG:0,CFC:0.324,CFSR:0.081,UAT:0,RA F:0,IMG:-5.0,DFA:0,DTA:0,IBL:-2.0,ADI:-5,SBL:0,REDM:0,REIP:0,ESB:0,ATTNUM:0,E AF:0,CID:-5.0,VERSION:2.3.17 X-CPASD-ID: cf3f1b9fc32d48d79d0c56a4afc52ff4-20220901 X-CPASD-BLOCK: 1000 X-CPASD-STAGE: 1 X-UUID: cf3f1b9fc32d48d79d0c56a4afc52ff4-20220901 X-User: huxiaoying@kylinos.cn Received: from localhost.localdomain [(112.64.161.44)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 2005802184; Thu, 01 Sep 2022 08:55:09 +0800 From: Hu Xiaoying To: stern@rowland.harvard.edu, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, usb-storage@lists.one-eyed-alien.net Cc: Hu Xiaoying Subject: [PATCH v5] usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS Date: Thu, 1 Sep 2022 08:54:45 +0800 Message-Id: <20220901005445.3245567-1-huxiaoying@kylinos.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org USB external storage device(0x0b05:1932), use gnome-disk-utility tools to test usb write < 30MB/s. if does not to load module of uas for this device, can increase the write speed from 20MB/s to >40MB/s. Signed-off-by: Hu Xiaoying --- drivers/usb/storage/unusual_uas.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h index 4051c8cd0cd8..23ab3b048d9b 100644 --- a/drivers/usb/storage/unusual_uas.h +++ b/drivers/usb/storage/unusual_uas.h @@ -62,6 +62,13 @@ UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128, USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_IGNORE_UAS), +/* Reported-by: Tom Hu */ +UNUSUAL_DEV(0x0b05, 0x1932, 0x0000, 0x9999, + "ASUS", + "External HDD", + USB_SC_DEVICE, USB_PR_DEVICE, NULL, + US_FL_IGNORE_UAS), + /* Reported-by: David Webb */ UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999, "Seagate",