From owner-freebsd-questions Wed Jul 18 20:15:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtprelay1.adelphia.net (smtprelay1.adelphia.net [64.8.25.6]) by hub.freebsd.org (Postfix) with ESMTP id EE3F737B401 for ; Wed, 18 Jul 2001 20:15:27 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scraemondaemon.my.domain ([24.49.96.3]) by smtprelay1.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id GGPAB002.1BV; Wed, 18 Jul 2001 23:13:48 -0400 Received: (from ipt@localhost) by scraemondaemon.my.domain (8.11.4/8.11.4) id f6J3DOa80599; Wed, 18 Jul 2001 23:13:24 -0400 (EDT) (envelope-from ipt) Date: Wed, 18 Jul 2001 23:13:24 -0400 From: User & Ian Patrick Thomas To: parv Cc: freebsd-questions@freebsd.org Subject: Re: /dev/lpt0 is always busy Message-ID: <20010718231324.F80368@localhost> References: <20010718190203.A51074@localhost> <20010718192226.A69370@moo.holy.cow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010718192226.A69370@moo.holy.cow>; from parv_@yahoo.com on Wed, Jul 18, 2001 at 07:22:26PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I did this lptcontrol -p -d /dev/lpctl0 and this time it did not give an error message, but I am still getting the busy signal when I try to run the lptest. I am going to try and recompile a kernel with the lpt0 set without an IRQ and see if this makes a difference. I'll also try the rc.conf route. Thanks for the help. Ian As it was put forth by parv on Wed, Jul 18, 2001 at 07:22:26PM -0400... > on Jul 18 19:11, i got this from User... > > I have never attempted to get a printer working > > on FreeBSD until now so excuse my very limited knowledge. > > I just obtained an HP LaserJet IIP and after attempting the > > printer test as described in the handbook > > > > lptest > /dev/lpt0 > > > > I get > > > > /dev/lpt0: Device busy. > > > > After trying to change the Printer to polling mode using > > lptcontrol -p, I get > > > > lptcontrol: open: Device busy > > > i don't know why lptest would give you a busy msg, but to put lpt in > polling mode you need to do... > > # lptcontrol -p -d /dev/lpctl0 > > ...at least that's what i had to do after making kernel w/ updated > source tree as of jun 24, 2001. lptcontrol didn't complain w/ old > sources (don't remember the date) though. > > see man page for lptcontrol. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message