lpt0 always busy
Stanley Jobson
stanley.jobson at gmx.ch
Sun Sep 25 09:13:14 PDT 2005
> > 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 at tyrael seb $ fstat /dev/lpt0.ctl
USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME
root at tyrael seb $ fstat /dev/lpt0
USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME
root at 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 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" ...
thx
regards,
stan
More information about the freebsd-stable
mailing list