Re: [PARPORT] Mysterious PCI Dual Parallel Port Card

From: Dave Farrance (dsf@technologist.com)
Date: Mon Nov 27 2000 - 16:46:24 EST

  • Next message: Dave Farrance: "Re: [PARPORT] Mysterious PCI Dual Parallel Port Card"

    On Sun, 26 Nov 2000 23:08:11 +0000, Tim Waugh wrote:

    >The output of 'lspci -nvv' would be handy, so that we can see which
    >I/O regions are in which base address registers (probably 0 and 1, but
    >you never know).

    Here ya go:

    00:09.0 Class 0701: 14db:2121 (prog-if 02)
            Subsystem: 14db:2121
            Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
    ParErr- Stepping- SERR- FastB2B-
            Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
    >TAbort- <TAbort- <MAbort- >SERR- <PERR-
            Interrupt: pin A routed to IRQ 5
            Region 0: I/O ports at a400
            Region 2: I/O ports at a000
            Capabilities: [a0] Power Management version 1
                    Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
                    Status: D0 PME-Enable- DSel=0 DScale=0 PME-

    >You could try this patch (against 2.2.18pre23, should apply to any
    >recent 2.2 kernel), which stands a reasonable chance of making it Just
    >Work:

    Eep! I'm not up to this yet.

    >..or you could just try:
    >
    ># dmesg -c > /dev/null
    ># insmod parport
    ># insmod parport_pc io=0xa000
    ># rmmod parport_pc
    ># insmod parport_pc io=0xa400
    ># rmmod parport_pc
    ># dmesg > output
    >
    >and show us the resulting 'output' file.

    parport0: PC-style at 0xa000 [SPP,PS2,EPP]
    parport_probe: succeeded
    parport0: Unspecified, EPSON S
    parport0: PC-style at 0xa400 [SPP,PS2,EPP]
    parport_probe: failed
    parport0: no IEEE-1284 device present.

    Great! That got the printer working. I've not tested the scanner yet.
    I'm getting the hang of this now.

    I've found and read the parport.txt document and so I edited
    conf.modules to add the line:

    options parport_pc io=0x378,0xa400,0xa000 irq=7,auto,auto

    And I'm up and running!

    --
    Best Regards - Dave Farrance
    

    -- 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 : Mon Nov 27 2000 - 19:45:13 EST