Re: [PARPORT] problem accessing EPP in address mode for a custom device

From: Christophe DELAERE (delaere@fynu.ucl.ac.be)
Date: Thu Nov 29 2001 - 12:18:34 EST

  • Next message: Tim Waugh: "Re: [PARPORT] problem accessing EPP in address mode for a custom device"

    Tim Waugh wrote:

    > > The first test code I've written (here after) doesn't succeed accessing
    > > the port in address mode.
    > > When I set the mode to EPP,
    > > The output of read/write is always -1, even for data.
    > > When I set the mode to EPPSWE,
    > > The output of read/write is always 0 . In data mode, it works fine (I
    > > see it on the device).
    >
    > Stupid question first: is CONFIG_PARPORT_1284 enabled in the kernel
    > configuration?
    >

    Yes, it is.

    Maybe I can give you more details about my configuration:
    I'm running RedHat 7.2 (I still doesn't have upgraded the kernel, so that the
    version is 2.4.7-10) on a AMD K6-2 300.
    I've recompiled the kernel including parport and ppdev in the kernel and
    setting CONFIG_PARPORT_1284 on.
    The EPP port is embedded in the PC Chips M577 motherboard (award bios).

    Christophe.

    --
    +-----------------------------------------------------------\|/---+
    | Christophe DELAERE            office: e253               !o o!  |
    | UCL - FYNU                    phone : 32-(0)10-473234    ! i !  |
    | chemin du cyclotron, 2        fax   : 32-(0)10-452183     `-'   |
    | 1348 Louvain-la-Neuve BELGIUM e-mail: delaere@fynu.ucl.ac.be    |
    +-----------------------------------------------------------------+
    

    -- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Thu Nov 29 2001 - 12:22:51 EST