[PARPORT] Re: ftape with Trakker parallel port

From: Jochen Hoenicke (Jochen.Hoenicke@Informatik.Uni-Oldenburg.DE)
Date: Thu Jul 06 2000 - 10:42:55 EDT

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

    On Jul 6, Claus-Justus Heine wrote:
    > 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 parport driver isn't even used, since ftape's fdc_parport.h only
    uses parport if CONFIG_PNP_PARPORT is set. This is fixed in
    ftape-4.03.

    But there is another bug in the auto irq detection for the non-parport
    case. It is in trakker.c line 1121 (ftape-4.03.tar.bz2):

                            trakker->IRQ = irq;

    This only sets the IRQ in the trakker structure, there should be
    another line after this:

                            trakker->IRQ = irq;
                            fdc->irq = irq;

    Claus, can you fix this? This is what led to the strange line in
    Tony's report:

    > [010] trakker.c (trakker_interrupt) - BUG: Wrong IRQ number (7/-1).

      Jochen

    -- 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 - 10:48:10 EDT