Re: usbserial generic driver problems with system that also has USB-serial converter

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

 



Hi Greg,

On Fri, Jan 22, 2010 at 04:04:57PM -0800, Greg KH wrote:
> On Sun, Dec 27, 2009 at 11:42:09PM -0500, Forest Bond wrote:
> > Hi Greg,
> > 
> > On Sun, Dec 27, 2009 at 10:40:29PM -0500, Forest Bond wrote:
> > > On Sat, Dec 26, 2009 at 11:51:49AM -0500, Forest Bond wrote:
> > > > As I understand it, the user space application wants a standard serial interface
> > > > to the payment processing features of the device, so I need to expose a
> > > > /dev/ttyUSBn device for that purpose.
> > > 
> > > ... and it seems you already wrote an article that should be sufficient for me
> > > to do this:
> > > 
> > >   http://www.linuxjournal.com/article/6573
> > > 
> > > Go ahead and disregard my last message.  I should be able to do what I need to
> > > do with what I have.
> > 
> > I'm new to this.  Is there anything obviously wrong with the following?  It
> > seems to work, FWIW.  Any comments welcome, of course.
> 
> Looks good, care to send it in patch format, with a signed-off-by: line
> so that I can apply it?

I can do that.  I renamed the driver to "vivopay-usbserial".  This may seem
redundant given that it would live in drivers/usb/serial, but I thought it was
appropriate given that the device provides more than one interface so there
could be a "vivopay-hid" driver in the future.  Is this the right approach?

Also, do you have an opinion on proliferation of these kinds of trivial
usb-serial drivers?  Is it possible to have too many?

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux