[PARPORT] SIIG single parallel port PCI card under redhat 7.2

From: Megan Pengelly (megan@columbia.edu)
Date: Wed Apr 10 2002 - 14:49:21 EDT

  • Next message: W. Robert Kellock: "Re: [PARPORT] HP 710C printer daisy chained via parallel Zip 100 drive produces kernel Oops"

    I've read through the archives for this list and perused the internet at
    large, but am still unable to figure out why my SIIG single port PCI card
    isn't responding on my redhat7.2 machine with the default 2.4.7-10 kernel.

    It has a dongle attached to it that's used for licensing some software
    we run here, and the machine itself is an IBM eServer, xSeries 232.
    (Which, by the way, has no parallel port built into the motherboard, hence
    the parallel port card) The problem is that redhat seems to see the card
    ok, but the software complains of not being able to see the license
    dongle. I do know that the software checks LPT1, LPT2 and LPT3 for the
    dongle from the vendor.

    [root@box root]# cat /proc/pci
      Bus 1, device 3, function 0:
        Parallel controller: Siig Inc CyberParallel (1-port) (rev 0).
          IRQ 10.
          I/O at 0x2040 [0x2047].
          I/O at 0x2048 [0x204b].
    [root@box root]# dmesg
    PCI parallel port detected: 131f:2020, I/O at 0x2040(0x2048)
    0x2040: FIFO is 16 bytes
    0x2040: writeIntrThreshold is 7
    0x2040: readIntrThreshold is 7
    0x2040: PWord is 8 bits
    0x2040: Interrupts are ISA-Pulses
    0x2040: ECP port cfgA=0x10 cfgB=0x40
    0x2040: ECP settings irq=<none or set by other means> dma=<none or set by
    other means>
    parport0: PC-style at 0x2040 (0x2048) [PCSPP,TRISTATE,COMPAT,ECP]
    parport0: cpp_daisy: aa5500ff(18)
    parport0: assign_addrs: aa5500ff(18)
    parport0: cpp_daisy: aa5500ff(18)
    parport0: assign_addrs: aa5500ff(18)
    [root@box root]#

    So it's definitely there. Siig's instructions tell me to run
            # modprobe parport_pc io=0x378,0x278,0x268 irq=none,11,11
            # setpci -v -d 131f:2020 0x18.L=0378 0x1c.L=0278

    Which will have these results:
    /dev/lp0 = 0378 - Setup for the built-in parallel port on your motherboard
    /dev/lp1 = 0278 - Parallel port provided by the SIIG card
    /dev/lp2 = 0268 - Second parallel port provided SIIG if this is a dual card

    But of course they didn't work on my system - because I don't have an
    onboard parallel port and it's not a dual port card, do I only have to
    worry about i/o address 0278? Can someone give me a hint on what the
    above commands _should_ look like on my system?

    If no one has time to answer this question specifically, please refer me
    to an online HOWTO or FAQ or article - anything that would help me make
    sense of this setup.

    Thanks in advance,

    -- 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 Apr 10 2002 - 14:54:26 EDT