[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1228291871.6187.23.camel@aiko.keithp.com>
Date: Wed, 03 Dec 2008 00:11:11 -0800
From: Keith Packard <keithp@...thp.com>
To: Greg KH <gregkh@...e.de>
Cc: keithp@...thp.com, Alan Cox <alan@...rguk.ukuu.org.uk>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb/serial/cp2101: Add support for cp2103 GPIO pins
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@...el.com
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists