From owner-freebsd-questions Wed Oct 30 14:30:29 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 2682037B401 for ; Wed, 30 Oct 2002 14:30:27 -0800 (PST) Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD5843E42 for ; Wed, 30 Oct 2002 14:30:26 -0800 (PST) (envelope-from co9@xs4all.nl) Received: from xs4all.nl (a194-109-252-84.adsl.xs4all.nl [194.109.252.84]) by smtpzilla5.xs4all.nl (8.12.0/8.12.0) with ESMTP id g9UMUOH5003171; Wed, 30 Oct 2002 23:30:24 +0100 (CET) Message-ID: <3DC05D80.3020300@xs4all.nl> Date: Wed, 30 Oct 2002 23:30:24 +0100 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 , freebsd-questions Subject: Re: Please help me: /dev/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 everybody! > > Please help me with my lpt0 > > When I try to put something to lpt0 I see the next: > > ``````````````````````````````````````````````````````````````` > ~# cat > /dev/lpt0 > Oct 30 01:41:58 lizard /kernel: lpt flags 0x0 > Oct 30 01:41:58 lizard /kernel: lpt flags 0x0 > /dev/lpt0: Device busy. > Oct 30 01:42:02 lizard /kernel: status 4e > Oct 30 01:42:02 lizard /kernel: status 4e > ~# > ``````````````````````````````````````````````````````````````` > > `fstat /dev/lpt0` shows empty table. > > Here it is part of dmesg's output: > > ``````````````````````````````````````````````````````````````` > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: PC87306 chipset (EPP/NIBBLE) in COMPATIBLE mode > out=55 in=55 tout=10000 > out=aa in=aa tout=10000 > out=fe in=fe tout=10000 > out=fd in=fd tout=10000 > out=fb in=fb tout=10000 > out=f7 in=f7 tout=10000 > out=ef in=ef tout=10000 > out=df in=df tout=10000 > out=bf in=bf tout=10000 > out=7f in=7f tout=10000 > out=1 in=1 tout=10000 > out=2 in=2 tout=10000 > out=4 in=4 tout=10000 > out=8 in=8 tout=10000 > out=10 in=10 tout=10000 > out=20 in=20 tout=10000 > out=40 in=40 tout=10000 > out=80 in=80 tout=10000 > lpt0: on ppbus0 > oldirq 0 > lpt0: Interrupt-driven port > irq 7 7 > lpt flags 0x0 > status 4e > lpt flags 0x0 > status 4e > lpt flags 0x0 > status 4e > ``````````````````````````````````````````````````````````````` > > Here it is part of my kernel config: > > ``````````````````````````````````````````````````````````````` > device ppc0 at isa? irq 7 > device ppbus > device lpt > options PPC_PROBE_CHIPSET # Enable chipset specific detection > options LPT_DEBUG # Printer driver debug > options PPC_DEBUG # Parallel chipset level debug > ``````````````````````````````````````````````````````````````` > > I tried w/o PPC_PROBE_CHIPSET result was the same. > > What can you advice? > > May be I should set my chipset to NIBBLE mode? > But I don't know how. > > I'm waiting for any propositions > Anton > Perhaps this is an interesting link: http://www.mostgraveconcern.com/freebsd/prn.html Regards, Robin > > 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