Re: [PARPORT] Unsupported PCI card?

From: Jamarsa (jamarsa01@terra.es)
Date: Thu Jun 14 2001 - 17:44:48 EDT

  • Next message: Russel Ingram: "[PARPORT] Re: Attention anyone using the pt driver"

    On Wed, Jun 13, 2001 at 05:38:06 EDT, Tim Waugh wrote:
    >
    > (From Jamarsa)
    >> I have found, in a customer PC, a dual port PCI card that seems
    unsupported
    >> in Linux 2.4.3
    >> Is there a patch anywhere? (I have looked at Tim's page already).
    >
    >
    >I haven't seen this card reported before.
    >
    >
    >> The data (I didn't know the lspci -vv option, sorry):
    >
    >
    >Without that information, it's impossible to add support without a lot
    >of trial and error. Don't you have /sbin/lspci installed? It comes
    >from the pciutils package on my system.
    >

    The result of lspci -vv for this card (at last):

    00:10.0 Serial controller: PLX Technology, Inc.: Unknown device 1147 (rev
    02) (prog-if 00 [8250])
    Subsystem: PLX Technology, Inc.: Unknown device 1147
    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 11
    Region 0: Memory at d9000000 (32-bit, non-prefetchable) [size=128]
    Region 1: I/O ports at d800 [size=128]
    Region 2: I/O ports at dc00 [size=4]
    Region 3: I/O ports at e000 [size=4]
    Expansion ROM at <unassigned> [disabled] [size=2K]
    >> parport1: PC-style at 0xd800 [PCSPP,EPP]
    >> parport1: cpp_daisy: aa5500ff87(b8)
    >> parport1: assign_addrs: aa5500ff87(b8)
    >> parport1: cpp_daisy: aa5500ff87(b8)
    >> parport1: assign_addrs: aa5500ff87(b8)
    >> parport2: PC-style at 0xe000 [PCSPP,TRISTATE]
    >> parport2: cpp_mux: aa55f00f52ad51(88)
    >> parport2: cpp_daisy: aa5500ff(88)
    >> parport2: assign_addrs: aa5500ff(88)
    >> parport2: cpp_mux: aa55f00f52ad51(88)
    >> parport2: cpp_daisy: aa5500ff(88)
    >> parport2: assign_addrs: aa5500ff(88)
    >> lp0: using parport0 (polling).
    >> lp1: using parport1 (polling).
    >> lp2: using parport2 (polling).
    >
    >
    >Did these ports work?
    >
    >
    >Tim.
    >*/
    >
    No, they didn't work with the original parport_pc (only lp0,
    of course in the motherboard).

    After that, I tried to cheat the parport_pc PCI list adding an
    entry like this:

    { PCI_VENDOR_ID_PLX, 0x1147,
    PCI_ANY_ID, PCI_ANY_ID, 0,0, plx_9050 },

    cloning the PLX 9050 entry and replacing the IDs
    (I know it can be a silly thing, but I'm not experienced in hacking the
    kernel)
    Rebuilt module, reload with io=0x378,0xd800,0xe000 and I got apparently
    no errors in the detection phase, but the printer still didn't seem to work.

    >
    >
    >> Dual Parallel card with PCI-ID 10b5:1147
    >
    >
    >No serial ports?
    >
    >
    >
    >
    >
    >

    I'm not sure, but I think there are no serial ports in this card; I didn't
    see serial connectors, and no extra serial ports in the MSWin hardware list;
    but they could be disabled anyway.

    If you need additional data or tests, please tell me.
    Thanks a lot for your help,

    Javier Santamarta.

    -- 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 Jun 14 2001 - 17:57:22 EDT