Hi Greg, On Sep 29, 2009, at 1:31 PM, Greg KH wrote: > On Tue, Sep 29, 2009 at 12:34:40PM -0700, Rob Duncan wrote: >> I'm about to start work on a new USB serial driver and I'd like to >> know which currently existing driver is recommended to be used as a >> model to base my code on. Ideally it will be not too feature-rich, >> not too idiosyncratic, use the latest APIs in the best way, and have >> good performance, etc. My driver will go back into the public kernel >> tree when it's done. > > It depends on what your device looks like. If it is "one tty per usb > endpoint pair", then you can just use the usb-generic driver and > overload a few basic functions for flow control. > > If it is more complex, with multiple tty ports for a single USB > endpoint, then you might want to look at the edgeport driver, but > clean > it up a bunch. > > What device is this for? Thanks very much for the suggestions. Initially the driver will be to support the XR21V1414 multi-tty device, but I hope it'll be straightforward to handle other products as well. So I'll start by looking at the edgeport code. Are there particular issues with that driver I should beware of? Rob. The information and any attached documents contained in this message may be confidential and/or legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender immediately by return e-mail and destroy all copies of the original message. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html