Am Sonntag, 1. Dezember 2002 20:04 schrieb Duncan Haldane: > Hi, > two basic questions: > -- how can one test a usb port to find what bandwidth is available > before opening a webcam stream?
You can't. Such a test is worthless anyway. It can never tell you whether the bandwidth is available at the time you finally need it. If you need bandwidth, grab it and be prepared to deal with errors. > -- how to clean up when a usb v4l1 webcam device is disconnected while > open for streaming video? Look at pwc, it does it right. V4L1 is easy in that regard, because v4l1 protects open and deregister with a semaphore. HTH Oliver ------------------------------------------------------- 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