[PARPORT] [patch] PCI shared INTX# lockup solved 0/2

From: vdb128@stargate.kotnet.org
Date: Thu Dec 11 2003 - 19:11:04 EST

  • Next message: vdb128@stargate.kotnet.org: "[PARPORT] [patch] PCI shared INTX# lockup solved 1/2"

    Dear parport maintainers,

    This patch solves PCI lockups if the IRQ is in use by another driver.

      Note that the EPP_sup test must disable IRQs. Otherwise the already
      installed handler is called at initialization ... for ever
      ... until reboot.

    It also allows for PCI interrupt use, specify irq=auto, detects a level
    coupled INTX# and disables interrupts if necessary.

    Below are the debug messages of two systems, both with a motherboard IO
    controller and a PCI card. Differences are accounted for in the interrupt
    handler via the our integer:

      our & 1 : we are the only interrupt source
      our & 2 : awaiting int and DSR nINT active -> signal good chipset
      our & 4 : awaiting int and not a good chipset -> take it (... false_alarm)
      our & 8 : nINT still active after reset, ints were disabled
      our &0x10 : ECP ecr int expected and found, unassert PCI INTX#, as in line
                  with ECP register specifications.

    Servaas Vandenberghe
    *********************************** new stargate ******************************
    asus p533 super IO controller : int at rising ACK#, but nINT==1
    vscom Oxford Semi ox12pci840 1415:8403 : int at rising ACK#, full nINT support

    stargate:~# modprobe cmpci
    stargate:~# modprobe parport_pc verbose_probing=1

    ==> /var/log/messages <==
    Dec 4 03:53:30 stargate kernel: cmpci: version $Revision: 6.16 $ time 03:43:17 Dec 4 2003
    Dec 4 03:53:30 stargate kernel: PCI: Found IRQ 5 for device 02:03.0
    Dec 4 03:53:30 stargate kernel: cmpci: found CM8738 adapter at io 0xb800 irq 5
    Dec 4 03:53:30 stargate kernel: cmpci: chip version = 055
    Dec 4 03:54:02 stargate kernel: parport0: irq 7 detected
    Dec 4 03:54:02 stargate kernel: parport0: PC-style at 0x378 (0x778), irqshare 7 [PCSPP,TRISTATE]
    Dec 4 03:54:02 stargate kernel: parport0: Printer, Hewlett-Packard OfficeJet K80
    Dec 4 03:54:02 stargate kernel: PCI: Found IRQ 5 for device 02:0c.0
    Dec 4 03:54:02 stargate kernel: parport1: PC-style at 0xa800 (0xa400), irqshare 5 [PCSPP,TRISTATE,EPP]
    Dec 4 03:54:02 stargate kernel: parport1: Printer, Hewlett-Packard HP LaserJet 6MP

    ==> /var/log/debug <==
    Dec 4 03:54:02 stargate kernel: parport_ECR_present(@3bc): ok=-1
    Dec 4 03:54:02 stargate kernel: parport_SPP_supported(@3bc): dsr=0xff ok=0
    Dec 4 03:54:02 stargate kernel: frob_econtrol(@378,ff,34): 35 -> 34
    Dec 4 03:54:02 stargate kernel: frob_econtrol(@378,e0,00): 35 -> 15
    Dec 4 03:54:02 stargate kernel: parport_ECR_present(@378): ok=1
    Dec 4 03:54:02 stargate kernel: parport_SPP_supported(@378): dsr=0xde ok=1
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,94): 15 -> 94
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,e0,00): 95 -> 15
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,15): 15 -> 15
    Dec 4 03:54:02 stargate kernel: parport_EPP_supported(parport0): result=-10
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,34): 15 -> 34
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,15): 35 -> 15
    Dec 4 03:54:02 stargate kernel: parport_PS2_supported(parport0): ok=2
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,e0): 15 -> e0
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,15): e5 -> 15
    Dec 4 03:54:02 stargate kernel: programmable_irq_support(parport0): irq=-1
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,00): 15 -> 00
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,c4): 05 -> c4
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,c0): c5 -> c0
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,14): c6 -> 14
    Dec 4 03:54:02 stargate kernel: irq_probe_ECP(parport0): irq=7 irqs=0x000024c8 i=16
    Dec 4 03:54:02 stargate kernel: parport0: irq=7/-1 dsr=0xde/0xde ecr=0x15 our=0x00 0
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,34): 15 -> 34
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 4 03:54:02 stargate kernel: parport_ECR_present(@278): ok=-1
    Dec 4 03:54:02 stargate kernel: parport_SPP_supported(@278): dsr=0xff ok=0

    Dec 4 03:54:02 stargate kernel: PCI parallel port detected: 1415:8403, I/O at 0xa800(0xa400)
    Dec 4 03:54:02 stargate kernel: frob_econtrol(@a800,ff,34): 35 -> 34
    Dec 4 03:54:02 stargate kernel: frob_econtrol(@a800,e0,00): 35 -> 15
    Dec 4 03:54:02 stargate kernel: parport_ECR_present(@a800): ok=1
    Dec 4 03:54:02 stargate kernel: parport_SPP_supported(@a800): dsr=0xdf ok=1
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,ff,94): 15 -> 94
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,e0,00): 95 -> 15
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,e0,20): 15 -> 35
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,e0,40): 35 -> 55
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,e0,60): 55 -> 75
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,e0,80): 75 -> 95
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,ff,15): 95 -> 15
    Dec 4 03:54:02 stargate kernel: parport_EPP_supported(parport1): result=1
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,ff,34): 15 -> 34
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,ff,15): 35 -> 15
    Dec 4 03:54:02 stargate kernel: parport_PS2_supported(parport1): ok=2
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,ff,34): 15 -> 34
    Dec 4 03:54:02 stargate kernel: frob_econtrol(parport1,ff,34): 35 -> 34

    stargate:~# echo -n z >/dev/dsp0

    ==> /var/log/debug <==
    Dec 4 04:06:25 stargate kernel: parport1: irq=5/-1 dsr=0xdf/0xdf ecr=0x35 our=0x00 1

    stargate:~# rmmod parport_pc && modprobe parport_pc verbose_probing=1 irq=auto

    ==> /var/log/messages <==
    Dec 4 04:10:25 stargate kernel: parport0: PC-style at 0x378 (0x778), irq 7, irqshare 7 [PCSPP,TRISTATE]
    Dec 4 04:10:25 stargate kernel: parport0: Printer, Hewlett-Packard OfficeJet K80
    Dec 4 04:10:25 stargate kernel: PCI: Found IRQ 5 for device 02:0c.0
    Dec 4 04:10:25 stargate kernel: parport1: PC-style at 0xa800 (0xa400), irq 5, irqshare 5 [PCSPP,TRISTATE,EPP]
    Dec 4 04:10:25 stargate kernel: parport1: Printer, Hewlett-Packard HP LaserJet 6MP

    ==> /var/log/debug <==
    Dec 4 04:10:25 stargate kernel: parport_ECR_present(@3bc): ok=-1
    Dec 4 04:10:25 stargate kernel: parport_SPP_supported(@3bc): dsr=0xff ok=0
    Dec 4 04:10:25 stargate kernel: frob_econtrol(@378,ff,34): 35 -> 34
    Dec 4 04:10:25 stargate kernel: frob_econtrol(@378,e0,00): 35 -> 15
    Dec 4 04:10:25 stargate kernel: parport_ECR_present(@378): ok=1
    Dec 4 04:10:25 stargate kernel: parport_SPP_supported(@378): dsr=0xde ok=1
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,94): 15 -> 94
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,e0,00): 95 -> 15
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,15): 15 -> 15
    Dec 4 04:10:25 stargate kernel: parport_EPP_supported(parport0): result=-10
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,34): 15 -> 34
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,15): 35 -> 15
    Dec 4 04:10:25 stargate kernel: parport_PS2_supported(parport0): ok=2
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,e0): 15 -> e0
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,15): e5 -> 15
    Dec 4 04:10:25 stargate kernel: programmable_irq_support(parport0): irq=-1
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,00): 15 -> 00
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,c4): 05 -> c4
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,c0): c5 -> c0
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,14): c6 -> 14
    Dec 4 04:10:25 stargate kernel: irq_probe_ECP(parport0): irq=7 irqs=0x000024c8 i=16
    Dec 4 04:10:25 stargate kernel: parport0: irq=7/7 dsr=0xde/0xde ecr=0x15 our=0x00 0
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,34): 15 -> 34
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 4 04:10:25 stargate kernel: parport_ECR_present(@278): ok=-1
    Dec 4 04:10:25 stargate kernel: parport_SPP_supported(@278): dsr=0xff ok=0
    Dec 4 04:10:25 stargate kernel: PCI parallel port detected: 1415:8403, I/O at 0xa800(0xa400)
    Dec 4 04:10:25 stargate kernel: frob_econtrol(@a800,ff,34): 35 -> 34
    Dec 4 04:10:25 stargate kernel: frob_econtrol(@a800,e0,00): 35 -> 15
    Dec 4 04:10:25 stargate kernel: parport_ECR_present(@a800): ok=1
    Dec 4 04:10:25 stargate kernel: parport_SPP_supported(@a800): dsr=0xdf ok=1
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,ff,94): 15 -> 94
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,e0,00): 95 -> 15
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,e0,20): 15 -> 35
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,e0,40): 35 -> 55
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,e0,60): 55 -> 75
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,e0,80): 75 -> 95
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,ff,15): 95 -> 15
    Dec 4 04:10:25 stargate kernel: parport_EPP_supported(parport1): result=1
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,ff,34): 15 -> 34
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,ff,15): 35 -> 15
    Dec 4 04:10:25 stargate kernel: parport_PS2_supported(parport1): ok=2
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,ff,34): 15 -> 34
    Dec 4 04:10:25 stargate kernel: frob_econtrol(parport1,ff,34): 35 -> 34

    stargate:~# echo abcd -n >/dev/lp1

    Dec 4 04:13:06 stargate kernel: frob_econtrol(parport1,ff,34): 35 -> 34
    Dec 4 04:13:06 stargate kernel: frob_econtrol(parport1,ff,35): 35 -> 35
    Dec 4 04:13:06 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 1
    Dec 4 04:13:06 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 2
    Dec 4 04:13:06 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 3
    Dec 4 04:13:06 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 4
    Dec 4 04:13:06 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 5
    Dec 4 04:13:06 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 6
    Dec 4 04:13:06 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 7
    Dec 4 04:13:06 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 8
    Dec 4 04:13:06 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 9

    stargate:~# echo abcd -n >/dev/lp0

    ==> /var/log/debug <==
    Dec 4 04:24:07 stargate kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 4 04:24:07 stargate kernel: frob_econtrol(parport0,ff,35): 35 -> 35
    Dec 4 04:24:07 stargate kernel: parport0: irq=7/7 dsr=0xde/0xde ecr=0x35 our=0x04 1
    Dec 4 04:24:07 stargate kernel: parport0: irq=7/7 dsr=0xde/0xde ecr=0x35 our=0x04 2
    Dec 4 04:24:07 stargate kernel: parport0: irq=7/7 dsr=0xde/0xde ecr=0x35 our=0x04 3
    Dec 4 04:24:07 stargate kernel: parport0: irq=7/7 dsr=0xde/0xde ecr=0x35 our=0x04 4
    Dec 4 04:24:07 stargate kernel: parport0: irq=7/7 dsr=0xde/0xde ecr=0x35 our=0x04 5
    Dec 4 04:24:07 stargate kernel: parport0: irq=7/7 dsr=0xde/0xde ecr=0x35 our=0x04 6
    Dec 4 04:24:07 stargate kernel: parport0: irq=7/7 dsr=0xde/0xde ecr=0x35 our=0x04 7
    Dec 4 04:24:07 stargate kernel: parport0: irq=7/7 dsr=0xde/0xde ecr=0x35 our=0x04 8

    ******************************** new reddwarf ******************************
    National PC87306B : int at rising ACK#, but nINT==1
    Netmos 9710:9815 : INTX#==ACK#, nINT reset impossible if ACK#==0

    reddwarf:~# modprobe parport_pc verbose_probing=1 irq=auto

    ==> /var/log/messages <==
    Dec 4 05:26:11 reddwarf kernel: parport0: PC-style at 0x378 (0x778), irq 7, irqshare 7 [PCSPP,TRISTATE]
    Dec 4 05:26:11 reddwarf kernel: parport1: PC-style at 0xfff0 (0xffe0), irq 10, irqshare 10 [PCSPP,TRISTATE]
    Dec 4 05:26:11 reddwarf kernel: parport2: PC-style at 0xffa8 (0xffa0), irq 10, irqshare 10 [PCSPP,TRISTATE]

    ==> /var/log/debug <==
    Dec 4 05:26:11 reddwarf kernel: parport_ECR_present(@3bc): ok=-1
    Dec 4 05:26:11 reddwarf kernel: parport_SPP_supported(@3bc): dsr=0xff ok=0
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(@378,ff,34): 35 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(@378,e0,00): 35 -> 15
    Dec 4 05:26:11 reddwarf kernel: parport_ECR_present(@378): ok=1
    Dec 4 05:26:11 reddwarf kernel: parport_SPP_supported(@378): dsr=0x7f ok=1
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport0,ff,94): 15 -> 94
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport0,ff,15): 95 -> 15
    Dec 4 05:26:11 reddwarf kernel: parport_EPP_supported(parport0): result=-1
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport0,ff,34): 15 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport0,ff,15): 35 -> 15
    Dec 4 05:26:11 reddwarf kernel: parport_PS2_supported(parport0): ok=2
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport0,ff,e0): 15 -> e0
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport0,ff,15): e1 -> 15
    Dec 4 05:26:11 reddwarf kernel: programmable_irq_support(parport0): irq=7
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport0,ff,34): 15 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 4 05:26:11 reddwarf kernel: parport_ECR_present(@278): ok=-1
    Dec 4 05:26:11 reddwarf kernel: parport_SPP_supported(@278): dsr=0xff ok=0

    Dec 4 05:26:11 reddwarf kernel: PCI parallel port detected: 9710:9815, I/O at 0xfff0(0xffe0)
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(@fff0,ff,34): 35 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(@fff0,e0,00): 35 -> 15
    Dec 4 05:26:11 reddwarf kernel: parport_ECR_present(@fff0): ok=1
    Dec 4 05:26:11 reddwarf kernel: parport_SPP_supported(@fff0): dsr=0xd8 ok=1
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport1,ff,94): 15 -> 94
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport1,e0,00): 95 -> 15
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport1,ff,15): 15 -> 15
    Dec 4 05:26:11 reddwarf kernel: parport_EPP_supported(parport1): result=-10
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport1,ff,34): 15 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport1,ff,15): 35 -> 15
    Dec 4 05:26:11 reddwarf kernel: parport_PS2_supported(parport1): ok=2
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport1,ff,34): 15 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport1,ff,34): 35 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport1,ff,34): 35 -> 34

    Dec 4 05:26:11 reddwarf kernel: PCI parallel port detected: 9710:9815, I/O at 0xffa8(0xffa0)
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(@ffa8,ff,34): 35 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(@ffa8,e0,00): 35 -> 15
    Dec 4 05:26:11 reddwarf kernel: parport_ECR_present(@ffa8): ok=1
    Dec 4 05:26:11 reddwarf kernel: parport_SPP_supported(@ffa8): dsr=0x78 ok=1
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport2,ff,94): 15 -> 94
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport2,e0,00): 95 -> 15
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport2,ff,15): 15 -> 15
    Dec 4 05:26:11 reddwarf kernel: parport_EPP_supported(parport2): result=-10
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport2,ff,34): 15 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport2,ff,15): 35 -> 15
    Dec 4 05:26:11 reddwarf kernel: parport_PS2_supported(parport2): ok=2
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport2,ff,34): 15 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport2,ff,34): 35 -> 34
    Dec 4 05:26:11 reddwarf kernel: frob_econtrol(parport2,ff,34): 35 -> 34

    reddwarf:~$ echo -n a >/dev/lp1

    ==> /var/log/messages <==
    Dec 4 05:28:22 reddwarf kernel: lp0: using parport0 (interrupt-driven).
    Dec 4 05:28:22 reddwarf kernel: lp1: using parport1 (interrupt-driven).
    Dec 4 05:28:22 reddwarf kernel: lp2: using parport2 (interrupt-driven).

    ==> /var/log/debug <==
    Dec 4 05:28:22 reddwarf kernel: frob_econtrol(parport1,ff,34): 35 -> 34
    Dec 4 05:28:22 reddwarf kernel: frob_econtrol(parport1,ff,35): 35 -> 35
    Dec 4 05:28:22 reddwarf kernel: parport1: irq=10/10 dsr=0x98/0x98 ecr=0x35 our=0x0a 0
    Dec 4 05:28:22 reddwarf kernel: parport2: irq=10/10 dsr=0x78/0x78 ecr=0x35 our=0x00 1

    reddwarf:~$ echo -n abcd >/dev/lp1

    Dec 4 05:29:18 reddwarf kernel: frob_econtrol(parport1,ff,35): 35 -> 35
    Dec 4 05:29:18 reddwarf kernel: frob_econtrol(parport1,ff,35): 35 -> 35
    Dec 4 05:29:18 reddwarf kernel: parport1: irq=10/10 dsr=0x98/0x98 ecr=0x35 our=0x0a 2
    Dec 4 05:29:18 reddwarf kernel: parport2: irq=10/10 dsr=0x78/0x78 ecr=0x35 our=0x00 3

    reddwarf:~$ echo -n abcd >/dev/lp0

    Dec 4 05:30:49 reddwarf kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 4 05:30:49 reddwarf kernel: frob_econtrol(parport0,ff,35): 35 -> 35
    Dec 4 05:30:49 reddwarf kernel: parport0: irq=7/7 dsr=0xdf/0xdf ecr=0x35 our=0x04 4
    Dec 4 05:30:49 reddwarf kernel: parport0: irq=7/7 dsr=0xdf/0xdf ecr=0x35 our=0x04 5
    Dec 4 05:30:49 reddwarf kernel: parport0: irq=7/7 dsr=0xdf/0xdf ecr=0x35 our=0x04 6
    Dec 4 05:30:49 reddwarf kernel: parport0: irq=7/7 dsr=0xdf/0xdf ecr=0x35 our=0x04 7

    **************************************** FYI **********************************
    *********************************** old stargate ******************************
    Oxford Semi ox12pci840 1415:8403
    stargate:~# modprobe parport_pc verbose_probing=1

    Dec 3 01:30:48 stargate kernel: frob_econtrol(@378,ff,34): 35 -> 34
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@378,e0,00): 35 -> 15
    Dec 3 01:30:48 stargate kernel: parport_EPP_supported(@378): result=-1
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@378,ff,80): 15 -> 80
    Dec 3 01:30:48 stargate kernel: parport_EPP_supported(@378): result=-1
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@378,ff,15): 85 -> 15
    Dec 3 01:30:48 stargate kernel: parport_ECPEPP_supported(@378): result=0
    Dec 3 01:30:48 stargate kernel: parport_SPP_supported(@378): dsr=0xdf ok=1
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@378,ff,34): 15 -> 34
    Dec 3 01:30:48 stargate kernel: parport_PS2_supported(@378): ok=2
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@378,ff,15): 35 -> 15
    Dec 3 01:30:48 stargate kernel: parport_ECPPS2_supported(@378): result=2
    Dec 3 01:30:48 stargate kernel: frob_econtrol(parport0,ff,e0): 15 -> e0
    Dec 3 01:30:48 stargate kernel: frob_econtrol(parport0,ff,15): e5 -> 15
    Dec 3 01:30:48 stargate kernel: programmable_irq_support(parport0): irq=-1
    Dec 3 01:30:48 stargate kernel: frob_econtrol(parport0,ff,00): 15 -> 00
    Dec 3 01:30:48 stargate kernel: frob_econtrol(parport0,ff,c4): 05 -> c4
    Dec 3 01:30:48 stargate kernel: frob_econtrol(parport0,ff,c0): c5 -> c0
    Dec 3 01:30:48 stargate kernel: frob_econtrol(parport0,ff,00): c6 -> 00
    Dec 3 01:30:48 stargate kernel: irq_probe_ECP(parport0): irq=7 irqs=0x000024e8 i=16
    Dec 3 01:30:48 stargate kernel: parport0: irq=7/-1 dsr=0xdf/0xdf ecr=0x05 our=0x10 0

    Dec 3 01:30:48 stargate kernel: parport0: PC-style at 0x378 (0x778), irqshare 7 [PCSPP,TRISTATE]
    Dec 3 01:30:48 stargate kernel: parport0: irq 7 detected
    Dec 3 01:30:48 stargate kernel: parport0: Printer, Hewlett-Packard OfficeJet K80

    Dec 3 01:30:48 stargate kernel: frob_econtrol(parport0,ff,34): 15 -> 34
    Dec 3 01:30:48 stargate kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 3 01:30:48 stargate kernel: parport_EPP_supported(@278): result=-1
    Dec 3 01:30:48 stargate kernel: parport_SPP_supported(@278): dsr=0xff ok=0
    Dec 3 01:30:48 stargate kernel: PCI parallel port detected: 1415:8403, I/O at 0xa800(0xa400)
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@a800,ff,34): 35 -> 34
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@a800,e0,00): 35 -> 15
    Dec 3 01:30:48 stargate kernel: parport_EPP_supported(@a800): result=-1
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@a800,ff,80): 15 -> 80
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@a800,ff,00): 81 -> 00
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@a800,ff,20): 01 -> 20
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@a800,ff,40): 21 -> 40
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@a800,ff,60): 41 -> 60
    Dec 3 01:30:48 stargate kernel: parport_EPP_supported(@a800): result=1
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@a800,ff,15): 65 -> 15
    Dec 3 01:30:48 stargate kernel: parport_ECPEPP_supported(@a800): result=1
    Dec 3 01:30:48 stargate kernel: parport_SPP_supported(@a800): dsr=0xdf ok=1
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@a800,ff,34): 15 -> 34
    Dec 3 01:30:48 stargate kernel: parport_PS2_supported(@a800): ok=2
    Dec 3 01:30:48 stargate kernel: frob_econtrol(@a800,ff,15): 35 -> 15
    Dec 3 01:30:48 stargate kernel: parport_ECPPS2_supported(@a800): result=2
    Dec 3 01:30:48 stargate kernel: frob_econtrol(parport1,ff,34): 15 -> 34
    Dec 3 01:30:48 stargate kernel: frob_econtrol(parport1,ff,34): 35 -> 34

    Dec 3 01:30:48 stargate kernel: PCI: Found IRQ 5 for device 02:0c.0
    Dec 3 01:30:48 stargate kernel: parport1: PC-style at 0xa800 (0xa400), irqshare 5 [PCSPP,TRISTATE,EPP]
    Dec 3 01:30:48 stargate kernel: parport1: Printer, Hewlett-Packard HP LaserJet 6MP

    stargate:~$ echo -n a >/dev/lp1

    Dec 3 01:39:10 stargate kernel: frob_econtrol(parport1,ff,34): 35 -> 34
    Dec 3 01:39:10 stargate kernel: frob_econtrol(parport1,ff,35): 35 -> 35

    Dec 3 01:39:10 stargate kernel: lp0: using parport0 (polling).
    Dec 3 01:39:10 stargate kernel: lp1: using parport1 (polling).

    stargate:~# modprobe parport_pc verbose_probing=1 irq=auto

    Dec 3 01:40:18 stargate kernel: parport_SPP_supported(@3bc): dsr=0xff ok=0
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@378,ff,34): 35 -> 34
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@378,e0,00): 35 -> 15
    Dec 3 01:40:18 stargate kernel: parport_EPP_supported(@378): result=-1
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@378,ff,80): 15 -> 80
    Dec 3 01:40:18 stargate kernel: parport_EPP_supported(@378): result=-1
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@378,ff,15): 85 -> 15
    Dec 3 01:40:18 stargate kernel: parport_ECPEPP_supported(@378): result=0
    Dec 3 01:40:18 stargate kernel: parport_SPP_supported(@378): dsr=0xdf ok=1
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@378,ff,34): 15 -> 34
    Dec 3 01:40:18 stargate kernel: parport_PS2_supported(@378): ok=2
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@378,ff,15): 35 -> 15
    Dec 3 01:40:18 stargate kernel: parport_ECPPS2_supported(@378): result=2
    Dec 3 01:40:18 stargate kernel: frob_econtrol(parport0,ff,e0): 15 -> e0
    Dec 3 01:40:18 stargate kernel: frob_econtrol(parport0,ff,15): e5 -> 15
    Dec 3 01:40:18 stargate kernel: programmable_irq_support(parport0): irq=-1
    Dec 3 01:40:18 stargate kernel: frob_econtrol(parport0,ff,00): 15 -> 00
    Dec 3 01:40:18 stargate kernel: frob_econtrol(parport0,ff,c4): 05 -> c4
    Dec 3 01:40:18 stargate kernel: frob_econtrol(parport0,ff,c0): c5 -> c0
    Dec 3 01:40:18 stargate kernel: frob_econtrol(parport0,ff,00): c6 -> 00
    Dec 3 01:40:18 stargate kernel: irq_probe_ECP(parport0): irq=7 irqs=0x000024e8 i=16
    Dec 3 01:40:18 stargate kernel: parport0: irq=7/7 dsr=0xdf/0xdf ecr=0x05 our=0x10 0
    Dec 3 01:40:18 stargate kernel: frob_econtrol(parport0,ff,34): 15 -> 34
    Dec 3 01:40:18 stargate kernel: frob_econtrol(parport0,ff,34): 35 -> 34

    Dec 3 01:40:18 stargate kernel: parport0: PC-style at 0x378 (0x778), irq 7, irqshare 7 [PCSPP,TRISTATE]
    Dec 3 01:40:18 stargate kernel: parport0: Printer, Hewlett-Packard OfficeJet K80

    Dec 3 01:40:18 stargate kernel: PCI parallel port detected: 1415:8403, I/O at 0xa800(0xa400)
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@a800,ff,34): 35 -> 34
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@a800,e0,00): 35 -> 15
    Dec 3 01:40:18 stargate kernel: parport_EPP_supported(@a800): result=-1
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@a800,ff,80): 15 -> 80
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@a800,ff,00): 81 -> 00 XXX
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@a800,ff,20): 01 -> 20 XXX
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@a800,ff,40): 21 -> 40 XXX
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@a800,ff,60): 41 -> 60 XXX
    Dec 3 01:40:18 stargate kernel: parport_EPP_supported(@a800): result=1
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@a800,ff,15): 65 -> 15
    Dec 3 01:40:18 stargate kernel: parport_ECPEPP_supported(@a800): result=1
    Dec 3 01:40:18 stargate kernel: parport_SPP_supported(@a800): dsr=0xdf ok=1
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@a800,ff,34): 15 -> 34
    Dec 3 01:40:18 stargate kernel: parport_PS2_supported(@a800): ok=2
    Dec 3 01:40:18 stargate kernel: frob_econtrol(@a800,ff,15): 35 -> 15
    Dec 3 01:40:18 stargate kernel: parport_ECPPS2_supported(@a800): result=2
    Dec 3 01:40:18 stargate kernel: frob_econtrol(parport1,ff,34): 15 -> 34
    Dec 3 01:40:18 stargate kernel: frob_econtrol(parport1,ff,34): 35 -> 34

    Dec 3 01:40:18 stargate kernel: PCI: Found IRQ 5 for device 02:0c.0
    Dec 3 01:40:18 stargate kernel: parport1: PC-style at 0xa800 (0xa400), irq 5, irqshare 5 [PCSPP,TRISTATE,EPP]
    Dec 3 01:40:18 stargate kernel: parport1: Printer, Hewlett-Packard HP LaserJet 6MP

    stargate:~$ echo -n a >/dev/lp1

    ==> /var/log/debug <==
    Dec 3 01:44:05 stargate kernel: frob_econtrol(parport1,ff,34): 35 -> 34
    Dec 3 01:44:05 stargate kernel: frob_econtrol(parport1,ff,35): 35 -> 35
    Dec 3 01:44:05 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 1

    ==> /var/log/messages <==
    Dec 3 01:44:05 stargate kernel: lp0: using parport0 (interrupt-driven).
    Dec 3 01:44:05 stargate kernel: lp1: using parport1 (interrupt-driven).

    ==> /var/log/debug <==
    Dec 3 01:44:05 stargate kernel: parport1: irq=5/5 dsr=0xdb/0xdf ecr=0x35 our=0x02 2

    stargate:~$ echo -n a >/dev/dsp0

    ==> /var/log/messages <==
    Dec 3 01:55:43 stargate kernel: cmpci: version $Revision: 5.64 $ time 01:27:01 Dec 3 2003
    Dec 3 01:55:43 stargate kernel: PCI: Found IRQ 5 for device 02:03.0
    Dec 3 01:55:43 stargate kernel: cmpci: found CM8738 adapter at io 0xb800 irq 5
    Dec 3 01:55:43 stargate kernel: cmpci: chip version = 055

    ==> /var/log/debug <==
    Dec 3 01:55:53 stargate kernel: parport1: irq=5/5 dsr=0xdf/0xdf ecr=0x35 our=0x00 3

    ***************** old reddwarf irq_probe verification ************************
    National PC87306B : int at rising ACK#, but nINT==1

    -- irq_probe_ECP --
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(tmp378,ff,34): 35 -> 34
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(tmp378,e0,00): 35 -> 15
    Dec 1 03:05:47 reddwarf kernel: parport_EPP_supported(tmp378): result=0
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(tmp378,ff,80): 15 -> 80
    Dec 1 03:05:47 reddwarf kernel: parport_EPP_supported(tmp378): result=0
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(tmp378,ff,15): 81 -> 15
    Dec 1 03:05:47 reddwarf kernel: parport_ECPEPP_supported(tmp378): result=0
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(tmp378,ff,34): 15 -> 34
    Dec 1 03:05:47 reddwarf kernel: parport_PS2_supported(tmp378): ok=2
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(tmp378,ff,15): 35 -> 15
    Dec 1 03:05:47 reddwarf kernel: parport_ECPPS2_supported(tmp378): result=2
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(parport0,ff,00): 15 -> 00
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(parport0,ff,c4): 01 -> c4
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(parport0,ff,c0): c5 -> c0
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(parport0,ff,00): c6 -> 00
    Dec 1 03:05:47 reddwarf kernel: irq_probe_ECP(parport0): irq=7
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(parport0,ff,34): 01 -> 34
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 1 03:05:47 reddwarf kernel: frob_econtrol(parport0,ff,34): 35 -> 34

    Dec 1 03:05:47 reddwarf kernel: parport0: PC-style at 0x378 (0x778), irqshare 7 [PCSPP,TRISTATE]
    Dec 1 03:05:47 reddwarf kernel: parport0: irq 7 detected

    -- programmable_irq_support --
    Dec 1 04:08:48 reddwarf kernel: frob_econtrol(tmp378,ff,34): 35 -> 34
    Dec 1 04:08:48 reddwarf kernel: frob_econtrol(tmp378,e0,00): 35 -> 15
    Dec 1 04:08:48 reddwarf kernel: parport_EPP_supported(tmp378): result=0
    Dec 1 04:08:48 reddwarf kernel: frob_econtrol(tmp378,ff,80): 15 -> 80
    Dec 1 04:08:48 reddwarf kernel: parport_EPP_supported(tmp378): result=0
    Dec 1 04:08:48 reddwarf kernel: frob_econtrol(tmp378,ff,15): 81 -> 15
    Dec 1 04:08:48 reddwarf kernel: parport_ECPEPP_supported(tmp378): result=0
    Dec 1 04:08:48 reddwarf kernel: frob_econtrol(tmp378,ff,34): 15 -> 34
    Dec 1 04:08:48 reddwarf kernel: parport_PS2_supported(tmp378): ok=2
    Dec 1 04:08:48 reddwarf kernel: frob_econtrol(tmp378,ff,15): 35 -> 15
    Dec 1 04:08:48 reddwarf kernel: parport_ECPPS2_supported(tmp378): result=2
    Dec 1 04:08:48 reddwarf kernel: frob_econtrol(parport0,ff,e0): 15 -> e0
    Dec 1 04:08:48 reddwarf kernel: frob_econtrol(parport0,ff,15): e1 -> 15
    Dec 1 04:08:48 reddwarf kernel: programmable_irq_support(parport0): irq=7
    Dec 1 04:08:48 reddwarf kernel: frob_econtrol(parport0,ff,34): 15 -> 34
    Dec 1 04:08:48 reddwarf kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 1 04:08:49 reddwarf kernel: frob_econtrol(parport0,ff,34): 35 -> 34

    Dec 1 04:08:48 reddwarf kernel: parport0: PC-style at 0x378 (0x778), irqshare 7 [PCSPP,TRISTATE]
    Dec 1 04:08:48 reddwarf kernel: parport0: irq 7 detected

    ----------------- old EPP test -------------------------------------------
    netmos 9710:9815 dual lpt

    modprobe parport_pc verbose_probing=1 io=0xfff0 io_hi=0xffe0 irq=10

    reddwarf:~$ modprobe parport_pc verbose_probing=1 irq=auto

    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@378,ff,34): 35 -> 34
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@378,e0,00): 35 -> 15
    Dec 2 17:51:18 reddwarf kernel: parport_EPP_supported(@378): result=-1
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@378,ff,80): 15 -> 80
    Dec 2 17:51:18 reddwarf kernel: parport_EPP_supported(@378): result=-1
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@378,ff,15): 81 -> 15
    Dec 2 17:51:18 reddwarf kernel: parport_ECPEPP_supported(@378): result=0
    Dec 2 17:51:18 reddwarf kernel: parport_SPP_supported(@378): dsr=0x7f ok=1
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@378,ff,34): 15 -> 34
    Dec 2 17:51:18 reddwarf kernel: parport_PS2_supported(@378): ok=2
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@378,ff,15): 35 -> 15
    Dec 2 17:51:18 reddwarf kernel: parport_ECPPS2_supported(@378): result=2
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport0,ff,e0): 15 -> e0
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport0,ff,15): e1 -> 15
    Dec 2 17:51:18 reddwarf kernel: programmable_irq_support(parport0): irq=7
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport0,ff,34): 15 -> 34
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport0,ff,34): 35 -> 34

    Dec 2 17:51:18 reddwarf kernel: PCI parallel port detected: 9710:9815, I/O at 0xfff0(0xffe0)
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@fff0,ff,34): 35 -> 34
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@fff0,e0,00): 35 -> 15
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@fff0,ff,00): 15 -> 00
    Dec 2 17:51:18 reddwarf kernel: parport_EPP_supported(@fff0): result=0
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@fff0,ff,80): 01 -> 80
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@fff0,ff,00): 85 -> 00 XXX
    Dec 2 17:51:18 reddwarf kernel: parport_EPP_supported(@fff0): result=0
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@fff0,ff,01): 05 -> 01
    Dec 2 17:51:18 reddwarf kernel: parport_ECPEPP_supported(@fff0): result=0
    Dec 2 17:51:18 reddwarf kernel: parport_SPP_supported(@fff0): dsr=0xd8 ok=1
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@fff0,ff,34): 01 -> 34
    Dec 2 17:51:18 reddwarf kernel: parport_PS2_supported(@fff0): ok=2
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@fff0,ff,01): 35 -> 01
    Dec 2 17:51:18 reddwarf kernel: parport_ECPPS2_supported(@fff0): result=2
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport1,ff,34): 01 -> 34
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport1,ff,34): 35 -> 34
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport1,ff,34): 35 -> 34

    Dec 2 17:51:18 reddwarf kernel: PCI parallel port detected: 9710:9815, I/O at 0xffa8(0xffa0)
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@ffa8,ff,34): 35 -> 34
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@ffa8,e0,00): 35 -> 15
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@ffa8,ff,00): 15 -> 00
    Dec 2 17:51:18 reddwarf kernel: parport_EPP_supported(@ffa8): result=0
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@ffa8,ff,80): 01 -> 80
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@ffa8,ff,00): 85 -> 00
    Dec 2 17:51:18 reddwarf kernel: parport_EPP_supported(@ffa8): result=0
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@ffa8,ff,01): 05 -> 01
    Dec 2 17:51:18 reddwarf kernel: parport_ECPEPP_supported(@ffa8): result=0
    Dec 2 17:51:18 reddwarf kernel: parport_SPP_supported(@ffa8): dsr=0x78 ok=1
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@ffa8,ff,34): 01 -> 34
    Dec 2 17:51:18 reddwarf kernel: parport_PS2_supported(@ffa8): ok=2
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(@ffa8,ff,01): 35 -> 01
    Dec 2 17:51:18 reddwarf kernel: parport_ECPPS2_supported(@ffa8): result=2
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport2,ff,34): 01 -> 34
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport2,ff,34): 35 -> 34
    Dec 2 17:51:18 reddwarf kernel: frob_econtrol(parport2,ff,34): 35 -> 34

    Dec 2 17:51:18 reddwarf kernel: parport0: PC-style at 0x378 (0x778), irq 7, irqshare 7 [PCSPP,TRISTATE]
    Dec 2 17:51:18 reddwarf kernel: parport1: PC-style at 0xfff0 (0xffe0), irq 10, irqshare 10 [PCSPP,TRISTATE]
    Dec 2 17:51:18 reddwarf kernel: parport2: PC-style at 0xffa8 (0xffa0), irq 10, irqshare 10 [PCSPP,TRISTATE]

    reddwarf:~$ echo -n a >/dev/lp1

    Dec 2 17:51:21 reddwarf kernel: lp0: using parport0 (interrupt-driven).
    Dec 2 17:51:21 reddwarf kernel: lp1: using parport1 (interrupt-driven).
    Dec 2 17:51:21 reddwarf kernel: lp2: using parport2 (interrupt-driven).

    Dec 2 17:51:21 reddwarf kernel: frob_econtrol(parport0,ff,34): 35 -> 34
    Dec 2 17:51:21 reddwarf kernel: frob_econtrol(parport0,ff,35): 35 -> 35
    Dec 2 17:51:30 reddwarf kernel: frob_econtrol(parport1,ff,34): 35 -> 34
    Dec 2 17:51:30 reddwarf kernel: frob_econtrol(parport1,ff,35): 35 -> 35
    Dec 2 17:51:30 reddwarf kernel: parport1: irq=10/10 dsr=0x98/0x98 ecr=0x35 our=0x0a 0
    Dec 2 17:51:30 reddwarf kernel: parport2: irq=10/10 dsr=0x78/0x78 ecr=0x35 our=0x00 1

    reddwarf:~$ echo -n ab >/dev/lp1

    Dec 2 18:52:41 reddwarf kernel: frob_econtrol(parport1,ff,35): 35 -> 35
    Dec 2 18:52:41 reddwarf kernel: frob_econtrol(parport1,ff,35): 35 -> 35
    Dec 2 18:52:41 reddwarf kernel: parport1: irq=10/10 dsr=0x98/0x98 ecr=0x35 our=0x0a 5
    Dec 2 18:52:41 reddwarf kernel: parport2: irq=10/10 dsr=0x78/0x78 ecr=0x35 our=0x00 6

    reddwarf:~$ echo -n a >/dev/lp0

    Dec 2 18:39:39 reddwarf kernel: frob_econtrol(parport0,ff,35): 35 -> 35
    Dec 2 18:39:39 reddwarf kernel: frob_econtrol(parport0,ff,35): 35 -> 35
    Dec 2 18:39:39 reddwarf kernel: parport0: irq=7/7 dsr=0xdf/0xdf ecr=0x35 our=0x04 2

    reddwarf:~$ echo -n ab >/dev/lp0
    Dec 2 18:39:46 reddwarf kernel: frob_econtrol(parport0,ff,35): 35 -> 35
    Dec 2 18:39:46 reddwarf kernel: frob_econtrol(parport0,ff,35): 35 -> 35
    Dec 2 18:39:46 reddwarf kernel: parport0: irq=7/7 dsr=0xdf/0xdf ecr=0x35 our=0x04 3
    Dec 2 18:39:46 reddwarf kernel: parport0: irq=7/7 dsr=0xdf/0xdf ecr=0x35 our=0x04 4

    -- 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 Dec 11 2003 - 19:12:57 EST