Well, I follow all the technique describe previously and I managed to start a virtual XP machine on a Linux host (Debian). I use a VirtualBox version 4.1.16
So I do the following step :
1) modify the machineName.vbox
<Port slot="0" enabled="true" IOBase="0x378" IRQ="7" path="/dev/parport0"/>
<Port slot="1" enabled="false" IOBase="0x778" IRQ="7"/>
(I found the adress and irq value in the proc filesystem)
2) manage the machine with the following command
VBoxManage setextradata machineName "VBoxInternal/Devices/parallel/0/Config/IRQ" 7
VBoxManage setextradata machineName "VBoxInternal/Devices/parallel/0/Config/IOBase" 0x378
VBoxManage setextradata machineName "VBoxInternal/Devices/parallel/0/LUN#0/Driver" HostParallel
VBoxManage setextradata machineName "VBoxInternal/Devices/parallel/0/LUN#0/Config/DevicePath" /dev/parport0
3) prepare exclusive access on parport :
chmod 666 /dev/parport0
4) start my machineName
At a first glance, it seems to work, as the machine start, and as I can check the LPT port is found on the System/Device panel configuration. But I can't use the parallel port for my wish : use an old embedded C compilator which is protected with a sentinel dongle. The sentinel driver can't find the sentinel key.
As a test, I decided to use a lpt.exe software found on this page. neilDOTfraserDOTname/software/lpt/
(sorry, I can't post directly the address, as this is my first day on this forum
I put a led with de resistor on one port of the parallel port connector, and try to drive it directly with the software lpt.exe. Where it works well on a real XP machine, it doesn't on my virtual machine.
So few questions :
- Is there mistake or something that I forget in my configuration ?
- Is there anybody as ever report a success on using a parallel sentinel dongle with VirtualBox ?
- Is it possible to test my parallel port with any other software, method ?
Thanks for your help, I really need to use this old compilator.