From owner-freebsd-questions Fri Feb 2 19:29: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from alchemistry.net (alchemistry.net [160.79.102.254]) by hub.freebsd.org (Postfix) with ESMTP id 1B54D37B491 for ; Fri, 2 Feb 2001 19:28:42 -0800 (PST) Received: from [192.168.0.1] (helo=ilya) by alchemistry.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.21 #6) id 14OtNP-0000aH-00; Fri, 02 Feb 2001 22:28:39 -0500 Message-ID: <008001c08d91$62c9a390$0100a8c0@ilya> From: "Ilya" To: "Mike Meyer" Cc: References: <14970.59925.566265.399149@guru.mired.org> Subject: Re: printer in bsd Date: Fri, 2 Feb 2001 22:28:27 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sorry, its FreeBSD 4.2S I changed kernel to this - exactly from generic: # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer this is from boot dmesg: ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode this is in /dev crw------- 1 root wheel 16, 0 Feb 2 22:27 /dev/lpt0 crw------- 1 root wheel 16, 1 Feb 2 22:27 /dev/lpt1 but lptest gives: lptest >/dev/lpt0 bash: /dev/lpt0: Device busy ----- Original Message ----- From: "Mike Meyer" To: "Ilya" Cc: Sent: Friday, February 02, 2001 12:10 PM Subject: Re: printer in bsd > Ilya types: > > Hi. I am trying to use my bubble jet on FreeBSD > > I recompiled kernel with this info: > > device ppc0 at isa? irq 7 > > device ppbus # Parallel port bus (required) > > device lpt0 at isa? port? tty irq 7 vector lptintr > > > > and during boot I get this: > > ppc0: at port 0x378-0x37f irq 7 on isa0 > > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > > > > nothing about lpt1 > > > > any suggestions? > > Yes - tell us which version of the OS you're running. For recent > releases, it's "device lpt", not the thing you have. You can also look > in the GENERIC config to see how they have lpt0 set up, as it should > have it enabled. > > Finally, if what you gave from the config is right, you should be > looking for lpt0, not lpt1. And you need to make sure it's configured > to use irq 7 in the BIOS. > > -- > Mike Meyer http://www.mired.org/home/mwm/ > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message