[PARPORT] autoprobe information

From: stef (svoltz@wanadoo.fr)
Date: Thu Apr 13 2000 - 02:12:02 EDT

  • Next message: Tim Waugh: "Re: [PARPORT] ppdev and EPP mode"

            Hello,
            I have an HP3200C parallel port scanner and a Canon BJ-200ex
    printer daisy-chained. I noticed that the autoprobe information is only
    available (using an unknown class 'IMAGE') when my printer is switched
    on.
    When off, the autoprobe information is not available.

    Case 1, printer switched off:

    /proc/sys/dev/parport/parport0>cat autoprobe0
    /proc/sys/dev/parport/parport0>cat autoprobe
    /proc/sys/dev/parport/parport0>cat autoprobe1
    /proc/sys/dev/parport/parport0>cat autoprobe2
    /proc/sys/dev/parport/parport0>cat hardware
    base: 0x378 (0x778)
    irq: 7
    dma: 3
    modes: PCSPP,TRISTATE,EPP,ECP,DMA
    /proc/sys/dev/parport/parport0>cat spintime
    500

            Output from dmesg:

    0x378: FIFO is 16 bytes
    0x378: writeIntrThreshold is 16
    0x378: readIntrThreshold is 16
    0x378: PWord is 8 bits
    0x378: Interrupts are ISA-Pulses
    0x378: ECP port cfgA=0x10 cfgB=0x4b
    0x378: ECP settings irq=7 dma=3
    parport0: PC-style at 0x378 (0x778), irq 7, dma 3
    [PCSPP,TRISTATE,EPP,ECP,DMA]
    parport0: Found 1 daisy-chained devices
    parport0: Found 1 daisy-chained devices
    0x278: CTR: wrote 0x0c, read 0xff
    0x278: DATA: wrote 0xaa, read 0xff
    parport1: PC-style at 0x278 [PCSPP,TRISTATE]
    parport1: cpp_daisy: aa5500ff87(b8)
    parport1: assign_addrs: aa5500ff87(b8)
    parport1: cpp_daisy: aa5500ff87(b8)
    parport1: assign_addrs: aa5500ff87(b8)
    lp0: using parport0 (interrupt-driven).
    lp1: using parport1 (polling).

    Case 2, printer switched on:

    /proc/sys/dev/parport/parport0>cat autoprobe
    /proc/sys/dev/parport/parport0>cat autoprobe0
    CLASS:IMAGE;
    MODEL:Astra 1220P;
    MANUFACTURER:UMAX;
    DESCRIPTION:UMAX Astra 1220P;
    /proc/sys/dev/parport/parport0>

            Output from dmesg:

    0x378: FIFO is 16 bytes
    0x378: writeIntrThreshold is 16
    0x378: readIntrThreshold is 16
    0x378: PWord is 8 bits
    0x378: Interrupts are ISA-Pulses
    0x378: ECP port cfgA=0x10 cfgB=0x4b
    0x378: ECP settings irq=7 dma=3
    parport0: PC-style at 0x378 (0x778), irq 7, dma 3
    [PCSPP,TRISTATE,EPP,ECP,DMA]
    parport0: Found 1 daisy-chained devices
    parport0: No more nibble data (0 bytes)
    parport0: faking semi-colon
    parport0 probe: warning, class 'IMAGE' not understood.
    parport0 (addr 0): Unknown device, UMAX Astra 1220P
    parport0: Found 1 daisy-chained devices
    parport0: No more nibble data (0 bytes)
    parport0: faking semi-colon
    parport0 probe: warning, class 'IMAGE' not understood.
    parport0 (addr 0): Unknown device, UMAX Astra 1220P
    0x278: CTR: wrote 0x0c, read 0xff
    0x278: DATA: wrote 0xaa, read 0xff
    parport1: PC-style at 0x278 [PCSPP,TRISTATE]
    parport1: cpp_daisy: aa5500ff87(b8)
    parport1: assign_addrs: aa5500ff87(b8)
    parport1: cpp_daisy: aa5500ff87(b8)
    parport1: assign_addrs: aa5500ff87(b8)
    lp0: using parport0 (interrupt-driven).
    lp1: using parport1 (polling).

            BTW, my HP3200C is really a relabelled UMAX 1220P, I found a
    sticker '1220P' inside it, and it works flawlessly with 1220P drivers
    from
    the UMAX site.

    Stef

    -- 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 Apr 13 2000 - 02:07:15 EDT