[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] usb: cp210x: Added support for GPIO (CP2103/4/5)



On Sat, 28 Apr 2012 20:17:07 +0200
Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> >>>>> "Alan" == Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> writes:
> 
> ...
>     Alan> The other question is whether having some custom gpio poking
>     Alan> interface is actually a good idea. I suspect probably not. The
>     Alan> kernel gpio layer can help a bit but doesn't really solve the
>     Alan> problem as there is no way to tie a gpio to a port. Given how many
>     Alan> devices seem to have gpios these days I wonder if we need a gpio
>     Alan> setting interface via termiox.
> 
> Is this really kernel stuff or better handled in libusb(x)

Tricky to do it that way when the kernel driver owns the interface. Also
it's looking increasingly like we'll need to support a variety of "serial
and a couple of extra magic lines" type interfaces for things like SIM
readers.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Resources]


  Powered by Linux