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=-5.3 required=3.0 tests=BAYES_00, 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 CFD93C12002 for ; Thu, 15 Jul 2021 02:04:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AB8AA613C1 for ; Thu, 15 Jul 2021 02:04:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231809AbhGOCHt (ORCPT ); Wed, 14 Jul 2021 22:07:49 -0400 Received: from netrider.rowland.org ([192.131.102.5]:55465 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S230087AbhGOCHt (ORCPT ); Wed, 14 Jul 2021 22:07:49 -0400 Received: (qmail 398522 invoked by uid 1000); 14 Jul 2021 22:04:55 -0400 Date: Wed, 14 Jul 2021 22:04:55 -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: <20210715020455.GA398513@rowland.harvard.edu> References: <822c3852-1d15-2976-8672-e49ae34c328f@synopsys.com> <20210715014451.GA397753@rowland.harvard.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210715014451.GA397753@rowland.harvard.edu> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Wed, Jul 14, 2021 at 09:44:51PM -0400, Alan Stern wrote: > Martin, here's another test you can try, on both the Odroid and PC > systems. Boot with usb.autosuspend=-1 on the command line to disable > default runtime suspend. But then before plugging in the drive, start a > usbmon trace and do: > > echo 2 >/sys/bus/usb/devices/1-2/power/autosuspend Oops, that should be 1-1, not 1-2. As you would discover when running the command. Alan Stern