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

From: Keith Packard
Date: Wed Dec 03 2008 - 04:09:29 EST


On Tue, 2008-12-02 at 23:12 -0800, Greg KH wrote:

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

Yeah, it does seem like exposing GPIOs to user space would be really
useful. Coming up with credible semantics seems a bit tricky though, and
may not fit the read/write model that we know and love.

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

Sigh. Yes, I can probably use libusb for this application. Not as easily
as I can hack up the kernel, but it should do the trick.

--
keith.packard@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part