Date: Sat, 11 Oct 2003 15:17:13 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: ticso@cicely.de, ticso@cicely12.cicely.de Cc: dnelson@allantgroup.com Subject: Re: setting sio to even parity failed Message-ID: <20031011.151713.93584643.imp@bsdimp.com> In-Reply-To: <20031010183346.GH13791@cicely12.cicely.de> References: <20031010181349.GG13791@cicely12.cicely.de> <20031010182633.GD77306@dan.emsphone.com> <20031010183346.GH13791@cicely12.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20031010183346.GH13791@cicely12.cicely.de>
Bernd Walter <ticso@cicely12.cicely.de> writes:
: On Fri, Oct 10, 2003 at 01:26:33PM -0500, Dan Nelson wrote:
: > In the last episode (Oct 10), Bernd Walter said:
: > > buf.c_iflag |= IGNBRK;
: > > buf.c_cflag &= ~(CSIZE | PARODD);
: > > buf.c_cflag |= CS8 | CLOCAL | PARENB;
: >
: > Do you maybe want CS7 here?
:
: No I need 8e1, but the output still looks like 8n1.
8e1? You want 8 data bits plus a nineth parity bit?
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031011.151713.93584643.imp>
