Re: howto debug xhci driver?

2018-04-23 Thread Bin Liu
Tue, Mar 20, 2018 at 02:28:00PM -0700, Paul Zimmerman wrote: > >>>>Forgot to CC linux-usb. > >>>> > >>>> > >>>> Forwarded Message > >>>>Subject: Re: howto debug xhci driver? > >>>>Date

Re: howto debug xhci driver?

2018-04-23 Thread Tushar Nimkar
ed Message ---- >>Subject: Re: howto debug xhci driver? >>Date: Tue, 20 Mar 2018 13:56:21 -0700 >>From: Paul Zimmerman >>To: Bin Liu >>CC: Felipe Balbi >> >>Hi, >> >>Bin Liu writes: >>>>Bin Liu writes: >>>>>&

Re: howto debug xhci driver?

2018-04-23 Thread Bin Liu
On Mon, Apr 23, 2018 at 11:14:55AM +0530, Tushar Nimkar wrote: > On 2018-04-21 00:03, Bin Liu wrote: > >Hi, > > > >On Tue, Mar 20, 2018 at 02:28:00PM -0700, Paul Zimmerman wrote: > >>Forgot to CC linux-usb. > >> > >> > >>---- Forwarded

Re: howto debug xhci driver?

2018-04-22 Thread Tushar Nimkar
On 2018-04-21 00:03, Bin Liu wrote: Hi, On Tue, Mar 20, 2018 at 02:28:00PM -0700, Paul Zimmerman wrote: Forgot to CC linux-usb. Forwarded Message Subject: Re: howto debug xhci driver? Date: Tue, 20 Mar 2018 13:56:21 -0700 From: Paul Zimmerman To: Bin Liu CC: Felipe Balbi

Re: howto debug xhci driver?

2018-04-20 Thread Bin Liu
Hi, On Tue, Mar 20, 2018 at 02:28:00PM -0700, Paul Zimmerman wrote: > Forgot to CC linux-usb. > > > Forwarded Message > Subject: Re: howto debug xhci driver? > Date: Tue, 20 Mar 2018 13:56:21 -0700 > From: Paul Zimmerman > To: Bin Liu > CC: Feli

Re: howto debug xhci driver?

2018-03-20 Thread Paul Zimmerman
Forgot to CC linux-usb. Forwarded Message Subject: Re: howto debug xhci driver? Date: Tue, 20 Mar 2018 13:56:21 -0700 From: Paul Zimmerman To: Bin Liu CC: Felipe Balbi Hi, Bin Liu writes: Bin Liu writes: BTY, the issue I am trying to debug is when reading bulk IN data

Re: howto debug xhci driver?

2018-03-20 Thread Bin Liu
On Tue, Mar 20, 2018 at 08:32:19AM -0500, Bin Liu wrote: > On Tue, Mar 20, 2018 at 09:14:12AM +0200, Felipe Balbi wrote: > > > > Hi, > > > > Bin Liu writes: > > > On Mon, Mar 05, 2018 at 01:21:42PM -0600, Bin Liu wrote: > > >> On Mon, Mar 05, 2018 at 10:16:49AM +0200, Felipe Balbi wrote: > > >>

Re: howto debug xhci driver?

2018-03-20 Thread Felipe Balbi
Hi, Bin Liu writes: >> Bin Liu writes: >> >> >> > > BTY, the issue I am trying to debug is when reading bulk IN data >> >> >> > > from a >> >> >> > > USB2.0 device, if the device doesn't have data to transmit and >> >> >> > > NAKs the >> >> >> > > IN packet, after 4 pairs of IN-NAK transactio

Re: howto debug xhci driver?

2018-03-20 Thread Bin Liu
On Tue, Mar 20, 2018 at 03:34:16PM +0200, Felipe Balbi wrote: > > Hi, > > Bin Liu writes: > >> >> > > BTY, the issue I am trying to debug is when reading bulk IN data > >> >> > > from a > >> >> > > USB2.0 device, if the device doesn't have data to transmit and NAKs > >> >> > > the > >> >> > >

Re: howto debug xhci driver?

2018-03-20 Thread Felipe Balbi
Hi, Bin Liu writes: >> >> > > BTY, the issue I am trying to debug is when reading bulk IN data from >> >> > > a >> >> > > USB2.0 device, if the device doesn't have data to transmit and NAKs >> >> > > the >> >> > > IN packet, after 4 pairs of IN-NAK transactions, xhci stops sending >> >> > > fu

Re: howto debug xhci driver?

2018-03-20 Thread Bin Liu
On Tue, Mar 20, 2018 at 09:14:12AM +0200, Felipe Balbi wrote: > > Hi, > > Bin Liu writes: > > On Mon, Mar 05, 2018 at 01:21:42PM -0600, Bin Liu wrote: > >> On Mon, Mar 05, 2018 at 10:16:49AM +0200, Felipe Balbi wrote: > >> > > >> > Hi, > >> > > >> > Bin Liu writes: > >> > > I am relatively ne

Re: howto debug xhci driver?

2018-03-20 Thread Felipe Balbi
Hi, Bin Liu writes: > On Mon, Mar 05, 2018 at 01:21:42PM -0600, Bin Liu wrote: >> On Mon, Mar 05, 2018 at 10:16:49AM +0200, Felipe Balbi wrote: >> > >> > Hi, >> > >> > Bin Liu writes: >> > > I am relatively new to xhci and its driver. I am trying to get a xhci >> > > driver runtime log to und

Re: howto debug xhci driver?

2018-03-19 Thread Bin Liu
On Mon, Mar 05, 2018 at 01:21:42PM -0600, Bin Liu wrote: > On Mon, Mar 05, 2018 at 10:16:49AM +0200, Felipe Balbi wrote: > > > > Hi, > > > > Bin Liu writes: > > > I am relatively new to xhci and its driver. I am trying to get a xhci > > > driver runtime log to understand how it handles usb trans

Re: howto debug xhci driver?

2018-03-05 Thread Bin Liu
On Mon, Mar 05, 2018 at 10:16:49AM +0200, Felipe Balbi wrote: > > Hi, > > Bin Liu writes: > > I am relatively new to xhci and its driver. I am trying to get a xhci > > driver runtime log to understand how it handles usb transactions, but I > > don't get much information with dynamic debug (modul

Re: howto debug xhci driver?

2018-03-05 Thread Felipe Balbi
Hi, Bin Liu writes: > I am relatively new to xhci and its driver. I am trying to get a xhci > driver runtime log to understand how it handles usb transactions, but I > don't get much information with dynamic debug (module xhci_hcd) or > enabling xhci trace events. Is there any other methods you

howto debug xhci driver?

2018-03-02 Thread Bin Liu
Hi, I am relatively new to xhci and its driver. I am trying to get a xhci driver runtime log to understand how it handles usb transactions, but I don't get much information with dynamic debug (module xhci_hcd) or enabling xhci trace events. Is there any other methods you guys use to debug xhci dri