On Mon, Jul 03, 2006 at 07:32:55PM -0300, Manuel Naranjo wrote: > Hi: > I'm working on AIRcable USB driver, I was about to send a patch diff > file as Greg KH recommended me, when I found a bug, which will not make > the system crash, but is a bug at least. > The problem that I'm having is the amount of data this devices can > receive is limited to 180 bytes, any amount of data over 180 bytes is > drop off. What I had tried was dividing the hole data in 180 bytes > packages starting a "for" and making a usb_fill_bulk_urb with it > respective usb_submit_urb on every step of the loop, but here is where > my problems starts. If data arrives when ever I'm inside of the loop a > Read Bulk In is launched an makes my driver crash, I know this is a > problem in my code, but here is where my question comes, how can I add > the write function with the remaining packages to the Kernel stack, so > when data arrives I'm not writting to the port, and I'm able to read > from it. > If there is the need to send source code, I have no problem, I do not > because it what i should send is about 100 lines and do not want to > bother anyone.
Send the patch, it will be easier to show what you mean that way. thanks, greg k-h Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel