On Tue, Dec 04, 2001 at 01:22:28PM +0100, Svein Erling Seldal wrote: > > The purpose of the device driver is to provide a transparent link between > the userspace application and the bulk endpoint, as the driver will be used > for different cards with different functions. In windows this is solved by > opening the endpoint the user wants to talk to, e.g. \\.\avrusb0\in2 to > access avrusb device number 0, IN endpoint 2.
That's what usbdevfs provides for you. There are a number of libraries that use usbdevfs (libusb, a java one, and one that is in the speedtouch driver package) that you should look into. These libraries will keep you from having to write your own kernel driver. The usb-serial "generic" driver is also used by a lot of people for access to usb development boards. It provides a way to write directly to and from a bulk endpoint pair (and allows up to 255 pairs of endpoints at once.) Hope this helps, greg k-h _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel