On Wed, Jun 27, 2001 at 05:31:52PM -0500, Stanislaw Findeisen wrote:
> 
> I'm looking for some good, preferably 'step-by-step' resources on developing
> USB/RS232 drivers for Linux. If you know any, please let me know.

Hm, how about:
        - 'modprobe usbserial vendor=0x<VENDOR_ID> product=0x<PRODUCT_ID>'
          where <VENDOR_ID> and <PRODUCT_ID> are the vendor and product
          ids for your device.
        - see how poorly your device works with only bulk messages.
        - look at all of the other usb-serial drivers to figure out how
          to add support for your device :)

Seriously, there was a document floating around somewhere, but I don't
think it was ever made public, and I wasn't the author.

Look at the existing drivers to see how they interface to the usb-serial
core (some are easier to read than others, stay away from
io_edgeport.c...)  I recommend the belkin_sa.c and mct_232.c driver for
simple usb to serial converter examples.  The new cyberjack.c driver is
a nice example of a more complex device, while the digi_acceleport.c is
a very good example of how to get a complex device to work very well.

And personally I like the visor.c and empeg.c driver as an example of
how to get the best possible speed out of a device (but I may be biased
there...)

What kind of device are you looking to write a driver for?

And I'm always glad to help out if you have any questions.

thanks,

greg k-h

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to