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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 A93EDC3A59B for ; Mon, 2 Sep 2019 09:23:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8C9A6215EA for ; Mon, 2 Sep 2019 09:23:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731039AbfIBJXs (ORCPT ); Mon, 2 Sep 2019 05:23:48 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:50472 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729603AbfIBJXr (ORCPT ); Mon, 2 Sep 2019 05:23:47 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 68A6080905; Mon, 2 Sep 2019 11:23:31 +0200 (CEST) Date: Mon, 2 Sep 2019 11:23:44 +0200 From: Pavel Machek To: Tony Lindgren Cc: Bin Liu , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, Jacopo Mondi , Marcel Partap , Merlijn Wajer , Michael Scott , NeKit , Sebastian Reichel Subject: Re: [PATCH 0/4] musb host improvments mostly for omap2430 glue Message-ID: <20190902092344.GA31410@amd> References: <20190830232058.53414-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <20190830232058.53414-1-tony@atomide.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > So I ended up cleaning up omap2430 glue layer a bit for host mode with the > various reproducable errors I was seeing docking droid4 to a lapdock. The= re > are a few fixes, and then we end up removing all the devctl register tink= ering > for omap2430 glue layer. I should have your recent patches up-to [PATCH] power: supply: cpcap-charger: Enable vbus boost voltage applied to linux-next, -0830. So... to get usb host to work even with stock kernel, I need a hub and external power... and "right" cable between phone and hub. When I plugged/unplugged it several times, I got ### usb unplug: musb-hdrc.0.auto: musb_set_peripheral: already in peripheral mode: 80 musb-hdrc.0.auto: musb_set_peripheral: already in peripheral mode: 80 ub0: stop stats: rx/tx 0/0, errs 0/0 l3_init_cm:clk:0040:0: failed to disable l3_init_cm:clk:00c0:0: failed to disable ### usb plug produces nothing ### usb unplug: musb-hdrc.0.auto: musb_set_peripheral: already in peripheral mode: 80 musb-hdrc.0.auto: musb_set_peripheral: already in peripheral mode: 80 Hmm. I did it two more times, and now machine rebooted, and USB was powered from the phone for a while (3.6V). And I reproduced the crash on the next boot. Is there anything I may be missing in .config? Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl1s36AACgkQMOfwapXb+vIWZACgmFqp1q2DKFKpNF6u+etS5VXE 4roAnRmGpeNboURqJDD4h6CSfZs/INw0 =73nW -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--