LPT Printer: device busy
- From: Tomek <balrog2000@xxxxx>
- Date: Fri, 24 Feb 2006 17:33:29 +0100
Hello!
I am having quite weird problem with the LPT port on my FreeBSD 5.4 box. Mainboard is some i815 based. There is HP LaserJet IIIP printer connected to it. I am sure the printer and cable is 100% ok, checked on 2 comps. And even on the same box it works correctly while booted from M$DO$ bootdisk. In DOS dir > lpt1 prints some output ( not really correct cause I think it is postscript printer ), but it works. While In freeBSD it gives me same error all the time.
I don';t have any idea what can be wrong. I will try to give you as much data as I can. I also tried different modes in setup (SPP,ECP,EPP,ECP+EPP). If anybody have any idea please reply.
Regards, Tomasz Kraus
% echo "TEST" > /dev/lpt0
/dev/lpt0: Device busy.
% lptest -a > /dev/lpt0
/dev/lpt0: Device busy.
I even tried:
% lptcontrol -p -d /dev/lpt0.ctl
and after that:
% echo "TEST" > /dev/lpt0
/dev/lpt0: Device busy.
% lptest -a > /dev/lpt0
/dev/lpt0: Device busy.
part of kernel config(I tried to enable this puc device but with no luck):
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device puc
The same errors. I am not using any print daemons yet. I am just trying to write directly to the printer. I am out of ideas now. What the heck does it mean "DEVICE BUSY"? It can't be busy cause noone is printing, I think it means that BSD can't communicate with port/printer.
dmesg -a:
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p11 #3: Fri Feb 24 17:07:54 CET 2006
root@xxxxxxxxxxxxxxxxxx:/usr/src/sys/i386/compile/GANDALF
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Celeron (994.46-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x68a Stepping = 10
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 268369920 (255 MB)
avail memory = 257163264 (245 MB)
(...)
ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
(...)
.
- Follow-Ups:
- Re: LPT Printer: device busy
- From: DaveG
- Re: LPT Printer: device busy
- Prev by Date: Re: absolute bsd
- Next by Date: Re: absolute bsd
- Previous by thread: TCP Tracing
- Next by thread: Re: LPT Printer: device busy
- Index(es):
Relevant Pages
|