Re: [PARPORT] ECP mode transfers in 2.4.x kernels

From: Dave Strauss (dstrauss@mail.wm.sps.mot.com)
Date: Fri Aug 17 2001 - 10:10:07 EDT

  • Next message: Wendy Schafer: "[PARPORT] Through port - zip & printer"

    On Fri, 17 Aug 2001 09:22:35 +0100, Tim Waugh <twaugh@redhat.com> wrote:
    >
    > On Thu, Aug 16, 2001 at 05:40:27PM -0400, Dave Strauss wrote:
    >
    > > Sorry for my ignorance, but how do I give parport_pc those options?
    > > Do they go in modules.conf? And if so, what do I put there?
    >
    > Yes. Put 'options parport_pc irq=auto dma=auto' in there.
    >
    > Tim.
    > */
    >

    Ah, much much better. I'm now getting more that 350Kbytes/sec
    (depending on the printer and the test file, of course). Even better,
    the garbage data is no more. I have to think that this means that the
    ECP emulation code still has problems.

    Other clues that dma is being used:

        dmesg
           [ ... ]
           lp0: using parport0 (interrupt-driven).

    Also:
         cat /proc/dma
           3: parport0
           4: cascade

    and:
         cat /proc/interrupts
                 CPU0
               [ ... ]
        7: 39298 XT-PIC parport0
               [ ... ]

    -- 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 : Fri Aug 17 2001 - 12:06:31 EDT