[Top] [All Lists]

UART trouble on the DBAu1100

Subject: UART trouble on the DBAu1100
From: Freddy Spierenburg <>
Date: Thu, 13 Apr 2006 15:11:17 +0200
Original-recipient: rfc822;
User-agent: Mutt/1.5.11+cvs20060403

I have a problem and yet am not sure where to look. It's a
problem in the serial driver for the internal UART's of the
AU1100. It appeared ever since 2.6.15. 2.6.14 is working like a
charm, but 2.6.15 gives me the trouble.

When I open a tty with the open(2) system call (see attached open.c)
I see that the UART sends a 0x36 byte on the line.

But that's not the only trouble. I also do not receive any
bytes received by the UART. All the received bytes stay
in the input buffer of the UART only to be send up to userland
as soon as the UART is asked to send a byte on the line itself.
Then in one take all the bytes are received by the application

Reproducing is easy with a program like picocom. Just start it on
both ends (one called 'a' and the other called 'b') and type on
one (a) end. You will see nothing at the other (b) end. Then type
1 or more characters on the other (b) end and you will see that
character appear at the one (a) end and all the other previously
types at the one (a) end appear on the other (b) end.

I am currently looking into the source to see what's changed,
but any help would be greatly appreciated :-)

$ cat ~/.signature
Freddy Spierenburg <>
GnuPG: 0x7941D1E1=C948 5851 26D2 FA5C 39F1  E588 6F17 FD5D 7941 D1E1
$ # Please read before complain!

Attachment: open.c
Description: Text Data

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>