LPT ECP problem

This is for discussing general topics about how to use VirtualBox.
Post Reply
Vojta
Posts: 1
Joined: 11. Nov 2016, 13:49

LPT ECP problem

Post by Vojta »

Hello,

LTP is configured in Bios on host (win10)to ECP and guest system (winXP sp3) is cofigured by cmd commands:

Code: Select all

VBoxManage modifyvm "Windows XP SP3" --lptmode1 "LPT1:"
VBoxManage modifyvm "Windows XP SP3" --lpt1 0x378 7
(in host it is LPT1 and address is 0x378)

After use of this i see in guest LPT port but not ECP LTP port. I tried communicate with device, but there was no response.

Is it possible to have ECP mode configured in Virtual Box? If yes, how to configure it?

Thanks for the reply
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: LPT ECP problem

Post by mpack »

Looking at the source code, I'd say that ECP mode is not supported.
DrvHostParallel.cpp wrote:
  switch (enmMode) {
    case PDM_PARALLEL_PORT_MODE_SPP:
      iMode = IEEE1284_MODE_COMPAT;
      break;
    case PDM_PARALLEL_PORT_MODE_EPP_DATA:
      iMode = IEEE1284_MODE_EPP | IEEE1284_DATA;
      break;
    case PDM_PARALLEL_PORT_MODE_EPP_ADDR:
      iMode = IEEE1284_MODE_EPP | IEEE1284_ADDR;
      break;
    case PDM_PARALLEL_PORT_MODE_ECP:
    case PDM_PARALLEL_PORT_MODE_INVALID:
    default:
      return VERR_NOT_SUPPORTED;
  }
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: LPT ECP problem

Post by socratis »

That's what I'd call "self-documenting code"!
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply