[RFC PATCH] rxerr patch

Michael Trimarchi trimarchi at gandalf.sssup.it
Mon Feb 9 16:20:20 CET 2009


Sascha Wessel wrote:
> 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
>
>
>
>   
Can you print your /proc/tty/driver/ttySAC and send?

Michael




More information about the openmoko-kernel mailing list