EPP parallel port

Discussion in 'Windows Vista Drivers' started by Konstantin Kuzvesov, Jun 23, 2005.

  1. Hello,

    A few years ago I have built a simple device that was communicating
    the parallel port in EPP mode.

    At that time I was working under DOS, the port had been programmed
    directly, so there was no need in such complications as EPP mode
    negotiation.

    Now I want to migrate my device to Windows. Using standard Windows
    drivers - I don't want to write any of my own.

    I have implemented port mode negotiations as they're described at
    http://www.fapo.com/negoti8.htm. After negotiating EPP mode with
    DeviceIoControl(IOCTL_IEEE1284_NEGOTIATE) the port's mode sets to
    EPP_SW both reading and writing, but when I'm trying to write a byte
    to port, WriteFile returns error 1 - INVALID_FUNCTION. Why?

    I looked at parallel.sys source code in NT4 DDK, but I have not found
    there any things related to EPP/ECP. Is there source code of parallel
    port driver in Windows 2000 DDK?
     
    Konstantin Kuzvesov, Jun 23, 2005
    #1
    1. Advertisements

  2. Konstantin Kuzvesov

    Lynn McGuire Guest

    A few years ago I have built a simple device that was communicating
    http://www.lvr.com/parport.htm

    Lynn
     
    Lynn McGuire, Jun 23, 2005
    #2
    1. Advertisements

  3. A few years ago I have built a simple device that was communicating
    LM> http://www.lvr.com/parport.htm
    I was there. I am famous with parallel port standards.
    I have no IEEE 1284 original, but I read its publication on
    www.fapo.com.

    I should also mention, that under DOS parallel port was used in
    hardware EPP - all handshaking and strobing was done automatically by
    port's hardware. This is to kill possible doubts that my device is
    doing something wrong.
     
    Konstantin Kuzvesov, Jun 23, 2005
    #3
  4. I've got another question: how USB parallel ports are programmed?
    Is the work done by standard parport and parclass drivers, or USB
    ports have their own and parclass driver just redirects all requests
    to them?
     
    Konstantin Kuzvesov, Jun 23, 2005
    #4
  5. LM>> http://www.lvr.com/parport.htm
    KK> I was there. I am famous with parallel port standards.
    Sorry, this is due to my bad English :)
    I should say that I'm familar with standards :)
     
    Konstantin Kuzvesov, Jun 23, 2005
    #5
    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.