Re: Model USB serial driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/30/2009 12:27 AM, Rob Duncan wrote:
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?

What lsusb -v shows about this device?

--
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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux