[PARPORT] Re: ftape with Trakker parallel port

From: Claus-Justus Heine (heine@instmath.RWTH-Aachen.DE)
Date: Thu Jul 06 2000 - 10:29:38 EDT

  • Next message: Claus-Justus Heine: "[PARPORT] Re: ftape with Trakker parallel port"

    Hi Tony,

    > These are the relevant setting from /usr/src/linux/.config
    > I had been advised not to enable PNP, in general. I guess
    > I need to, in order to use Ftape with Trakker. Will get
    > to that now.
    >
    >
    > CONFIG_PARPORT=m
    > CONFIG_PARPORT_PC=m
    > # CONFIG_PARPORT_OTHER is not set
    >
    > # Plug and Play support
    > #
    > # CONFIG_PNP is not set

    This alone does not suffice. It seems that the parport driver is not
    able to detect the interrupt automatically.

    The linux-2.2.x Documentation/parport.txt contains the following
    example for /etc/modules.conf:

            alias parport_lowlevel parport_pc
            options parport_pc io=0x378,0x278 irq=7,auto

    >From the same source of documentation:

    You can pass parameters to the parport code to override its automatic
    detection of your hardware. This is particularly useful if you want
    to use IRQs, since in general these can't be autoprobed successfully.
    By default IRQs are not used even if they _can_ be probed. This is
    because there are a lot of people using the same IRQ for their
    parallel port and a sound card or network card.

    So, assuming you have a single parallel port located at 0x378 using
    irq 7, you should add the following to /etc/modules.conf:

            alias parport_lowlevel parport_pc
            options parport_pc io=0x378 irq=7

    Or, if you trust irq auto-detection:

            alias parport_lowlevel parport_pc
            options parport_pc io=0x378 irq=auto

    Good luck

    Claus

    -- 
    Claus-Justus Heine                    Phone: +49 241 804923
    Institute for Mathematics
    Templergraben 55                      Fax:   +49 241 8888 323
    RWTH Aachen
    52062 Aachen, Germany  
    

    -- 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 Jul 06 2000 - 13:04:25 EDT