Unable to use Parallel port passthrough
Posted: 21. Feb 2013, 20:01
Dear All,
I'm trying to setup a parallel port passthrough using a 32-bit Windows XP guest on VirtualBox 4.2.6 r82870 (my host is a Windows 7 Ultimate 32-bit).
I have a PCI expansion card with 2 serial and 1 parallel port (I am only interested in the parallel port...). After installing the driver for this PCI card, Windows 7 shows me the following ports (Device Manager):
PCI_COM (COM7) - I/O range B020-B027 and IRQ 0x14 (20)
PCI_COM (COM8) - I/O range B030-B037 and IRQ 0x14 (20)
PCI_LPT(LPT1) - I/O range B010-B017 and IRQ not specified
I have tested them and they are running. The guest (Windows XP), shows me one parallel port ("by default", before doing anything):
Printer port (LPT1) - I/O range 0x0378-037F AND 0x0778-077F. IRQ not specified.
I've tried enabling the port in VirtualBox with these commands:
vboxmanage modifyvm "My_VB" --lptmode1 LPT1
vBoxManage modifyvm "My_VB" --lpt1 0x0378 7
and a lots of commands with the IRQ and I/O range previously mentioned. And so... absolutely nothing happens with the guest machine. Here is a little part of my vbox file:
<LPT>
<Port slot="0" enabled="true" IOBase="0x378" IRQ="7" path="LPT1"/>
<Port slot="1" enabled="false" IOBase="0x378" IRQ="4"/>
</LPT>
2 questions:
1) What combination of IRQ and base address do you suggest?
2) Does the guest show something when the parallel port runs? Does the Device Manager show something?
Thanks,
DLuca
I'm trying to setup a parallel port passthrough using a 32-bit Windows XP guest on VirtualBox 4.2.6 r82870 (my host is a Windows 7 Ultimate 32-bit).
I have a PCI expansion card with 2 serial and 1 parallel port (I am only interested in the parallel port...). After installing the driver for this PCI card, Windows 7 shows me the following ports (Device Manager):
PCI_COM (COM7) - I/O range B020-B027 and IRQ 0x14 (20)
PCI_COM (COM8) - I/O range B030-B037 and IRQ 0x14 (20)
PCI_LPT(LPT1) - I/O range B010-B017 and IRQ not specified
I have tested them and they are running. The guest (Windows XP), shows me one parallel port ("by default", before doing anything):
Printer port (LPT1) - I/O range 0x0378-037F AND 0x0778-077F. IRQ not specified.
I've tried enabling the port in VirtualBox with these commands:
vboxmanage modifyvm "My_VB" --lptmode1 LPT1
vBoxManage modifyvm "My_VB" --lpt1 0x0378 7
and a lots of commands with the IRQ and I/O range previously mentioned. And so... absolutely nothing happens with the guest machine. Here is a little part of my vbox file:
<LPT>
<Port slot="0" enabled="true" IOBase="0x378" IRQ="7" path="LPT1"/>
<Port slot="1" enabled="false" IOBase="0x378" IRQ="4"/>
</LPT>
2 questions:
1) What combination of IRQ and base address do you suggest?
2) Does the guest show something when the parallel port runs? Does the Device Manager show something?
Thanks,
DLuca