[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-users] Parallel Port passthrough to Windows 2000 on Xen 4.1
Hi all,
I've been trying to get a parallel port passed through to a MS
Windows 2000 domU for the past few weeks with no real success.
grep parport /proc/interrupts
5: 5 0 0 0
xen-pirq-ioapic-edge parport0
So it is using IRQ5
cat /proc/ioports |grep parport
0378-037a : parport0
So it is using the range 0378 - 037a
I added to the domU config file:
irq = [ 5 ]
ioports = [ "378-37a" ]
Then, windows will see the ioport, and create a xen device for these
ports, it will see a separate device with IRQ 5 and add another xen
device. I don't seem to be able to make both the ioport and IRQ a
single device.
However, it seems the parallel port doesn't need an IRQ, so I tried
to setup the ioport device as a Printer Port, but get a yellow
triangle.
Finally, I found that qemu provides a "virtual" lpt1 which is using
the same ioport range, so possibly this is causing the problem (ie,
the same range of ioports are virtual and passthrough).
So, the question is, how can I disable the qemu virtual lpt1 port,
and then hopefully passthrough the ioport range.
Or, another option is this URL:
http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:qemu
[quote]
If you need to print to a printer that is attached to the host
computer's parallel port, you will have to pass an additional
parameter on the qemu command line, like this:
qemu -parallel /dev/parport0 <other qemu parameters>
You might not have this device node /dev/parport0
available on your host, but QEMU requires the parallel port device
name to start with the string parport. If your parallel
port is called lp0 you can easily create a symbolic link
called “parport0” to that device by running
[/quote]
How can I get qemu to do this?
All of this is to get a simple dot-matrix printer working :(
I'm using xen from debian testing
dpkg -l | grep xen
ii libxen-4.1 4.1.3-6
amd64 Public libs for Xen
ii libxenstore3.0 4.1.3-6
amd64 Xenstore communications library for Xen
ii xen-hypervisor-4.1-amd64 4.1.3-6
amd64 Xen Hypervisor on AMD64
ii xen-system-amd64 4.1.3-6
amd64 Xen System on AMD64 (meta-package)
ii xen-utils-4.1 4.1.3-6
amd64 XEN administrative tools
ii xen-utils-common 4.1.3-6
all Xen administrative tools - common files
ii xenstore-utils 4.1.3-6
amd64 Xenstore utilities for Xen
Thank you for your assistance/suggestions.
Regards,
Adam
--
Adam Goryachev
Website Managers
www.websitemanagers.com.au
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|