Linux-USB Archive on lore.kernel.org
 help / color / Atom feed
From: Otavio Salvador <otavio.salvador@ossystems.com.br>
To: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	Felipe Balbi <balbi@kernel.org>, Heiko Stuebner <heiko@sntech.de>,
	"linux-rockchip@lists.infradead.org" 
	<linux-rockchip@lists.infradead.org>,
	Johan Hovold <johan@kernel.org>
Subject: Re: USB DWC2 stops responding when insert/remove cable multiple times
Date: Fri, 21 Feb 2020 11:06:06 -0300
Message-ID: <CAP9ODKoS5KQrhTrUvahHEhQG-WA+bfLnP4tTFxzrQaGh1nTcZw@mail.gmail.com> (raw)
In-Reply-To: <1d2ee918-57e4-53b2-6953-0107d7720c59@synopsys.com>

Hello Minas,

On Fri, Feb 21, 2020 at 3:52 AM Minas Harutyunyan
<Minas.Harutyunyan@synopsys.com> wrote:
> On 2/20/2020 5:16 PM, Otavio Salvador wrote:
> > Hello Minas,
> >
> > Thanks for all your help on this, ...
> >
> > On Thu, Feb 20, 2020 at 3:59 AM Minas Harutyunyan
> > <Minas.Harutyunyan@synopsys.com> wrote:
> >>
> >> On 2/19/2020 7:10 PM, Otavio Salvador wrote:
> > ...
> >>> What sequence do you want us to do?
> >>
> Please provide dwc2 debug log when stop working with g_serial exception
> dump inside.
> Also provide dwc2 log when it's work without issue.

Attached.

> >> Yes. Can you provide also USB trace >
> > I can, however, it is not clear to me what you want us to do.
> >
> > Should we use, on host side, usbmon? or do you want something different?
> >
> Do you have any USB tracer equipment to record trace between host and
> device?

I don't. Can we instrument the kernel somehow to gather the info we need?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

  reply index

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-14 13:40 Otavio Salvador
2020-02-17  8:58 ` Minas Harutyunyan
2020-02-17 12:30   ` Otavio Salvador
2020-02-17 13:26     ` Minas Harutyunyan
2020-02-17 19:53       ` Otavio Salvador
2020-02-19 12:26         ` Minas Harutyunyan
2020-02-19 15:10           ` Otavio Salvador
2020-02-20  6:59             ` Minas Harutyunyan
2020-02-20 13:16               ` Otavio Salvador
2020-02-21  6:52                 ` Minas Harutyunyan
2020-02-21 14:06                   ` Otavio Salvador [this message]
     [not found]                     ` <CAP9ODKoRuB-nyjr1ksGU61PVMjFTMMWKwgpHQ=e7bChAu5Okhg@mail.gmail.com>
2020-02-28  9:01                       ` Minas Harutyunyan
2020-02-28 17:35                         ` Otavio Salvador
2020-03-05  6:45                           ` Minas Harutyunyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP9ODKoS5KQrhTrUvahHEhQG-WA+bfLnP4tTFxzrQaGh1nTcZw@mail.gmail.com \
    --to=otavio.salvador@ossystems.com.br \
    --cc=Minas.Harutyunyan@synopsys.com \
    --cc=balbi@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=heiko@sntech.de \
    --cc=johan@kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-USB Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-usb/0 linux-usb/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-usb linux-usb/ https://lore.kernel.org/linux-usb \
		linux-usb@vger.kernel.org
	public-inbox-index linux-usb

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-usb


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git