From owner-freebsd-questions Mon Sep 4 10:28:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id 9EE2A37B423 for ; Mon, 4 Sep 2000 10:28:34 -0700 (PDT) Received: from parish.my.domain ([62.255.97.35]) by mta05-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000904172832.VZVG317.mta05-svc.ntlworld.com@parish.my.domain>; Mon, 4 Sep 2000 18:28:32 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id SAA01265; Mon, 4 Sep 2000 18:28:25 +0100 (BST) (envelope-from mark) Date: Mon, 4 Sep 2000 18:28:24 +0100 From: Mark Ovens To: amg Cc: questions@freebsd.org Subject: Re: printer prpblems Message-ID: <20000904182824.C254@parish> References: <39B3DAA1.794BDF32@cris.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <39B3DAA1.794BDF32@cris.com>; from ursa@cris.com on Mon, Sep 04, 2000 at 01:23:45PM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Sep 04, 2000 at 01:23:45PM -0400, amg wrote: > Questions: > > Version: FreeBSD 4.1 CDROM > > Hardwar: IBM PPro 200MHz 64MB Ram > > Symptomes: Printer not functioning > > Attached: dmesg.out - output of dmesg > KERNEL_MAX1 - kernel config file > dev.files - lpt devices in /dev > > > When I recently switched from 2.2.8 to 4.1, the > printer no longer prints. When issuing the > following commands, the following output appears: > > "cat myfile > /dev/lpt0" yields: > > ksh: cannot create /dev/ltp0: Device not configured > > "lpr myfile" produces no error msg to the screen > but NO printer output either. > > As far as I know, I have followd the directions in the > "handbook". > > I see no mention of lpt? in the output of dmesg, which > leads me to believe that there is not kernel support. > However, I have added printer support to the kernel > config file and rebuilt the kernel, twice, with the > same results, see attached files. > > Additionally, there was not support for lpt? in the > GENERIC kernel. > > I'd appreciate any wisdom on this, as I need to be > able to print any number of files. > > > august > ursa@cris.com [snip] > > # Parallel port > device ppc0 at isa? irq 7 > device ppbus # Parallel port bus (required) > device lpt # Printer > device lpt0 at isa? port? tty irq 7 vector lptintr > ##device plip # TCP/IP over parallel > ##device ppi # Parallel port interface device > #device vpo # Requires scbus and da > Try removing the ``device lpt0'' line and uncommenting the ``device ppi'' line. Here's what I have in my config file and it works fine (HP 610C): # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message