Re: some question about EXDEV status in period schedule

2013-12-03 Thread Alan Stern
On Tue, 3 Dec 2013, yoma sophian wrote: > > This isn't a race condition, because the driver does not terminate > > isochronous URBs before they are scheduled to end. > > > > For example, suppose there was an isochronous URB that was scheduled to > > transmit packets during microframes 100, 180, 26

Re: some question about EXDEV status in period schedule

2013-12-02 Thread yoma sophian
2013/12/2 Alan Stern : > On Sun, 1 Dec 2013, yoma sophian wrote: > >> >> Suppose itds are submitted then ehci_work is triggered by bulk >> >> interrupt and ehci->isoc_count >0. >> >> >> >> The race condition may happen if hardware hasn't handled those itds, >> >> right? >> > >> > I don't know what

Re: some question about EXDEV status in period schedule

2013-12-01 Thread Alan Stern
On Sun, 1 Dec 2013, yoma sophian wrote: > >> Suppose itds are submitted then ehci_work is triggered by bulk > >> interrupt and ehci->isoc_count >0. > >> > >> The race condition may happen if hardware hasn't handled those itds, right? > > > > I don't know what race condition you are talking about.

Re: some question about EXDEV status in period schedule

2013-11-24 Thread Alan Stern
On Sun, 24 Nov 2013, yoma sophian wrote: > >> My questions are: > >> 1. in usb driver, > >> ehci-sched.c --> itd_complete -> > >> > >>if (unlikely (t & ISO_ERRS)) { > >> .. (case A) > >>} else if (likely ((t & EHCI_ISOC_ACTIVE) == 0)) { > >> .

Re: some question about EXDEV status in period schedule

2013-11-24 Thread yoma sophian
2013/11/19 Alan Stern : > Please use Reply-To-All so that your message gets sent to the mailing > list as well as to me. Sorry for forgetting that :) > > On Sat, 16 Nov 2013, yoma sophian wrote: > > hi alan: > >> My questions are: >> 1. in usb driver, >> ehci-sched.c --> itd_complete -> >>

Re: some question about EXDEV status in period schedule

2013-11-22 Thread yoma sophian
SORRY for send the wrong mail :) 2013/11/23 yoma sophian : > 2013/11/19 Alan Stern : >> Please use Reply-To-All so that your message gets sent to the mailing >> list as well as to me. >> >> On Sat, 16 Nov 2013, yoma sophian wrote: >> >>> hi alan: >>> >>> > There are other examples in the log like

Re: some question about EXDEV status in period schedule

2013-11-18 Thread Alan Stern
Please use Reply-To-All so that your message gets sent to the mailing list as well as to me. On Sat, 16 Nov 2013, yoma sophian wrote: > hi alan: > > > There are other examples in the log like this one. To fix the problem > > you could put more packets in each URB, or use more URBs, or eliminat

Re: some question about EXDEV status in period schedule

2013-11-15 Thread Alan Stern
On Sat, 16 Nov 2013, yoma sophian wrote: > hi all: > When capturing audio through HS webcam by iso protocol under my > embedded system, I can hear the audio is not continuous. The problem is that sometimes the URBs don't get submitted soon enough. > Then I check usb mon and i found sometime th