From owner-freebsd-questions Wed Oct 23 6:36:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 587BA37B401 for ; Wed, 23 Oct 2002 06:36:08 -0700 (PDT) Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4F6743E88 for ; Wed, 23 Oct 2002 06:36:06 -0700 (PDT) (envelope-from co9@xs4all.nl) Received: from xs4all.nl (a194-109-252-84.adsl.xs4all.nl [194.109.252.84]) by smtpzilla1.xs4all.nl (8.12.0/8.12.0) with ESMTP id g9NDa3YL047856; Wed, 23 Oct 2002 15:36:03 +0200 (CEST) Message-ID: <3DB6A5F4.6070007@xs4all.nl> Date: Wed, 23 Oct 2002 15:36:52 +0200 From: Robin Schilham Reply-To: co9@xs4all.nl User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021023 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Anton Cc: questions@freebsd.org Subject: Re: lpt0: Device is busy References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Anton wrote: > Hello Warren, > > Wednesday, October 23, 2002, 12:54:18 AM, you wrote: > > WB> On Wed, 23 Oct 2002, Anton wrote: > > >>>When I try to 'cat < file > /dev/lpt0' I see answer: >>>Device is busy. >> > > WB> Often this is because you're running the default kernel with the plip > WB> device configured. This is a parallel-port device, so it ties up the > WB> port. There may be another parallel device also, I forget. > > Here it is part of my kernel configuration file: > > device ppc0 at isa? irq 7 > device ppbus > device lpt > #device ppi <-- I tried with this option switched on also > > #device vpo > #device plip > #device pps > #device lpbb > #device pcfclock > > > Next strings I see while my kernel loading: > > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > lpt0: on ppbus0 > lpt0: Interrupt-driven port > > > Strings from /etc/rc.conf: > > # Printer daemon > lpd_enable="NO" > > What can you advice? > Anton > What's the output of the following command? $fstat /dev/lpt0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message