lpt0 always busy

Daniel O'Connor doconnor at gsoft.com.au
Sun Sep 25 16:20:01 PDT 2005


On Monday 26 September 2005 01:42, Stanley Jobson wrote:
> > > i have a separate box running win98. from this box i am able to use the
> > > printer with the orig vendor driver without any problem ...
> >
> > Hmm, well it's possible the serial port is broken..
>
> maybe ...

Err parallel port :)

> > Have you tried using lptcontrol to put it into simple mode?
>
> root at tyrael seb $ lptcontrol -s -d /dev/lpt0.ctl
> root at tyrael seb $
>
> > What do you see in dmesg?
>
> lpt0: switched to interrupt-driven standard mode
>
> looks that everything is ok - not ?
> but open(/dev/lpt0) still complains about "device busy" ...

It seriously looks like the printer, cable or port are broken, or the printer 
is very very special..

What sort of printer is it?

You could try printing to /dev/lpt0.ctl since that will ignore BUSY for the 
open.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050926/eb4db513/attachment.bin


More information about the freebsd-stable mailing list