From owner-freebsd-questions Tue Oct 29 15:43:15 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 89C3B37B401 for ; Tue, 29 Oct 2002 15:43:13 -0800 (PST) Received: from kot.kot.poltava.ua (kot.kot.poltava.ua [194.44.39.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id C84B143E6E for ; Tue, 29 Oct 2002 15:43:09 -0800 (PST) (envelope-from FreeBSD@list.ru) Received: from hw (ppp60.solver.net.ua [194.44.39.60]) by kot.kot.poltava.ua (8.9.3/8.9.1) with ESMTP id BAA22493 for ; Wed, 30 Oct 2002 01:43:01 +0200 (EET) Date: Wed, 30 Oct 2002 01:47:47 +0200 From: Anton X-Mailer: telnet.exe Reply-To: Anton X-Priority: 3 (Normal) Message-ID: <1347693549.20021030014747@list.ru> To: freebsd-questions@freebsd.org Subject: Please help me: /dev/lpt0 Device is busy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message