From: Alexandre Courbot <Alexandre.Courbot@lifl.fr>
Cc: linux-serial@vger.kernel.org
Subject: Re: Disabling the FIFO on the UART - Bug in 8250 mode?
Date: Mon, 14 Jun 2004 15:43:49 +0200 [thread overview]
Message-ID: <40CDAB95.1020706@lifl.fr> (raw)
In-Reply-To: <40CDA6BD.2020606@lifl.fr>
> So I tried doing so (setserial /dev/ttyS0 uart 8250), and that's where
> the weird things start. My device then only receives one byte on 16
> (i.e. the latest to enter the FIFO when the serial interrupt is
> triggered!). It is clearly stated that a 8250 uart does not have any
> FIFO, so I'm starting to suspect a bug here. I've tested on two Linux
> x86 machines, runnning kernels 2.6.3 and 2.6.6, the behavior is the
> same. I've also tried with UARTs16550 and 16450.
Sorry for replying to myself - just to point out that with kernel
2.4.25, on the same machines, it behaves properly (i.e. I'm receiving
all the bytes). So it looks like there is a bug in the 2.6 series of the
serial driver, not disabling the FIFO when setting the 8250 mode.
Would still be nice if it was possible to explicitely disable or tune
the 16550A's FIFO with, say, setserial! :)
Alex.
--
Alexandre Courbot - PhD student
RD2P/LIFL
http://www.lifl.fr/~courbot
prev parent reply other threads:[~2004-06-14 13:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-14 13:23 Disabling the FIFO on the UART - Bug in 8250 mode? Alexandre Courbot
2004-06-14 13:43 ` Alexandre Courbot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40CDAB95.1020706@lifl.fr \
--to=alexandre.courbot@lifl.fr \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).