Hi, I'm making a generic linux device driver for some USB devices.
What is the "normal" convention of accessing the endpoints? I would initially guess that the minor number would be perfect to access endpoint1, endpoint2, etc. But I see from the list of major/minors that the "space" is quite sparse, and thus you allocate only one minor number pr. device. My question is then: If you have a device with several endpoints, how do you make it possible for the userspace application to address a specific endpoint? Are there "standardized" methodes for this, or do I have to implement it myself in my driver as ioctl's? When using register_chrdev() on normal char-devices you can use 0 to get dynamic assignments (IMHO you should unless you have a device with an assigned majornumber). Is there a similar scheme in USB (for the minornumer in struct usb_driver)? Regards, Svein E. Seldal _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel