Page 1 of 1

LPT ECP problem

Posted: 11. Nov 2016, 14:23
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

Re: LPT ECP problem

Posted: 11. Nov 2016, 16:10
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;
  }

Re: LPT ECP problem

Posted: 11. Nov 2016, 16:43
by socratis
That's what I'd call "self-documenting code"!