From owner-freebsd-stable@FreeBSD.ORG Sun Sep 25 16:34:18 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 3B7F516A41F for ; Sun, 25 Sep 2005 16:34:18 +0000 (GMT) (envelope-from bzag0@yahoo.com) Received: from web53807.mail.yahoo.com (web53807.mail.yahoo.com [206.190.36.202]) by mx1.FreeBSD.org (Postfix) with SMTP id BE05D43D55 for ; Sun, 25 Sep 2005 16:34:17 +0000 (GMT) (envelope-from bzag0@yahoo.com) Received: (qmail 33427 invoked by uid 60001); 25 Sep 2005 16:34:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lNrr13kgGGNs7mE084KVkE+g2WwGsg4GEbdr91ppbprgNsoDKAC6TqcJcC4SW71yCyFvWD8DS1KY6BvNgd+dfrN+e5XJJxrKUHymexO6qvM67J88FFwZHcYLiQKre7/J/OiTqefXdQSDrorasK73CCM+c1qFSL1lGlmYBQaAX7w= ; Message-ID: <20050925163417.33425.qmail@web53807.mail.yahoo.com> Received: from [24.186.205.95] by web53807.mail.yahoo.com via HTTP; Sun, 25 Sep 2005 09:34:17 PDT Date: Sun, 25 Sep 2005 09:34:17 -0700 (PDT) From: Robert Zagarello To: freebsd-stable@freebsd.org In-Reply-To: <20050925181238.6bfe01fb.stanley.jobson@gmx.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: [freebsd-stable@freebsd.org]: 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 16:34:18 -0000 Can you get hold of a simpler printer, one that uses the HP500 driver for example, and test your port? I tend to think it's a driver issue, at least until you can rule it out. I've had this problem on a NetBSD system, for example, which got solved by switching to just such a simpler printer and driver. BZAG ===================================== --- 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 ... > > > > > > > Are you sure nothing else is using the port? > (lpd, cups, etc) > > > > > > i think so: lpd is not running and lsof | grep > lpt doesnt show anything > > > either : ( > > > > fstat /dev/lpt0 > > and > > fstat /dev/lpt0.ctl > > > > ? > > root@tyrael seb $ fstat /dev/lpt0.ctl > USER CMD PID FD MOUNT INUM MODE > SZ|DV R/W NAME > root@tyrael seb $ fstat /dev/lpt0 > USER CMD PID FD MOUNT INUM MODE > SZ|DV R/W NAME > root@tyrael seb $ > > > > > > so i guess there could be a prob with the > ready/status checking > > > procedure > > > > This consists of checking the BUSY pin on the > port.. > > Parallel ports are (sans ECP/EPP extras) very very > simple. > > > > 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" ... > > thx > regards, > stan > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" >