Date: Sun, 25 Sep 2005 09:34:17 -0700 (PDT) From: Robert Zagarello <bzag0@yahoo.com> To: freebsd-stable@freebsd.org Subject: Re: [freebsd-stable@freebsd.org]: lpt0 always busy Message-ID: <20050925163417.33425.qmail@web53807.mail.yahoo.com> In-Reply-To: <20050925181238.6bfe01fb.stanley.jobson@gmx.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <stanley.jobson@gmx.ch> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050925163417.33425.qmail>