From owner-freebsd-questions Wed Nov 13 00:57:53 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03432 for questions-outgoing; Wed, 13 Nov 1996 00:57:53 -0800 (PST) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.225.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA03425 for ; Wed, 13 Nov 1996 00:57:43 -0800 (PST) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id JAA26535; Wed, 13 Nov 1996 09:57:33 +0100 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id KAA01897; Wed, 13 Nov 1996 10:07:39 +0100 Message-Id: <199611130907.KAA01897@gilberto.physik.rwth-aachen.de> Date: Wed, 13 Nov 1996 10:07:38 +0100 From: kuku@gilberto.physik.rwth-aachen.de (Christoph Kukulies) To: hlew@sequence.Stanford.EDU (Howard Lew) Cc: questions@FreeBSD.ORG Subject: Re: weird lpt problems References: X-Mailer: Mutt 0.48.1 Mime-Version: 1.0 In-Reply-To: ; from "Howard Lew" on Nov 12, 1996 12:24:13 -0800 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Howard Lew writes: > > System is using the 2.1.5R kernel > > 1) lpq always says "waiting for laser to become ready (offline ?)" > > 2) Even if I kill lpd and do a "cat file > /dev/lpt0" I get: > "/dev/lpt0: Device busy." when the laser is idle. > > 3) Just to be sure it is a not a cable problem, I can bootup in Win95 and > print without any problems in DOS or Windows 95. > > 4) I have tried playing around with the SPP/ECP/EPP settings and even > changing the parallel port addresses and irqs, but none of the changes help. > > 5) I have tried setting the lpt flag to 0xff from 0x0 and it does not > help. Does anyone know what the flag settings mean? > > I can not get the "lptest > /dev/lpt0" to work without the same > "/dev/lpt0: Device busy." message. I wonder why it keeps saying that > /dev/lpt0 is busy when no device is using it. > > Does anyone have any ideas? This is truly the weirdest problem I have > ever faced because the darn printer will print if I bootup in Win95. > > Thanks in advance for any help, suggestions, or any input at all. > > > > ---- > Here's the /etc/printcap: > > # @(#)printcap 5.3 (Berkeley) 6/30/90 > > laser|epson|lp|Epson Laser Printer:\ > :sh:\ > :lp=/dev/lpt0:\ > :sd=/var/spool/lpd:\ > :if=/usr/local/libexec/hpif:\ > :lf=/var/spool/lpd/logfile:\ > :af=/var/spool/lpd/acct:\ > :mx#0:sf: > What does your dmesg output say about the printer port? Make sure the device node /dev/lpt0 isn't pointing to something else. What is in /var/log/lpd-errs? Try using lptcontrol -p to choose polled mode. Is another device strapped to irq 7? -- --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de