Parallel Port not working; are interrupts functional?
Posted: 20. Sep 2012, 16:30
Hi,
I am using a Windows XP host and Windows XP guest, with VirtualBox 4.2 r80737. I'm trying to get the parallel port to work with a dongle that is used to control an industrial machine. I have been unsuccessful so far, and I suspect the problem is related to the requirement for hardware interrupts to be passed to the virtual machine. Does VirtualBox properly pass hardware interrupts in version 4.2? I know VMware does not, so I figure there must be a good reason why. Can anyone enlighten me?
Other Things, Possibly Unrelated
1. In Device Manager, the parallel port lists both I/O ranges 0x378-0x37F and 0x778-0x77F, which is not correct. The base address should only be 0x378. My machine definition has this entry (which I set with VBoxManage.exe):
Everything else is correctly configured (IRQ, etc).
2. I also installed VirtualPC with the same setup. I could not get it to work either. However, if I run the equipment diagnostic software on both the Host (where it always works) and the Guest (where I want it to work), the Guest will cause the Host diagnostic software to fail. Which probably means that in VirtualPC, some data is getting through to the physical parallel port. I can't think of any other reason the Host software would be affected. In VirtualBox, the guest software does not affect the host.
3. The parallel port must (for my application) be configured as follows: In Device Manager, under Printer Port Properties, the Port Settings tab needs to show "Use any interrupt assigned to the port" and "Enable legacy Plug and Play detection" should be checked.
4. In the BIOS, I have the parallel port mode set to EPP. I also tried "EPP+ECP", but neither has worked. Theoretically, this application does not require anything specific.
Thanks for your ideas!
I am using a Windows XP host and Windows XP guest, with VirtualBox 4.2 r80737. I'm trying to get the parallel port to work with a dongle that is used to control an industrial machine. I have been unsuccessful so far, and I suspect the problem is related to the requirement for hardware interrupts to be passed to the virtual machine. Does VirtualBox properly pass hardware interrupts in version 4.2? I know VMware does not, so I figure there must be a good reason why. Can anyone enlighten me?
Other Things, Possibly Unrelated
1. In Device Manager, the parallel port lists both I/O ranges 0x378-0x37F and 0x778-0x77F, which is not correct. The base address should only be 0x378. My machine definition has this entry (which I set with VBoxManage.exe):
Code: Select all
<LPT>
<Port slot="0" enabled="true" IOBase="0x378" IRQ="7" path="LPT1"/>
<Port slot="1" enabled="false" IOBase="0x378" IRQ="7"/>
</LPT>2. I also installed VirtualPC with the same setup. I could not get it to work either. However, if I run the equipment diagnostic software on both the Host (where it always works) and the Guest (where I want it to work), the Guest will cause the Host diagnostic software to fail. Which probably means that in VirtualPC, some data is getting through to the physical parallel port. I can't think of any other reason the Host software would be affected. In VirtualBox, the guest software does not affect the host.
3. The parallel port must (for my application) be configured as follows: In Device Manager, under Printer Port Properties, the Port Settings tab needs to show "Use any interrupt assigned to the port" and "Enable legacy Plug and Play detection" should be checked.
4. In the BIOS, I have the parallel port mode set to EPP. I also tried "EPP+ECP", but neither has worked. Theoretically, this application does not require anything specific.
Thanks for your ideas!