Re: [linux-usb-devel] uhci data loss due to toggle handling on canceled urbs

2004-12-02 Thread Karl Bongers
On Thu, 2 Dec 2004 11:54:31 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > On Wed, 1 Dec 2004, Karl Bongers wrote: > > > > > Hi, > > > > So somehow I found myself here despite trying to avoid kernel hacking by > > using libusb. libusb has

[linux-usb-devel] uhci data loss due to toggle handling on canceled urbs

2004-12-01 Thread Karl Bongers
Hi, So somehow I found myself here despite trying to avoid kernel hacking by using libusb. libusb has this concept of submit a read/write with a timeout. So I submit a read, and just pick a random timeout, say 1 second. Lib usb then sits in a poll loop, after a second it cancels the read and retu