Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2002 14:00:22 +0200
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        freebsd-current@freebsd.org
Subject:   How to add more than one lpt?
Message-ID:  <20020405120021.GN51284@cicely8.cicely.de>

next in thread | raw e-mail | index | archive | help
I have 3 ppc interfaces with connected printers.
The ppc are probed fine but I get only an lpt for the first.

        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Thu Apr  4 18:03:18 GMT 2002
    root@cicely13.cicely.de:/var/d7/builder/FreeBSD-2002-03-23/src/sys/i386/compile/CICELY13
Preloaded elf kernel "/boot/kernel/kernel" at 0xc034f000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 132873674 Hz
CPU: Pentium/P54C (132.87-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 29233152 (28548K bytes)
Intel Pentium detected, installing workaround for F00F bug
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x6000-0x60ff mem 0xe4001000-0xe4001fff irq 9 at device 10.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs
de0: <Digital 21140A Fast Ethernet> port 0x6100-0x617f mem 0xe4000000-0xe400007f irq 12 at device 11.0 on pci0
de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de0: address 00:00:c0:1e:03:f2
pci0: <display, VGA> at device 12.0 (no driver attached)
orm0: <Option ROMs> at iomem 0xc8000-0xcc7ff,0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x3bc-0x3c3 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: <Canon BJC-4550> PRINTER BJ,LQ,BJL,BJRaster,BSCC
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> on ppbus0
ppc1: <Parallel port> at port 0x378-0x37f on isa0
ppc1: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc1: FIFO with 16/16/15 bytes threshold
ppc2: <Parallel port> at port 0x278-0x27f on isa0
ppc2: Generic chipset (NIBBLE-only) in COMPATIBLE mode
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2 at port 0x3e8-0x3ef irq 10 on isa0
sio2: type 16550A
sio3 at port 0x2e8-0x2ef irq 11 on isa0
sio3: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
acd0: CDROM <ALPS ELECTRIC CO.,LTD. DC544C> at ata1-master PIO3
Waiting 15 seconds for SCSI devices to settle
de0: enabling 100baseTX port

My device.hints:
hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.ata.0.at="isa"
hint.ata.0.port="0x1F0"
hint.ata.0.irq="14"
hint.ata.1.at="isa"
hint.ata.1.port="0x170"
hint.ata.1.irq="15"
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.atkbd.0.flags="0x1"
hint.vga.0.at="isa"
hint.sc.0.at="isa"
hint.sc.0.flags="0x100"
hint.npx.0.at="nexus"
hint.npx.0.port="0x0F0"
hint.npx.0.irq="13"
hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.1.at="isa"
hint.sio.1.port="0x2F8"
hint.sio.1.irq="3"
hint.sio.2.at="isa"
hint.sio.2.port="0x3E8"
hint.sio.2.irq="10"
hint.sio.3.at="isa"
hint.sio.3.port="0x2E8"
hint.sio.3.irq="11"
hint.ppc.0.at="isa"
hint.ppc.1.at="isa"
hint.ppc.2.at="isa"


I thought that I possibly need a device hint for lpt but none is
documented it seems and all I tried where ignored.

devinfo shows that also ppi is only connected to ppc0:
[48]cicely13# devinfo
nexus0
  npx0
  pcib0
    pci0
      hostb0
      isab0
        isa0
          atkbdc0
            atkbd0
          fdc0
            fd0
          ppc0
            ppbus0
              lpt0
              ppi0
          ppc1
            ppbus1
          ppc2
            ppbus2
          sc0
          sio0
          sio1
          sio2
          sio3
          vga0
          orm0
          atpic0
          atdma0
          attimer0
          attimer1
          npxisa0
          sysresource0
          pcibus_pnp0
      atapci0
        ata0
        ata1
      ahc0
      de0
  eisa0
  mca0

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020405120021.GN51284>