From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EmZ4y-0004QX-2m for qemu-devel@nongnu.org; Wed, 14 Dec 2005 11:02:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EmZ4o-0004Hf-Ts for qemu-devel@nongnu.org; Wed, 14 Dec 2005 11:02:01 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmZ3w-0003ZB-7p for qemu-devel@nongnu.org; Wed, 14 Dec 2005 11:01:04 -0500 Received: from [193.252.22.156] (helo=smtp3.freeserve.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EmZ61-0007sY-R6 for qemu-devel@nongnu.org; Wed, 14 Dec 2005 11:03:14 -0500 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3209.me.freeserve.com (SMTP Server) with ESMTP id 84D1B9400090 for ; Wed, 14 Dec 2005 17:00:24 +0100 (CET) Received: from modem-1748.lemur.dialup.pol.co.uk (modem-1748.lemur.dialup.pol.co.uk [217.135.134.212]) by mwinf3209.me.freeserve.com (SMTP Server) with ESMTP id 043CB94000A4 for ; Wed, 14 Dec 2005 17:00:21 +0100 (CET) From: Trev Jackson Subject: Re: [Qemu-devel] Parallel Port Support Date: Wed, 14 Dec 2005 16:00:40 +0000 References: <200512131708.28084.trev@g7pvs.freeserve.co.uk> <200512132215.35182.trev@g7pvs.freeserve.co.uk> <439F4A94.2060004@gmx.de> In-Reply-To: <439F4A94.2060004@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200512141600.40804.trev@g7pvs.freeserve.co.uk> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > > > > Thanks for the answer > > > > The snapshot appears to be 46 bytes in size. > > Wow... looks like Fabrice stripped down Qemu to its bare minimum during > the past days ;) > > Seriously, probably the script which downloads the CVS version every day > broke somehow... But I can confirm that it still worked on 2005-12-07, > though. > > > I would be grateful if you would let me know how to download from CVS or > > how to download the snapshot without it downloading only 46 bytes. > > On the Qemu website, on the links page, there's a link to the page which > also hosts the Qemu CVS. The quick link to the relevant page is probably > http://savannah.nongnu.org/cvs/?group=3Dqemu > > Regards, > Oliver > Hi I have now downloaded the CVS version of the driver. I have edited parallel.c and uncommented the #define DEBUG_PARALLEL so that= =20 the parallel port reads and writes are reported. I have run qemu as follows: $ qemu -parallel /dev/parport0 -net none -enable-audio -localtime -boot c=20 windows.img 1>printer.txt The file printer.txt contains lots of printer port reads and writes i.e. it= is=20 1216 lines long, however I am still getting the "scanner not found" error=20 from windows. I believe the scanner driver is expecting the parallel port to be set to EP= P,=20 mode. I don't know enough about the parallel port and the emulation softwar= e=20 to know what it is emulated as at the moment. =46rom the looks of the file a lot of the reads occur 8 times with the same= =20 value read back all 8 times, so I would guess the code is expecting the val= ue=20 to change and it isn't so I am not sure if it is a speed problem - although= I=20 wouldn't have thought so because the scanner worked OK on my old 200MHz=20 computer and my current computer is more than 10 times faster than that so= =20 the emulation layer shouldn't slow it down that much. Any further advice would be gratefully received. Best Regards Trev