Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 08:49:40 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Stanley Jobson <stanley.jobson@gmx.ch>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: lpt0 always busy
Message-ID:  <200509260849.50510.doconnor@gsoft.com.au>
In-Reply-To: <20050925181238.6bfe01fb.stanley.jobson@gmx.ch>
References:  <20050924180909.78a29487.stanley.jobson@gmx.ch> <200509252330.05256.doconnor@gsoft.com.au> <20050925181238.6bfe01fb.stanley.jobson@gmx.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2252079.oe6rJI515z
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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 t=
he
> > > 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@tyrael seb $ lptcontrol -s -d /dev/lpt0.ctl
> root@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 print=
er=20
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=
=20
open.

=2D-=20
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

--nextPart2252079.oe6rJI515z
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBDNzCW5ZPcIHs/zowRAhpMAJ9ytRf5bYCDvuaYwouKX9bzzXkkFQCdFOih
uP1dcwYFcKCmRmNSAZiA/1c=
=VQF5
-----END PGP SIGNATURE-----

--nextPart2252079.oe6rJI515z--



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