On Friday 11 November 2011 22:06:19 JD Louw wrote:
> JD Louw
Hi,
In IOCTL's you shouldn't cast *(uint8_t *)ptr to *(int *)ptr and forth and
back, because this only works on little endian machines.
Else your patch looks very good. I'm impressed.
Please download the latest version of the uslcom
On Sat, Nov 12, 2011 at 9:39 AM, Hans Petter Selasky wrote:
> On Friday 11 November 2011 22:06:19 JD Louw wrote:
>> This patch adds custom IOCTLs to read and write the 4 GPIO pins on the
>> cp2103 usb-to-serial chip. Time from IOCTL to actual pin change is
>> pretty slow though.
>
> Hi,
>
> How sl
On Friday 11 November 2011 22:06:19 JD Louw wrote:
> This patch adds custom IOCTLs to read and write the 4 GPIO pins on the
> cp2103 usb-to-serial chip. Time from IOCTL to actual pin change is
> pretty slow though.
Hi,
How slow is it?
Have you tried reducing the interval of the intervalled contr
This patch adds custom IOCTLs to read and write the 4 GPIO pins on the
cp2103 usb-to-serial chip. Time from IOCTL to actual pin change is
pretty slow though.
Index: serial/uslcom.c
===
--- serial/uslcom.c (revision 227453)
+++ seri