On Tue, 19 Mar 2002, Alex Huang wrote: | hi all, | In the linux, how does the usb driver evaluate the bus bandwidth wheather | or not the bus bandwidth is enough for the new requested packet?? In the | driver , I can't see any code the evaluate the bus utilization ?? Dose | anybody know and tell me. Thanks a lot.
Hi- If you select this bandwidth control option, it goes thru some calculations on each submit_urb() call (if I recall correctly) to determine if there is enough available bandwidth. Several people question the validity of the calculations. I'm sure that most people just don't use USB bandwidth management, and that's the right thing to do for now. There has been some discussion about using something like interface_open() and interface_release(), with enough parameters so that interface_open() can do reasonable bandwidth management at open time instead of on every submit_urb(). I agree that this needs to be done. -- ~Randy _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel