>>Effectively you have this: claiming interfaces is opening, and >>disconnecting from them is releasing them. The rule is that only >>the driver that claims an interface is allowed to use its endpoints. > > > That's the rule for who gets to use certain endpoints, but bandwidth > reservation shouldn't happen during interface claim(). Claiming an > interface only means that driver will be the one driving the enpoints > (possibly in the future), not that the driver will start driving the > endpoints right now.
We went over that path already. Nobody's advocating that Linux change, to reserve at that time, certainly not me. > For example a webcam driver would want to claim a webcam's interfaces on > device connection, but it shouldn't reserve ep bandwidth until a user > application is ready to use the device. Then, it should reserve the > bandwidth for the endpoints it will use. Likewise, open() doesn't mean that an application is going to be driving the endpoints. The only thing with those semantics is a call to write() or read(). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel