Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 15:36:52 +0200
From:      Robin Schilham <co9@xs4all.nl>
To:        Anton <FreeBSD@list.ru>
Cc:        questions@freebsd.org
Subject:   Re: lpt0: Device is busy
Message-ID:  <3DB6A5F4.6070007@xs4all.nl>
References:  <list.freebsd.questions#Pine.BSF.4.21.0210221651140.81874-100000@wonkity.com> <list.freebsd.questions#921741484.20021023084807@list.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> lpt0: <Printer> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB6A5F4.6070007>