[PARPORT] lexmark z31 problems

From: Paweł Krawczyk (kravietz@alfa.ceti.pl)
Date: Wed Nov 22 2000 - 20:30:10 EST

  • Next message: Rob Levy: "[PARPORT] IDE Disk Capacity > 8GB via parallel port"

    I'm experiencing problems with Lexmark Z31 printer connected to a Linux
    box. The printer is working correctly from Windoze. Everything seems to
    be detected properly on both 2.2.17-mdk1 and custom 2.4.0-test11.

    0x378: FIFO is 16 bytes
    0x378: writeIntrThreshold is 8
    0x378: readIntrThreshold is 8
    0x378: PWord is 8 bits
    0x378: Interrupts are ISA-Pulses
    0x378: possible IRQ conflict!
    0x378: ECP port cfgA=0x10 cfgB=0x00
    0x378: ECP settings irq=<none or set by other means> dma=<none or set by other means>
    parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
    parport0: cpp_daisy: aa5500ff(98)
    parport0: assign_addrs: aa5500ff(98)
    parport0: No more nibble data (0 bytes)
    parport0: faking semi-colon
    parport0: Printer, Lexmark Lexmark Z31
    parport_pc: Via 686A parallel port: io=0x378, irq=7, dma=3
    lp0: using parport0 (interrupt-driven).

    I use LPRng with original Lexmark Linux drivers for Z52 (cjlx52le.tar.gz).
    The problem is that the printer is actually not printing anything, though
    it seems to receive the data:

    lp 1327 1.3 13.1 9352 8272 ? S 02:18 0:07 /usr/local/lexmark/z52/z52 --output blackonly --config z52.conf --dot
    kravietz 1351 0.0 0.8 1092 524 ? S 02:21 0:00 gnome-pty-helper
    root 1387 0.0 0.8 1312 516 pts/0 S 02:27 0:00 grep lp
    [root@bronowice kravietz]# strace -p 1327
    write(1, "+\377\0\20/\377/\377/\377+\377\0@+\377\0\20/\377/\377+"..., 3097) = 3097
    write(1, "\377\0\200*\377\0 \0\200.\377\0 /\377*\377\0\10\0 +\377"..., 4096) = 4096
    write(1, "w\2\0\10\0\0\200.\367\4\0\2\0/\367\3\0/\375\n\0.\373\10"..., 4096 <unfinished ...>

    In dmesg I find such messages ocassionally:

    parport0: BUSY timeout (-4) in compat_write_block_pio

    And the printer is silent.

    Could you suggest what I am doing wrong? Thanks in advance.

    -- 
    Paweł Krawczyk <http://ceti.pl/~kravietz/>
    

    -- 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 : Wed Nov 22 2000 - 20:34:42 EST