How to set the parallel port into ECP mode?

Discussion in 'Windows Vista Drivers' started by Manfred Wilner, Jul 28, 2003.

  1. We have found that the parallel port seems to work
    exclusively in compatible mode even so the pinter is
    capable of ECP mode.
    It seems that every time the PC is initiating the
    parallel port it has to agree on a mode to be in with but
    it is not making any efforts to change into ECP mode.
    Can anyone tell me how to convince the PC (driver) to
    switch the PC parallel chip into ECP mode. Just setting
    the BIOS into ECP is not good enough.

    Do we have to write our own LPT low level driver?
    Can Microsoft help us to do this?
    Is there a hidden setting in the Registry to enforce ECP
    mode vs. compatible mode?

    All help and ideas are very much appreciated in this
    regard.

    Best regards,
    /Manfred
     
    Manfred Wilner, Jul 28, 2003
    #1
    1. Advertisements

  2. Can anyone tell me how to convince the PC (driver) to
    Is it looking as ECP port in the Device Manager?

    Max
     
    Maxim S. Shatskih, Jul 28, 2003
    #2
    1. Advertisements

  3. Try looking in parallel port driver sources in the DDK.
     
    Maxim S. Shatskih, Jul 29, 2003
    #3
  4. Manfred Wilner

    s.kim Guest

    In order to change into ECP mode,
    you should change the content of ECR Register which is on
    the base address + 0x402.

    Example:

    // Change to ECP Mode
    i = Base_address + 0x402;
    out32 (i, 0x60);

    // MSB 000x xxxx : SPP
    // 001x xxxx : PS/2
    // 100x xxxx : EPP
    // 011x xxxx : ECP

    Best regards
     
    s.kim, Oct 3, 2003
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.