Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2752156rdh; Wed, 27 Sep 2023 11:32:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFYYTcMv2mMb/kdM0zINc79J9hgF/RUgBbpEcpk6ptRNmiUEtIWOYPZ1Xe1wCiCdQK/se4Y X-Received: by 2002:a05:6a00:39a6:b0:68f:d35d:217e with SMTP id fi38-20020a056a0039a600b0068fd35d217emr3083272pfb.2.1695839526891; Wed, 27 Sep 2023 11:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695839526; cv=none; d=google.com; s=arc-20160816; b=BRvA64t1LOR9z+ElafhUXp2AD+7pixZzdzd9FcDC9N9THfIiPdnLtHjaQaP8tgmAN3 +RPbTlWI38/vPGKcBl6O9be138XhAnRCsr1wiB+J8PFQ1E1e53pQtjHN9kJISzW1px0w LRs/Rpi5Hza+oK2ByY6yKxcZe+4vsnHkLb7xs+teRCo3xdNi+1biFQVtuhueSp7pi+WI Hkwf+sj8tcVpSWKSwsogvsl8Ic9Gz0ZQKCwGec1LksyeipHOVjumXEUgOSc8XQ7qBwGp 5lEQ0ETKlyU9KVLaylh5e4famxnc0rboji7NRNixvzQ6sMZqh21P6gMXOyGLm/dwCMQs 5PKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gKmlF24D9wEYZmpPY4pyhX2RZKAFbVwikfJcj8WeaM0=; fh=IYIAJyX5lKf1iFQXCf569oyzQIvRGJ8G27yLVC7fHt8=; b=W/SuSWpv+3H4h1MZpjVyCsLH8itRFSgXcC5r6d5AFQtGBM5ZS9j6MugGr/nWGsMEYN wf2gON2S1BB1+zORlP1eTiky3fnYP5kDCs+zYIZt9c2ox/G4/xmsgRMFfNcUOquugOCk xVXv7cpEm+bshTM+MZRgGl2Kh2XUG35+z5waV2ASzvWhgu9MbV0T6xMsK2Py3Yl6Fv8E +48P62N6HbhyNW4mfvlJupSHuLOL4b8cao6ajGoG4ziOBTWM0+WbTM9UXkWYiQaTaWLa jdyvFL01oIaL8FILCohaOh41Ayzt5osAO0QHWnQ2gi/erzRHRvmZc4vW2U1B+Jg+FmGu qNaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=oO1c9uhQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id s15-20020a056a00194f00b0067ff1a1ccbcsi17419829pfk.63.2023.09.27.11.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 11:32:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=oO1c9uhQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id E56DC807BEDF; Wed, 27 Sep 2023 08:55:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232915AbjI0PzO (ORCPT + 99 others); Wed, 27 Sep 2023 11:55:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232650AbjI0PzC (ORCPT ); Wed, 27 Sep 2023 11:55:02 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 838FD10DB; Wed, 27 Sep 2023 08:52:27 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 6EE071C002E; Wed, 27 Sep 2023 17:52:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1695829945; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gKmlF24D9wEYZmpPY4pyhX2RZKAFbVwikfJcj8WeaM0=; b=oO1c9uhQ2eI5cunUP9Zglr8sb92Noy1qFKhmSpB8VGObMguJ5N7hwEEMiybrDyAHHvU8ss wjoU8hwybc60n/+zprXid9vQ2OsKhSwhAW+c2Kb9gkg1VkMig2GDmeyD10Q2h/Whfl6aU8 ZEA3J/LTB1acZQZQJbaOWptd79iIZok= Date: Wed, 27 Sep 2023 17:52:17 +0200 From: Pavel Machek To: Tony Lindgren Cc: kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, sre@kernel.org, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org, martin_rysavy@centrum.cz, phone-devel@vger.kernel.org, maemo-leste@lists.dyne.org Subject: Re: droid4 -- weird behaviour when attempting to use usb host Message-ID: References: <20230926071415.GW5285@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dNROfh5L9PZtEJdO" Content-Disposition: inline In-Reply-To: <20230926071415.GW5285@atomide.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 27 Sep 2023 08:55:29 -0700 (PDT) --dNROfh5L9PZtEJdO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > I'm having some fun with usb host. Good news is it works with > > externally powered hub... after a while. I get some error messages > > about inability to go host mode, but with enough patience it > > eventually does enter host mode and I see my keyboard/mouse. > >=20 > > And usually in that process, one of my cpu cores disappear. top no > > longer shows 2 cores, and I was wondering for a while if d4 is > > single-core system. It is not, my two cores are back after reboot. > >=20 > > That's with 6.1.9 kernel from leste. Ideas how to debug this would be > > welcome. (Do you use usb host?) >=20 > You are using a "proper" non-standard usb micro-b cable that grounds > the id pin, right? Yes. > If not, try with one of those as it allows the hardware to do what it's > supposed to do. >=20 > And presumably you don't have a hacked usb hub that feeds back the > vbus to your phone, right? Do have hacked hub. Or more precisely, have device that needs external power (spinning rust), and hub passes it back to the device. I'll retry with a keyboard... but I recall it behaved funny with that, too. > If you have, that should not be used as the pmic can feed vbus. Well, my plan was to use it as a desktop, and external power is useful that as Droid battery is not that big. Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --dNROfh5L9PZtEJdO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZRRPsQAKCRAw5/Bqldv6 8ra8AKC7lzjBB+3yYRhK28e2x1T8h8LbwwCgqUR1vYbz8ywFk9hMmsDOjdNra2g= =ItwB -----END PGP SIGNATURE----- --dNROfh5L9PZtEJdO--