From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65DF2C07E95 for ; Mon, 19 Jul 2021 15:03:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1538A611C1 for ; Mon, 19 Jul 2021 15:03:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1538A611C1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=rowland.harvard.edu Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eqYtyk0LwFNdtwn1WbPpcY2WVenrIHLHGF2bU+92RWQ=; b=bxwYBbrm+RDPjd rLEWBZoMSy408Bo+92YZLOQIWavoKDHchUwf83OSpkjWnB1BtyEsvVKzOvyghilAFfM1VV8juftEc QAsyajHE/ny2WDrrDSmXVxbN4YYapB+V+L9kAZ4llo6rU0JBCnkqkTSOkgplJtgQsYdURcZoWRkhJ uX2AqdJzGMK3+UJkzMMyUQEOoI/nuXue3bDvi64ZmoOD01tyFYflyrDyaOQ09Gj/08pWloFCHupCq jfUGb8Da2yeTe9uI85gKid9jSrkv+CkAHbPtNh29EdPLfYcKrMTy/vRn7Gv+icOErsVWE/OV6Fq6Z 92UDVYD3J2ZbtlDb/W3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5UoB-00A0H1-Bq; Mon, 19 Jul 2021 15:03:51 +0000 Received: from netrider.rowland.org ([192.131.102.5]) by bombadil.infradead.org with smtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5Uo9-00A0G6-6T for linux-amlogic@lists.infradead.org; Mon, 19 Jul 2021 15:03:50 +0000 Received: (qmail 567651 invoked by uid 1000); 19 Jul 2021 11:03:48 -0400 Date: Mon, 19 Jul 2021 11:03:48 -0400 From: Alan Stern To: Martin Blumenstingl Cc: Minas Harutyunyan , Matt Corallo , "linux-usb@vger.kernel.org" , "linux-amlogic@lists.infradead.org" , "linux.amoon@gmail.com" , Artur Petrosyan Subject: Re: ODROID-C1/-C2 USB Detection only triggered by some devices dwc2 Message-ID: <20210719150348.GB565905@rowland.harvard.edu> References: <822c3852-1d15-2976-8672-e49ae34c328f@synopsys.com> <20210715014451.GA397753@rowland.harvard.edu> <20210719145322.GA565905@rowland.harvard.edu> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210719145322.GA565905@rowland.harvard.edu> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210719_080349_430770_360314E2 X-CRM114-Status: UNSURE ( 8.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Mon, Jul 19, 2021 at 10:53:22AM -0400, Alan Stern wrote: > If this doesn't work, I think the only solution will be a kernel patch. One other thought: It may be that the reason the Corsair drive and others don't work when they are plugged in before boot-up is because they are too slow to connect to the USB bus. That would cause the Genesys Logic hub to go into runtime suspend before the drive is detected, and then the hub never resumes because its remote wakeup support is faulty. You can test this guess by plugging the Corsair drive into the Odroid before booting, and adding "usbcore.autosuspend=10" to the boot command line. This will cause the hub to delay for ten seconds before going into runtime suspend, and that might be enough time for the drive to connect to the bus and be detected. Alan Stern _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic