My first thought is to check your BIOS, and try enabling/disabling any "auto config" features associated with this port. In my experience, ppc0 *just works*. However, I did a google groups search, and I found some threads describing your problem, and providing solutions along these lines.

http://groups.google.com/groups?q=ppc0%3A%20cannot%20reserve%20I%2FO%20port%20range&hl=en&lr=&ie=UTF-8&sa=N&tab=wg

Good luck!

Donald Szatkowski wrote:

Thank you for considering my question.

I am having trouble getting a direct parallel port printer to work. I have narrowed the problem down to the initial boot process, but am unable to resolve the problem of no printer port. The problem is that the parallel port fails to initialize at startup.

#uname -a FreeBSD bsd4_10.maingear.com 4.10-RELEASE FreeBSD 4.10-RELEASE #0:
Tue May 25 22:47?12 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386


#dmesg:
Copyright (c) 1979,1980,1983,1986,1988,1989,1991,1992,1993,1994
The Regents of the University of California, All rights reserved.
FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium/P54C (99.47-MHz 586-class CPU)
Origin= "GenuineIntel" Id = 0x525 Stepping = 5
Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory = 134217728 (131072K bytes)
avail memory = 125169664 (122236K bytes)
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI Bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371FB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX ATA controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <S3 Trio graphics accelerator> at 14.0 irq 9
dc0: <AEMtek AN985 10/100BaseTX> port 0xfc00-0xfcff mem 0xffbeec00-oxffbeefff irq 10 at device 15.0 on pci0
dc0: Ethernet address: 00:20:78:1e:be:f7
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem 0xc0000-0xed000, 0xed000-0xedfff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irrq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
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 issq 3 on isa0
sio1: type 16550A
ppc0: cannot reserve I/O port range
ad0: 58644MB <Maxtor 6Y060L0> [119150/16/63] at ata0-master WDMA2
acd0: CDROM <SAMSUNG CD-ROM SC-140> at ata1-master PIO4
mounting root from ufs:ad0s1a
#


The following is info from Windows98 system report:
        IRQ usage summary:
                07 - Printer port (LPT1)
        I/O port usage summary:
                03BCh-03BFh - Printer port (LPT1)

The following was attempted:
        # /dev/MAKEDEV lpt0
        # dmesg | grep lpt0
        no response, just returned to root cursor
        #

        ALSO:
                #dmesg:Boot
                        ppc0: cannot reserve I/O port range

From the dmesg at boot, it is obvious that the ppc0 cannot reserve I/O range needed for the parallel port. My problem is , I don't know what to do NOW!!!!
I can find no reference in the Handbook or in FAQ's that address my problem.
Can anyone assist in getting this printer to work?


by the way, printer works fine with 98.

Thanks in advance

Donald Szatkowski

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to