Re: [PARPORT] NetMos parallel port lost after unplugging of another PCI card

From: Norbert Schmidt (ns@1en.de)
Date: Fri Aug 29 2003 - 06:49:59 EDT

  • Next message: Norbert Preining: "Re: [PARPORT] NetMos parallel port lost after unplugging of another PCI card"

    On Wed, 13 Aug 2003, Norbert Preining wrote:

    > Slowly I believe that the card is broken -- and somehow windows can use
    > it and not linux. No idea why?

    I hope it's possibly not a hardware-broken thing, but a driver one: this
    morning I tried to get a _new_ NetMos parallel-port only pci-card working.

    No success and it seems to be comparable to your problem, I think.
    Printer is switched on and plugged in and is read by parport. Everything
    looks good but printing is not working through lp1. (lp0 (mainboard) works fine)

    cat /proc/pci

      Bus 0, device 9, function 0:
        Communication controller: PCI device 9710:9805 (NetMos Technology) (rev 1).
          IRQ 9.
          Master Capable. Latency=32.
          I/O at 0xb000 [0xb007].
          I/O at 0xa800 [0xa807].
          I/O at 0xa400 [0xa407].
          I/O at 0xa000 [0xa007].
          I/O at 0x9800 [0x9807].
          I/O at 0x9400 [0x940f].

    first I/O added in modules.conf (as said in Linux_M.txt from vendor-driver-CD):
    options parport_pc io=0x378,0xb000 irq=7,none

    dmesg

    parport0: PC-style at 0x378 (0x778), irq 7, using FIFO
    [PCSPP,TRISTATE,COMPAT,EPP,ECP]
    parport0: Printer, Kyocera FS-1000
    parport1: PC-style at 0xb000 [PCSPP,TRISTATE,EPP]
    parport1: Printer, HEWLETT-PACKARD HP BUSINESS INKJET 2200
    lp0: using parport0 (interrupt-driven).
    lp1: using parport1 (polling).
    lp0: ECP mode

    cat /proc/ioports

    0378-037a : parport0 <<<<<<<<<<
    037b-037f : parport0 <<<<<<<<<<
    03c0-03df : vesafb
    03f6-03f6 : ide0
    03f8-03ff : serial(auto)
    0778-077a : parport0 <<<<<<<<<<
    0cf8-0cff : PCI conf1
    8800-88ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
      8800-88ff : 8139too
    9000-907f : 3Com Corporation 3c905B 100BaseTX [Cyclone]
      9000-907f : 00:0b.0
    9400-940f : PCI device 9710:9805 (NetMos Technology)
    9800-9807 : PCI device 9710:9805 (NetMos Technology)
    a000-a007 : PCI device 9710:9805 (NetMos Technology)
    a400-a407 : PCI device 9710:9805 (NetMos Technology)
    a800-a807 : PCI device 9710:9805 (NetMos Technology)
    b000-b007 : PCI device 9710:9805 (NetMos Technology)
      b000-b002 : parport1 <<<<<<<<<<
      b003-b007 : parport1 <<<<<<<<<<
    b400-b41f : Intel Corp. 82371AB/EB/MB PIIX4 USB
      b400-b41f : usb-uhci
    b800-b80f : Intel Corp. 82371AB/EB/MB PIIX4 IDE
      b800-b807 : ide0
      b808-b80f : ide1
    d000-dfff : PCI Bus #01
      d800-d8ff : ATI Technologies Inc 3D Rage IIC AGP
    e400-e43f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI
    e800-e81f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI

    Kernel is 2.4.20.

    Any hints?
    (The Linux_M.txt from vendor-driver-CD calls the second listed I/O from
    pci-card "ECP/EPP config registers", do I have to do something with that?
    Is that similar to 0x778 of parport0?)

    Norbert

    -- 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 : Fri Aug 29 2003 - 07:34:37 EDT