From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EmHEi-0004Mq-Pz for qemu-devel@nongnu.org; Tue, 13 Dec 2005 15:59:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EmHEh-0004Lo-4m for qemu-devel@nongnu.org; Tue, 13 Dec 2005 15:59:00 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmHEg-0004Lg-Ox for qemu-devel@nongnu.org; Tue, 13 Dec 2005 15:58:58 -0500 Received: from [193.252.22.156] (helo=smtp3.freeserve.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EmHGd-0000yD-N5 for qemu-devel@nongnu.org; Tue, 13 Dec 2005 16:01:00 -0500 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3202.me.freeserve.com (SMTP Server) with ESMTP id B35811C000A5 for ; Tue, 13 Dec 2005 21:58:21 +0100 (CET) Received: from modem-967.lemur.dialup.pol.co.uk (modem-967.lemur.dialup.pol.co.uk [217.135.131.199]) by mwinf3202.me.freeserve.com (SMTP Server) with ESMTP id 276E71C0008D for ; Tue, 13 Dec 2005 21:58:20 +0100 (CET) From: Trev Jackson Subject: Re: [Qemu-devel] Parallel Port Support Date: Tue, 13 Dec 2005 20:59:56 +0000 References: <200512131708.28084.trev@g7pvs.freeserve.co.uk> In-Reply-To: <200512131708.28084.trev@g7pvs.freeserve.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512132059.56431.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 Hi everyone I looked at the code (vl.c) and I don't know if I am missing something, but as far as I can see unless the parameter passed to -parallel is either "vc" "null" "pty" or "stdio" the function qemu_chr_open function that is called returns null, which sets parallel_hds[0] to null, which in turn causes the error message "qemu: could not open parallel device" to print and exit the program. Best Regards Trev On Tuesday 13 Dec 2005 17:08, Trev Jackson wrote: > Hi > > I have also posted this (QEMU for Linux //// has anyone got their parallel > port working?) on the QEMU forum regarding this, but since I understand > parallel port support is recent I thought It might be useful to post on the > development list as well. > > I am trying to capture my parallel port scanner setup data so a Linux > driver can be written, (portmon for windows doesn't capture anything). > > I cannot currently get the scanner working on windows 98SE running on QEMU. > > I first downloaded the QEMU binary, but QEMU wouldn't run with the parallel > port option enabled: > > # qemu -parallel /dev/parport0 -dummy-net -enable-audio -localtime -boot c > windows.img > Could not open '/dev/kqemu' - QEMU acceleration layer not activated > qemu: could not open parallel device '/dev/parport0' > > I did the following to create the /dev/parport0 device: > > modprobe parport-pc && modprobe ppdev > rmmod lp > > I then ran > makedev /dev > > and that created /dev/parport0 to /dev/parport7 > > I have now built QEMU 0.7.2 from source and am getting a similar error > message: > > # qemu -parallel /dev/parport0 -dummy-net -enable-audio -localtime -boot c > windows.img > qemu: could not open parallel device '/dev/parport0' > > Is this a problem with my set up or does this problem occur with everyones. > > Best Regards > > Trev > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel