Re: Dropping chars on 16550

Chad Schwartz
2000-12-11T08:36:36Z

You'll find that there is a problem with 2.2.12, on down - with losing a
few bytes here and there.

The bug is in the tty subsystem - in that when you pass off chars to the
ldisc - from the driver, the ldisc doesn't actually write them. (I could
get into the details, but you probably don't care.)

upgrade to 2.2.17.

It takes care of that bug.

Now. You *NEED* to understand that the way cdrecord does things, is by
sending control codes (lots of them) to your tty, to achieve the "oOoOo"
effect.

9600bps should be okay - on any reasonable system, to NEVER flow control.

But the *MOMENT* you bank on that, you'll get burned.

Set up flow control. if you don't, you're asking for trouble.

Chad

> Hi folks
>
> What should I do, when I run cdda2wav | gogo (riping CD from a ATAPI
> CD thru mp3 encoder) and get a continuous dropping of characters, on a 16550-
> enhanced serial port, without handshake, with full-duplex load of 115200 bps?
> About 1 of 320 bytes is miscommunicated.
>
> The kernel is 2.2.12.
>
> Clock
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/