Date: Wed, 30 Oct 2002 01:47:47 +0200 From: Anton <FreeBSD@list.ru> To: freebsd-questions@freebsd.org Subject: Please help me: /dev/lpt0 Device is busy Message-ID: <1347693549.20021030014747@list.ru>
next in thread | raw e-mail | index | archive | help
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: <Parallel port> 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: <Printer> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1347693549.20021030014747>