Andreas Klemm on Tue, 17 Apr 2001 21:30:20 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Problem with setup under FreeBSD...


On Tue, Apr 17, 2001 at 12:03:34PM -0500, Chris Watson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > Never saw this one.
> > Can you "print" by concatenating an ASCII file to the printer ?
> >
> > 	root# cat /etc/passwd > /dev/lpt0
> >
> 
> Nope. open-systems# cat /etc/passwd > /dev/lpt0
> 		    /dev/lpt0: Device busy.

Could it be the case, that your BIOS settings have ECP+EPP ?
ECP mode for example requires a DMA channel, usually 3.
Maybe your printer is not capable to handle the throughput ???

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.3-RC #1: Tue Apr 17 08:20:17 CEST 2001
    root@titan.klemm.gtn.com:/usr/src/sys/compile/TITAN
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 997460564 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (997.46-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 134201344 (131056K bytes)
avail memory = 127258624 (124276K bytes)
Preloaded elf kernel "kernel" at 0xc032e000.
VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc02d0862 (1000022)
VESA: NVidia
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <NVidia GeForce2 GTS graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <VIA 83C572 USB controller> at 4.2 irq 10
pci0: <VIA 83C572 USB controller> at 4.3 irq 10
pcm0: <AudioPCI ES1371> port 0xb800-0xb83f irq 3 at device 5.0 on pci0
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xb400-0xb4ff mem 0xed800000-0xed800fff irq 3 at device 9.0 on pci0
aic7880: Single Channel A, SCSI Id=7, 16/255 SCBs
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xb000-0xb03f mem 0xec800000-0xec8fffff,0xed000000-0xed000fff irq 10 at device 10.0 on pci0
fxp0: Ethernet address 00:d0:b7:ba:c1:c2
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 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 IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <8 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0x8 on isa0
                                                      ^^^^

I personally use ECP only mode...
In my kernel config I use:
device		ppc0	at isa? flags 0x8 irq 7
                                      ^^^ this !

ppc0: SMC-like chipset (ECP-only) in ECP mode
                                  ^^^^^^^^^^^
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
imm0: NIBBLE mode unavailable!
plip0: <PLIP network interface> on ppbus0
ad0: 38166MB <ST340823A> [77545/16/63] at ata0-master UDMA66
ad2: 43979MB <IBM-DTLA-307045> [89355/16/63] at ata1-master UDMA66
Waiting 8 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad2s1a

My kernel config file regarding printing (ECP mode)

device          ppc0    at isa? flags 0x8 irq 7
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device

Does your print run under Windoof ?

Best regards
	
	Andreas ///

-- 
Andreas Klemm
Apsfilter Homepage                  http://www.apsfilter.org
Support over mailing-lists (only!)  http://www.apsfilter.org/support
Mailing-list archive                http://www.apsfilter.org/Lists-Archives

PGP signature