Re: [PARPORT] how to stop imm probing printer port

From: Tim Waugh (
Date: Wed May 24 2000 - 05:06:17 EDT

  • Next message: Norbert Preining: "Re: [PARPORT] how to stop imm probing printer port"

    On Wed, May 24, 2000 at 10:22:40AM +0200, Norbert Preining wrote:

    > I have 2 parallel ports, one with a printer and one with a
    > zip (imm). I can tell lp to use parport1 (options lp parport=1), but
    > this is not possible with imm. And when imm is probing the parports
    > rubbish is sent to the printer, always a strange page with
    > strange symbols ;-)
    > Is it possible to tell imm somehow to use parport0?

    I'm afraid not. When someone writes a vpi2 for the ppscsi
    architecture, what you want will be possible. It's too late now to
    start adding new parameters. :-(

    For your own use, you could just put something in imm_detect like

    for (i = 0; pb; i++, pb = pb->next) {
        int modes, ppb;

        if (pb->number == 1)

    > WHY is the connection not made in EPP mode?
    > [root: ~] cat /proc/sys/dev/parport/parport0/hardware
    > base: 0x378 (0x778)
    > irq: 7
    > dma: 3

    Because it's faster to use bidirectional mode: your hardware offers
    assistance with ECP, but not with EPP (you can probably change this in
    the CMOS).

    > Finally my configuration:
    > linux-2.3.99-pre8, IOmega ZIP250, HP Laserjet 1100

    Out of interest, does the HP LJ have any device ID information of its
    own? Does parport report its name in the 'dmesg' output? I ask
    because an IEEE 1284-compliant device should just ignore imm's


    -- To unsubscribe, send mail to: --
    -- with the single word "unsubscribe" in the body of the message. --

    This archive was generated by hypermail 2b29 : Wed May 24 2000 - 05:32:44 EDT