From: Trev Jackson <trev@g7pvs.freeserve.co.uk>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Parallel Port Support
Date: Tue, 13 Dec 2005 20:59:56 +0000 [thread overview]
Message-ID: <200512132059.56431.trev@g7pvs.freeserve.co.uk> (raw)
In-Reply-To: <200512131708.28084.trev@g7pvs.freeserve.co.uk>
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
next prev parent reply other threads:[~2005-12-13 20:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-13 17:08 [Qemu-devel] Parallel Port Support Trev Jackson
2005-12-13 20:59 ` Trev Jackson [this message]
2005-12-13 21:41 ` Oliver Gerlich
2005-12-13 22:15 ` Trev Jackson
2005-12-13 22:26 ` Oliver Gerlich
2005-12-14 8:33 ` Johannes Schindelin
2005-12-14 14:46 ` Andreas Schwab
2005-12-14 16:00 ` Trev Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200512132059.56431.trev@g7pvs.freeserve.co.uk \
--to=trev@g7pvs.freeserve.co.uk \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).