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

From: Greg KH
Date: Wed Dec 03 2008 - 02:38:28 EST


On Thu, Nov 27, 2008 at 05:31:43PM -0800, Keith Packard wrote:
> On Thu, 2008-11-27 at 10:41 -0800, Greg KH wrote:
>
> > 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?
>
> I was hoping to use both at the same time; the target device has a
> serial port that I'll need to get working eventually.

Ick. Ok, care to come up with some kind of hook into the gpio subsystem
of the kernel so we don't create a new user/kernel interface for
something that we already support?

> Besides, libusb scares me, but if that's the officially supported
> mechanism, I can manage; I don't need it to go fast for this
> application.

libusb can be very fast. The new version handles multiple urbs in
flight, and threaded applications very easily. You might want to take a
look at it again if it has been a while.

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/