Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2001 19:02:03 -0400
From:      User & Ian Patrick Thomas <ipthomas_77@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   /dev/lpt0 is always busy
Message-ID:  <20010718190203.A51074@localhost>

next in thread | raw e-mail | index | archive | help

--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

	I have never attempted to get a printer working
on FreeBSD until now so excuse my very limited knowledge.
I just obtained an HP LaserJet IIP and after attempting the
printer test as described in the handbook 

lptest > /dev/lpt0

	I get 

/dev/lpt0: Device busy.

	After trying to change the Printer to polling mode using
lptcontrol -p, I get

lptcontrol: open: Device busy

	lpd is not running.  Here is the output from dmesg.  I could
not find any IRQ conflicts with the one that is assigned, 7.  I 
sent it as an attachment.

Ian


--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.txt"

Copyright (c) 1992-2001 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 4.3-STABLE #1: Wed Jul 18 17:48:45 EDT 2001
    ipt@scraemondaemon.my.domain:/usr/obj/usr/src/sys/SCRAEMON
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (501.14-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134152192 (131008K bytes)
avail memory = 127524864 (124536K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc02ff000.
Pentium Pro MTRR support enabled
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
IOAPIC #0 intpin 17 -> irq 2
IOAPIC #0 intpin 16 -> irq 5
IOAPIC #0 intpin 18 -> irq 9
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 5
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 9
Timecounter "PIIX"  frequency 3579545 Hz
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xc400-0xc43f mem 0xec000000-0xec01ffff,0xec020000-0xec020fff irq 2 at device 13.0 on pci0
fxp0: Ethernet address 00:02:b3:1a:b2:81
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <AudioPCI ES1373-8> port 0xc800-0xc83f irq 5 at device 15.0 on pci0
atapci1: <HighPoint HPT366 ATA66 controller> port 0xd400-0xd4ff,0xd000-0xd003,0xcc00-0xcc07 irq 9 at device 19.0 on pci0
ata2: at 0xcc00 on atapci1
atapci2: <HighPoint HPT366 ATA66 controller> port 0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 9 at device 19.1 on pci0
ata3: at 0xd800 on atapci2
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc9000-0xca7ff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
SMP: AP CPU #1 Launched!
ad0: 19541MB <Maxtor 32049H2> [39704/16/63] at ata0-master UDMA33
acd0: CDROM <CREATIVE CD5230E> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled

--uAKRQypu60I7Lcqm--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010718190203.A51074>