On Mon, Mar 21, 2005 at 09:01:04PM +0530, [EMAIL PROTECTED] wrote: > > Hello Greg , > > Thanks a lot for your comments on the queries . > I have a few more -
> > 1 . How should we handle this case . > The URB submitted on BULK OUT returns status in the > write_bulk_callback other than 0 , -ECONNRESET,-ENOENT,-ESHUTDOWN > We should resubmit thats correct but why should the transfer_buffer > length be changed If your device doesn't want that, then don't do it :) > 2. For a particular USB-Serial devce how do we get the baud divisor > corresponding to the baud rate. > ( calculation details if any with an example would be really helpful or > any pointers to receive > More info on the same ) This is a hardware dependant thing. See the specs for your device. > 3. When close is called then in the driver I have to wait till the data > is drained from the device .How do I calculate the delay to wait on > assuming that there is no way I can check if the device buffers are > drained in the device that I am programming . If your device can not report this information, you will just have to guess and then go complain to the hardware developers for making such a broken device. Good luck, greg k-h ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel