Received: from eggs.gnu.org ([208.118.235.92]:40583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thg1v-0000oD-Ru for qemu-devel@nongnu.org; Sun, 09 Dec 2012 07:30:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Thg1q-0004h7-8B for qemu-devel@nongnu.org; Sun, 09 Dec 2012 07:30:47 -0500 Received: from indium.canonical.com ([91.189.90.7]:53325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thg1q-0004h2-0v for qemu-devel@nongnu.org; Sun, 09 Dec 2012 07:30:42 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Thg1p-0004a2-34 for ; Sun, 09 Dec 2012 12:30:41 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 13C952E807D for ; Sun, 9 Dec 2012 12:30:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 09 Dec 2012 12:25:34 -0000 From: Koen Hendrix Sender: bounces@canonical.com References: <20121205112012.6348.41927.malonedeb@gac.canonical.com> Message-Id: <20121209122535.16607.96237.malone@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1086745] Re: serial port data THRE comes too early Reply-To: Bug 1086745 <1086745@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org could this be related? https://bugs.launchpad.net/ubuntu/+bug/1087519 -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1086745 Title: serial port data THRE comes too early Status in QEMU: New Bug description: When using a serial port with a Linux guest (and host) and the application uses hardware handshake, this fails because the handling of TEMT and/or THRE is not operating properly in such cases. As long as it takes _time_ for the 'real' port to output the data TEMT may not return true. After writing characters to a real port, the driver should timeout the transmission and after the total time expired, TEMT can be set. Some applications i.e. with a simplex modem do: RTS_on, WRITE_data, repea= t IOCTL(GET_LSR_INFO), RTS_off, READ_data. At the moment this fails because very early in the transmission, GET_LSR_= INFO returns true and the modem transmitter is switched off. I looked in the source (git) and found that 'char_transmit_time' is pres= ent. My skills fail to implement it myself. I build and ran the latest git version and found it to fail as decribed a= bove. I hope someone can solve it. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1086745/+subscriptions