* USB: count of reading urbs
@ 2006-07-20 12:43 Sergej Pupykin
2006-07-20 22:21 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Sergej Pupykin @ 2006-07-20 12:43 UTC (permalink / raw)
To: linux-kernel
Hi, All!
Please, tell me. If I submit one urb, can I lost data? (If data comes when
urb callback executed)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB: count of reading urbs
2006-07-20 12:43 USB: count of reading urbs Sergej Pupykin
@ 2006-07-20 22:21 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2006-07-20 22:21 UTC (permalink / raw)
To: Sergej Pupykin; +Cc: linux-kernel
On Thu, Jul 20, 2006 at 04:43:23PM +0400, Sergej Pupykin wrote:
>
> Hi, All!
>
> Please, tell me. If I submit one urb, can I lost data? (If data comes when
> urb callback executed)
No. How can data be received if you have not submitted an urb? The way
USB works just does not allow this.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB: count of reading urbs
[not found] <mailman.1153399921.28044.linux-kernel2news@redhat.com>
@ 2006-07-22 5:17 ` Pete Zaitcev
0 siblings, 0 replies; 3+ messages in thread
From: Pete Zaitcev @ 2006-07-22 5:17 UTC (permalink / raw)
To: Sergej Pupykin; +Cc: linux-kernel
On 20 Jul 2006 16:43:23 +0400, Sergej Pupykin <ps@lx-ltd.ru> wrote:
> Please, tell me. If I submit one urb, can I lost data? (If data comes when
> urb callback executed)
USB by its nature requires devices to have some buffering, because
polling by the host may be irregular or not often enough. So, usually
there is no loss of data in such case. If you delay resubmissions
enough to overrun device's internal queue, it may happen.
-- Pete
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-22 5:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-20 12:43 USB: count of reading urbs Sergej Pupykin
2006-07-20 22:21 ` Greg KH
[not found] <mailman.1153399921.28044.linux-kernel2news@redhat.com>
2006-07-22 5:17 ` Pete Zaitcev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox