lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 29 Apr 2012 22:35:21 +0800 From: Xiaofan Chen <xiaofanc@...il.com> To: Uwe Bonnes <bon@...ktron.ikp.physik.tu-darmstadt.de> Cc: Alan Cox <alan@...rguk.ukuu.org.uk>, linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org Subject: Re: [PATCH] usb: cp210x: Added support for GPIO (CP2103/4/5) On Sun, Apr 29, 2012 at 9:02 PM, Uwe Bonnes <bon@...ktron.ikp.physik.tu-darmstadt.de> wrote: > most RS232/USB Adapter don't supply and most applications working with these > adapters don't need hard realtime. So even writing and reading the serial > lines can be handled with libusb, like libftdi does. > > But as soon as higher level protocols based on the serial line get involved, > a kernel driver is needed... > > So when thinking some termiox, some thoughts for the FTDI special modes, > like MPSSE or synchronous FIFO should be spent. It would come handy if I > could open /dev/ttyUSBx, set som termiox and could use the kernel driver for > sending and receiving MPSSE commands. MPSSE is e.g. used in OpenOCD and > xc3sprog to talk e.g. JTAG to external devices. On the other hand, OpenOCD and your xc3sprog will probably remain to be cross-plattform and in that case libusb/libftdi is a good option to go. There is a patch under review in OpenOCD where libusb-1.0 is used for the MPSSE engine instead of libftdi/ftd2xx and the performance seems to be better. -- Xiaofan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists