Yi Liang wrote: >I want to write a driver for my webcamera, I found a >lot of open source project. with these driver, the >webcamera can't recieve voice. > > >I want to know whether can I support all the >interfaces in one modules, and how? Is there any >sample code demonstrating how to deal with different >interfaces in one module. >Thank you! > > This would probably be just a case of claiming multiple interfaces in your probe function. (Or using several probe functions in one module). But if your camera has an audio interface chances are its using the standard audio class. In that case you can just let the usb audio driver handle it and implement just the video part...
Jeroen ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel