Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GAOHk-0002tY-24 for qemu-devel@nongnu.org; Tue, 08 Aug 2006 05:54:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GAOHi-0002tJ-A1 for qemu-devel@nongnu.org; Tue, 08 Aug 2006 05:54:03 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GAOHi-0002tG-4n for qemu-devel@nongnu.org; Tue, 08 Aug 2006 05:54:02 -0400 Received: from [212.11.31.196] (helo=athena.purplelabs.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GAOM8-0002QG-JP for qemu-devel@nongnu.org; Tue, 08 Aug 2006 05:58:37 -0400 From: Vincent Palatin Subject: Re: [Qemu-devel] Log I/O from host Parallel Port? Date: Tue, 8 Aug 2006 11:54:16 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608081154.16758.vincent.palatin_qemu@polytechnique.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Steve Ellenoff Cc: qemu-devel@nongnu.org On Tuesday 08 August 2006 11:05, Steve Ellenoff wrote: > Is there any easy way to log all I/O data reads & writes to/from the host > parallel port, when using the -parallel /dev/parport0 option? > > My host is connected via parallel port to some custom hardware and I'd like > to be able to diagnose why the hardware's not working, by seeing the data > stream of the port. Near the top of the file "hw/parallel.c", you can find the following line : //#define DEBUG_PARALLEL just uncomment it and rebuilt qemu, all parallel I/O will be written to stdout. (or feel free to modify the printf traces) -- Vincent