From owner-freebsd-questions Wed Jul 18 16: 4:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtprelay1.adelphia.net (smtprelay1.adelphia.net [64.8.25.6]) by hub.freebsd.org (Postfix) with ESMTP id 3706237B406 for ; Wed, 18 Jul 2001 16:04:04 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scraemondaemon.my.domain ([24.49.96.3]) by smtprelay1.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id GGOYO300.ZAY for ; Wed, 18 Jul 2001 19:02:27 -0400 Received: (from ipt@localhost) by scraemondaemon.my.domain (8.11.4/8.11.4) id f6IN23654798 for freebsd-questions@freebsd.org; Wed, 18 Jul 2001 19:02:03 -0400 (EDT) (envelope-from ipt) Date: Wed, 18 Jul 2001 19:02:03 -0400 From: User & Ian Patrick Thomas To: freebsd-questions@freebsd.org Subject: /dev/lpt0 is always busy Message-ID: <20010718190203.A51074@localhost> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 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: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 17 -> irq 2 IOAPIC #0 intpin 16 -> irq 5 IOAPIC #0 intpin 18 -> irq 9 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 5 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 9 Timecounter "PIIX" frequency 3579545 Hz chip1: port 0x5000-0x500f at device 7.3 on pci0 fxp0: 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: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xc800-0xc83f irq 5 at device 15.0 on pci0 atapci1: port 0xd400-0xd4ff,0xd000-0xd003,0xcc00-0xcc07 irq 9 at device 19.0 on pci0 ata2: at 0xcc00 on atapci1 atapci2: port 0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 9 at device 19.1 on pci0 ata3: at 0xd800 on atapci2 orm0: