Messages in this thread | | | Date | Thu, 27 Nov 2008 10:41:09 -0800 | From | Greg KH <> | Subject | Re: [PATCH] usb/serial/cp2101: Add support for cp2103 GPIO pins |
| |
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
| |