[RFC PATCH] rxerr patch

Sascha Wessel wessel at nefkom.net
Mon Feb 9 16:16:59 CET 2009


Hi,

On Mon, Feb 09, 2009 at 03:26:09PM +0100, Michael Trimarchi wrote:
>   /* disable echo on serial ports */
> struct termios  ios;
> tcgetattr(fd, &ios);
> ios.c_lflag = 0;  /* disable ECHO, ICANON, etc... */
> ios.c_cflag |= CRTSCTS;
> cfsetispeed(&ios, B0);
> cfsetospeed(&ios, B115200);
> tcflush(fd, TCIOFLUSH);
> tcsetattr(fd, TCSANOW, &ios );
>
> Can you give me your initialization please?

It should be this one...

http://git.freesmartphone.org/?p=gsm0710muxd.git;a=blob;f=src/gsm0710muxd.c;h=6260d24ad71fd83adde7f59d211a0fed0b497104;hb=HEAD#l1659


Greetings,
Sascha




More information about the openmoko-kernel mailing list