From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: Date: Fri, 21 Jan 2000 10:15:21 +0100 From: "Ralf HECKHAUSEN" To: "<" Subject: UART driver problem Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: I have a strange problem with the uart driver. The 8xx_write in uart.c always fails because copy_from_user returns 0 instead of the requested number of bytes. When I ignore the comparison with the requested number of bytes everything works ok, the correct bytes are transmitted and 8xx_write returns something >0. The next strange thing: a write to a tty file descriptor sometimes returns a negative number, although the output succeded. perror in this case outputs an unknown error. Does anyone know this problems? Ralf ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/