setting sio to even parity failed
M. Warner Losh
imp at bsdimp.com
Sat Oct 11 14:18:33 PDT 2003
In message: <20031010183346.GH13791 at cicely12.cicely.de>
Bernd Walter <ticso at 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
More information about the freebsd-hackers
mailing list