Could not get direct access to the host parallel port

Discussions related to using VirtualBox on Windows hosts.

Could not get direct access to the host parallel port

Postby MBTM » 6. Dec 2018, 19:01

I am looking for some help with the parallell device on my VM. I have added a PCIe Parallell card the host because it does not have Parallel on the motherboard. I had to install the drivers for this card as windows did not install it automatally. Once installed I made sure that it was set to LPT1 in the device manager and I added the parallel device to my VM using the following commands

VBoxManage modifyvm "VMName" --lptmode1 "LPT1:"
VBoxManage modifyvm "VMName" --lpt1 0x378 7

I get the following message when I try to start my VM. ( I have tried running as administrator and it is the same result)
HostParallel#0: Could not get direct access to the host parallel port!! (rc=VERR_INTERNAL_ERROR_3) (VERR_INTERNAL_ERROR_3).
Parallel device 0 cannot attach to host driver (VERR_INTERNAL_ERROR_3).

Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

Host OS: Windows 7 x64
Guest OS: MS-DOS 6.2
VirtualBox 5.2.18 r124319 (Qt5.6.2)

P.S. The guest will not have a network connection so adding a printer over the network isnrt really an option.

Any help would be greatly appreciated
MBTM
 
Posts: 1
Joined: 6. Dec 2018, 18:50

Re: Could not get direct access to the host parallel port

Postby socratis » 6. Dec 2018, 21:02

MBTM wrote:P.S. The guest will not have a network connection so adding a printer over the network isnrt really an option.

Not even a Host-Only networking option? With a Host-Only connection the guest will have access to the host's resources. Only. No internet, no LAN, no nothing else. So you could explore that option of connecting the printer to the host and then sharing it.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 21989
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Could not get direct access to the host parallel port

Postby bnn » 13. Dec 2018, 13:29

I have the same problem.

Host OS: Windows 10 x64
Guest OS: Windows 7 x86
VirtualBox 5.2.22 r126460 (Qt5.6.2)

And you need to connect an oscilloscope with a parallel port, and you cannot define it as a network device.
bnn
 
Posts: 1
Joined: 13. Dec 2018, 13:23
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: MS Windows 7

Re: Could not get direct access to the host parallel port

Postby mpack » 13. Dec 2018, 14:14

The FAQ Howto: Enabling and Configuring Parallel (LPTx) Ports contains the extent of our knowledge of the subject.
mpack
Site Moderator
 
Posts: 28573
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 32 guests