Re: Parallel Printer Problem

2004-06-09 Thread Ben Timby
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%20rangehl=enlr=ie=UTF-8sa=Ntab=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=0x1bfFPU,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 0xc-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 0xa-0xb 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]


Parallel Printer Problem

2004-06-07 Thread Donald Szatkowski
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=0x1bfFPU,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 0xc-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 0xa-0xb 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]


Parallel Printer

2004-05-20 Thread Donald Szatkowski
Thank you for reading this message.

I have installed FreeBSD 4.10r2 and am having trouble with the printer setup.
This is on and OLD Gateway P5-100, 128mb ram (yah-100Mhz!). It is a direct 
connect to the parallel port. My main source document is the FreeBSD Handbook, 
2nd ed. and the online Handbook @ FreeBSD.org. I have the necc. files as 
directed by Chapter 11, but am still having problems. (/etc/printcap, 
/dev/lpt0, etc). When I test with #lptest /dev/lpt0, I get nothing. My 
initial install selection was for parallel printing. And checking rc.conf 
shows lpd=YES. When I #grep ppc0 /var/run/dmesg.boot I get the message,
can not reserve input output range. When I#dmesg | grep lpt0 I get the 
message, lpt0 not configured.

Here is where the problems begin. Thinking maybe the printer or cable might be 
the problem, I pulled the BSD hard drive, reinstalled the win95 hard drive, 
tested the printer and it worked fine! Reinstall the BSD drive and boot, no 
printer! IRQ 7 the same. To this, I suspect the KERNEL, yet all matches the 
examples with one exception. In the KERNEL file under #Parallel Port, the 
printer is listed at ppc0 and not lpt0. Have I misinterpreted something? Are 
they the same, should all ref to lpt0 be ppc0? Otherwise, BSD is working 
fine! If anyone could direct me to another resource, or drop a hint, it sure 
would be appreciated.

ThanksDon

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


Re: Parallel Printer

2004-05-20 Thread Incoming Mail List
The problem most likely has little to do with your computer or cables.
Setting up printers on Unix can be a pain.  I recommend using the
apsfilter or cups port instead of trying to set it up manually.  I've
used both and have had success with both, but settled upon apsfilter
(for no particular reason) although my printer accepts PostScript by 
default.  You'll need to give the group detailed information about your
printer instead of the CPU in order to get help related to this issue.
 
Jon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parallel Printer

2004-05-20 Thread Warren Block
On Thu, 20 May 2004, Donald Szatkowski wrote:

 I have installed FreeBSD 4.10r2 and am having trouble with the printer setup.
 This is on and OLD Gateway P5-100, 128mb ram (yah-100Mhz!).

This should be fine.

 It is a direct connect to the parallel port. My main source document
 is the FreeBSD Handbook, 2nd ed. and the online Handbook @
 FreeBSD.org. I have the necc. files as directed by Chapter 11, but am
 still having problems. (/etc/printcap, /dev/lpt0, etc). When I test
 with #lptest /dev/lpt0, I get nothing.

Some printers are not capable of printing plain text.  You do not
mention which printer you have.

 My initial install selection was for parallel printing. And checking
 rc.conf shows lpd=YES.

It should be lpd_enable=YES.

 When I #grep ppc0 /var/run/dmesg.boot I get the message, can not
 reserve input output range. When I#dmesg | grep lpt0 I get the
 message, lpt0 not configured.

These are a problem.  Please post the entire, exact lines returned as
results of these commands.

At this point, I suggest you do not install any additional printing
software until you have identified the make and model of printer and
sorted out why you are seeing the odd errors above.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]