From owner-freebsd-stable@FreeBSD.ORG Sun Sep 25 23:20:01 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E9B716A41F for ; Sun, 25 Sep 2005 23:20:01 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E8A143D48 for ; Sun, 25 Sep 2005 23:19:59 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.31]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j8PNJqPp097402 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 26 Sep 2005 08:49:58 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Stanley Jobson Date: Mon, 26 Sep 2005 08:49:40 +0930 User-Agent: KMail/1.8.2 References: <20050924180909.78a29487.stanley.jobson@gmx.ch> <200509252330.05256.doconnor@gsoft.com.au> <20050925181238.6bfe01fb.stanley.jobson@gmx.ch> In-Reply-To: <20050925181238.6bfe01fb.stanley.jobson@gmx.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2252079.oe6rJI515z"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509260849.50510.doconnor@gsoft.com.au> X-Spam-Score: -2.82 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: freebsd-stable@freebsd.org Subject: Re: lpt0 always busy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Sep 2005 23:20:01 -0000 --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--