Re: [PARPORT] problems with parallel port card

From: Kelly Black (black@sunfs.math.usu.edu)
Date: Sun May 20 2001 - 15:24:23 EDT

  • Next message: Pete Rossi: "[PARPORT] Parallel port problems"

    Philip,

    By the way, thank you for the very rapid replies.
    I tried dmesg, and it did give some useful info:

    ...stuff deleted...
    0x378: FIFO is 16 bytes
    0x378: writeIntrThreshold is 8
    0x378: readIntrThreshold is 8
    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 [PCSPP,TRISTATE,COMPAT,ECP]
    parport0: cpp_mux: aa55f00f52ad51(00)
    parport0: Found 1 daisy-chained devices
    parport1: PC-style at 0x1078, irq 3 [PCSPP]
    parport1: cpp_daisy: aa5500ff(18)
    parport1: assign_addrs: aa5500ff(18)
    parport1: Printer, Lexmark Lexmark 5700
    ...stuff deleted...

    This all looks correct. So it looks like it is detecting the card.
    When I try to use lpr it does not print. (lpd does not give any
    messages when it starts up.) When I do an lpq I get the following:

    [root@kjblack init.d]# lpq -Plp1
    Printer: lp0@kjblack@dorms
     Queue: no printable jobs in queue
     Filter_status: waiting for lp to become ready (offline ?)

    Moreover, when I try to do something like 'cat /etc/fstab > /dev/lp1'
    the machine hangs up.

    Now I really don't know what to look for! :-o

    Kel

    On Sun, May 20, 2001 at 08:07:23PM +0100, Philip Blundell wrote:
    > >I tried it, and it didn't print out anything:
    > >
    > >[root@kjblack black]# /sbin/modprobe parport
    > >[root@kjblack black]# /sbin/modprobe parport_pc
    > >[root@kjblack black]# /sbin/modprobe lp
    >
    > Try `dmesg' and see if you get any parport-related output.
    >
    > p.
    >
    >

    -- 
    _______________________________________________________          __o
    Kelly Black                                            \       _`\<,_
    Dept. of Math. and Stat.        FAX:   (435) 797-1822   \_____(_)/ (_)
    Utah State University           e-mail: black@math.usu.edu
    3900 University Blvd.           WWW: http://www.math.usu.edu/~black
    Logan UT 84322-3900
    

    -- 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 : Sun May 20 2001 - 15:26:12 EDT