From patchwork Wed Aug 31 01:56:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Hu X-Patchwork-Id: 601769 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 3225EECAAD5 for ; Wed, 31 Aug 2022 01:56:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231793AbiHaB4g (ORCPT ); Tue, 30 Aug 2022 21:56:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230382AbiHaB4f (ORCPT ); Tue, 30 Aug 2022 21:56:35 -0400 Received: from mailgw.kylinos.cn (unknown [124.126.103.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD117AE224; Tue, 30 Aug 2022 18:56:33 -0700 (PDT) X-UUID: 2be4833337b1422a9d0e2f0ccfa45b94-20220831 X-CPASD-INFO: 7e3fb8c83900468d85e2043c88a2527d@gLVtho9qkWhfWXJ8g3mDnlhmlWJgYFO yenKBaGNiY4SVhH5xTV5uYFV9fWtVYV9dYVR6eGxQYmBgZFJ4i3-XblBmXoZgUZB3hqdthphmkw== X-CLOUD-ID: 7e3fb8c83900468d85e2043c88a2527d X-CPASD-SUMMARY: SIP:-1, APTIP:-2.0, KEY:0.0, FROMBLOCK:1, OB:6.0, URL:-5, TVAL:173. 0, ESV:0.0, ECOM:-5.0, ML:0.0, FD:0.0, CUTS:129.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:6.0, CFOB:6.0, SPC:0, SIG:- 5, AUF:5, DUF:3607, ACD:65, DCD:65, SL:0, EISP:0, AG:0, CFC:0.435, CFSR:0.049, 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: 2be4833337b1422a9d0e2f0ccfa45b94-20220831 X-CPASD-BLOCK: 1000 X-CPASD-STAGE: 1 X-UUID: 2be4833337b1422a9d0e2f0ccfa45b94-20220831 X-User: huxiaoying@kylinos.cn Received: from localhost.localdomain [(112.64.161.44)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 2096684557; Wed, 31 Aug 2022 09:56:46 +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: linux-kernel@vger.kernel.org, Hu Xiaoying Subject: [PATCH v4] usb: Improves USB2.0 write performance. Date: Wed, 31 Aug 2022 09:56:24 +0800 Message-Id: <20220831015624.1119578-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 --- change for v4 - Update two email addresses to be the same. change for v3 - Does not send html mail to the mailing lists. - Update patch, which sorted by vendor ID and product ID. - Modify discription, correct some english words. change for v2 - Update discription for patch. --- 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",