On Fri, Sep 01, 2006 at 10:11:01AM -0500, Chris Aseltine wrote:
> 1)  If I have a USB composite device with say, four interfaces, I wanted
> to know if I could load four different drivers / kernel modules for the
> device -- one per interface.
> 
> I believe you can, since each USB kernel module will have its registered
> probe() function called for each interface that arrives on the system, and
> each can decide whether it wants to claim the interface or not.

Yes.  Take a look at the USB chapter in the book, Linux Device Drivers,
third edition, (free online) for more details about this.

> By the way, as I've been doing development, I've noticed that various
> constructs seem to disappear from the kernel on a regular basis (i.e.
> members of structs, function exports from inside the kernel, etc.)  This
> tends to lead to "surprises" when maintaining a driver that is outside of
> the tree.

For details on why Linux does this, look at the file
Documentation/stable_api_nonsense.txt

> Can we safely assume that when any symbols, etc. disappear, the
> functionality they represented is still available through some other
> method?

Yes.  But if you notice that this does not happen, please let the people
who made the change know about it.

thanks,

greg k-h

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to