Re: [PATCH] usb/serial/cp2101: Add support for cp2103 GPIO pins

From: Greg KH
Date: Thu Nov 27 2008 - 13:44:40 EST


On Thu, Nov 27, 2008 at 10:20:26AM -0800, Keith Packard wrote:
> On Thu, 2008-11-27 at 10:58 +0000, Alan Cox wrote:
>
> > Only concern I have is that a custom ioctl means every time a new serial
> > chip grows GPIO pins we end up with more ioctls.
>
> I'm not sure we'll find a lot of serial chips with GPIO pins attached...

Yes, there are a number of other ones already in use that have them.
What we have done in the past for them is just use a simple userspace
program/library that uses usbfs/libusb to access the device directly.

Can you do the same thing here as well? Or do you also need to
send/recieve serial data through the device at the same time?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/