Re: usb scheduler

2012-07-30 Thread Alexey Filin
On Tue, Jul 31, 2012 at 1:08 AM, Alan Stern wrote: > On Mon, 30 Jul 2012, Alexey Filin wrote: > >> > Yes, something like it might work, I think. But you probably wouldn't >> > want to use URBs for this; they have too much overhead. You'd need a >> > m

Re: usb scheduler

2012-07-29 Thread Alexey Filin
On Thu, Jul 26, 2012 at 7:47 PM, Alan Stern wrote: > You can do this only by hacking up a special driver of your own. > Since transfer completions would not be reported by IRQs in time, you > would have to poll for transfer completions at microsecond intervals. > This would present a rather large

Re: usb scheduler

2012-07-29 Thread Alexey Filin
On Sat, Jul 28, 2012 at 8:50 PM, Clemens Ladisch wrote: > Alexey Filin wrote: >> On Fri, Jul 27, 2012 at 5:04 PM, Peter Stuge wrote: >>> If you require consumer interfaces and you want neither USB nor >>> Ethernet then I guess there is only FireWire left to choose fro

Re: usb scheduler

2012-07-27 Thread Alexey Filin
On Fri, Jul 27, 2012 at 9:08 PM, Peter Stuge wrote: >> 2. To provide link to external bus adapter with 1 us delay and use the >> same USB link from first use case. Not possible with USB. :( > > You didn't expand on the details, as I asked for, so I can't really > comment much more. > > The point I

Re: usb scheduler

2012-07-27 Thread Alexey Filin
On Fri, Jul 27, 2012 at 7:10 PM, Alan Stern wrote: > On Fri, 27 Jul 2012, Alexey Filin wrote: > >> So USB is not a "classic" bus and not universal, it is a network with >> non-constant delay. >> >> Are there USB controllers with the "synchronous tran

Re: usb scheduler

2012-07-27 Thread Alexey Filin
On Fri, Jul 27, 2012 at 5:04 PM, Peter Stuge wrote: > Alexey Filin wrote: >> So USB is not a "classic" bus and not universal, it is a network >> with non-constant delay. > > Whatever "classic" bus means.. USB is a packet-based communications > bus with

Re: usb scheduler

2012-07-27 Thread Alexey Filin
On Thu, Jul 26, 2012 at 7:59 PM, Hans Petter Selasky wrote: > On Thursday 26 July 2012 17:47:11 Alan Stern wrote: >> To get maximum throughput you should submit multiple URBs originally, >> and then submit a new URB whenever an URB completes. I recommand using >> a pipeline depth of 10-20 ms. Fo

Re: usb scheduler

2012-07-26 Thread Alexey Filin
On Thu, Jul 26, 2012 at 7:47 PM, Alan Stern wrote: > On Thu, 26 Jul 2012, Alexey Filin wrote: > >> Hello, >> >> I work in a scientific organization (www.ihep.su, experiments in high >> energy physics). My colleagues developed a crate controller with >> buffer

usb scheduler

2012-07-26 Thread Alexey Filin
Hello, I work in a scientific organization (www.ihep.su, experiments in high energy physics). My colleagues developed a crate controller with buffer memory and a usb interface (read out module, rom) to read out crate electronics with cypress ez-usb sx2 (cy7c68001). I developed a (Linux) kernel dri