Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 95 17:01:29 EST
From:      hstrong@eng2.uconn.edu (Hugh Strong)
To:        freebsd-questions@freefall.cdrom.com
Subject:   Slooww Printer Port
Message-ID:  <9503282201.AA06425@lurch>

next in thread | raw e-mail | index | archive | help

I seem to have a badly misbehaved parallel printer configuration.  Under
MS-DOG, output sent to my Deskjet 540 is printed soon after I copy it to
lpt1:.  Doing the equivalent 

        cat filename.txt > /dev/lpt0 

under FreeBSD results the output finally being printed five to ten
minutes later.  All the while the printer blinks its "busy/power" status
light as if something is being received.  Printing a page of Postscript
via Ghostscript takes several hours!

I took a look at systat:vmstat while the pages printed out.  At best,
two or three interrupts per second are being generated from lpt0. 
Something's not quite right here!  Any ideas?

Oh, here's "dmesg":

FreeBSD 2.1.0-Development #0: Mon Mar 13 20:28:27  1995
    root@superguppy:/usr/src/sys/compile/SUPERG
CPU: i486DX (486-class CPU)
real memory  = 16384000 (4000 pages)
avail memory = 15212544 (3714 pages)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 10 maddr 0xd8000 msize 16384 on isa
ed0: address 00:00:c0:7e:52:b6, type SMC8416C/SMC8416BT (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 not found at 0x3e8
sio3 not found at 0x2e8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found at 0xffffffff
lpt2 not found at 0xffffffff
pca0 PC speaker audio driver
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: (NEC 72065B) [0: fd0: 1.44MB 3.5in]
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <Conner Peripherals 850MB - CFA850A>, 32-bit data path
wd0: 813MB (1665216 total sec), 1652 cyl, 16 head, 63 sec, bytes/sec 512
wdc1 not found at 0x170
scd0 not found at 0x230
npx0 on motherboard
npx0: INT 16 interface
joy0 at 0x201 on isa
joy0: joystick
pid 369: systat: uid 0: exited on signal 8

					-- Hugh Strong



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