Greg KH wrote: > 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 > Hi: I'm modifying my source a bit as suggested by some files that are included in the Linux Device Driver Kit recommend. I have a question, I use USB-serial interface like a lot of other drivers under drivers/usb/serial/, my question is when I have two equal devices connected to the USB bus, that are using usb-serial, in memory are there two copies of the driver or just one?. Because I think that my problems could be happening because I have only one driver on memory. If it is the case, then the bug is not worth to be corrected, because who would connect to Bluetooth devices to a pc and send data from one to the other? Only developers and testers would get profit of this. Regards, Manuel
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