From owner-freebsd-questions Fri Feb 2 19:44:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id EFABC37B491 for ; Fri, 2 Feb 2001 19:44:11 -0800 (PST) Received: (qmail 44829 invoked by uid 100); 3 Feb 2001 03:44:11 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14971.32395.86754.378912@guru.mired.org> Date: Fri, 2 Feb 2001 21:44:11 -0600 (CST) To: "Ilya" Cc: "Mike Meyer" , Subject: Re: printer in bsd In-Reply-To: <008001c08d91$62c9a390$0100a8c0@ilya> References: <14970.59925.566265.399149@guru.mired.org> <008001c08d91$62c9a390$0100a8c0@ilya> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ilya types: > 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 What do you get when you grep for lpt in the dmesg boot? Mine looks like this: ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port And if you rean't seeing that, what is the BIOS setting for your parallel port? 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. > > > > -- 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