From owner-freebsd-questions Sat Jan 20 11:34:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.98.60]) by hub.freebsd.org (Postfix) with ESMTP id 7C97537B401 for ; Sat, 20 Jan 2001 11:34:21 -0800 (PST) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.11.1/8.9.3) with ESMTP id f0KJYG713993; Sat, 20 Jan 2001 20:34:17 +0100 (CET) (envelope-from kheuer@gwdu60.gwdg.de) Date: Sat, 20 Jan 2001 20:34:16 +0100 (CET) From: Konrad Heuer To: Drew Sanford Cc: questions Subject: Re: Help with printer setup In-Reply-To: <3A69C914.4070703@planetwe.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 20 Jan 2001, Drew Sanford wrote: > I'm trying to set up a printer on 4.2-stable and running into some > problems. I looked at the handbook, and figured that sensably enough, > the first thing to do was to try lptest > lpt0 to see if everything was > talking nicely. After a second or 5, it printed one line of the ascii > charactor set across the top of the page (from ! to o) and then a " at > the righthand end of the next line, then ejected that sheet of paper, > loaded another, and sat there. The trouble shooting section of the > handbook doesn't appear to deal with this situation. For the record, I > also attempted to install apsfilter6 - it installed ok, but the test > page printing took forever (I mean hours and hours) and nothing seems to > be able to print - actually, it doesn't look like apsfilter wrote > anything to the /etc/printcap file. For the record, aplicable hardware is= : > > Duron 800 on Asus A7V > Deskjet 812c on the parallel port > > dmesg: > > > 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= =2E > FreeBSD 4.2-STABLE #9: Sun Jan 14 07:58:54 CST 2001 > root@colossus.cotharyus.net:/usr/src/sys/compile/Colossus > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 807193683 Hz > CPU: AMD Athlon(tm) Processor (807.19-MHz 686-class CPU) > Origin =3D "AuthenticAMD" Id =3D 0x630 Stepping =3D 0 > > Features=3D0x183f9ff > AMD Features=3D0xc0440000<,AMIE,DSP,3DNow!> > real memory =3D 268353536 (262064K bytes) > avail memory =3D 257978368 (251932K bytes) > Preloaded elf kernel "kernel" at 0xc0347000. > Pentium Pro MTRR support enabled > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib2: at device 1.0 on= pci0 > pci1: on pcib2 > pci1: at 0.0 irq 11 > isab0: at device 4.0 on pci0 > isa0: on isab0 > atapci0: port 0xd800-0xd80f at device 4.1 > on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > uhci0: port 0xd400-0xd41f irq 5 at device > 4.2 on pci0 > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xd000-0xd01f irq 5 at device > 4.3 on pci0 > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2 > uhub2: 4 ports with 4 removable, self powered > dc0: <82c169 PNIC 10/100BaseTX> port 0xa400-0xa4ff mem > 0xe0000000-0xe00000ff irq 9 at device 10.0 on pci0 > dc0: Ethernet address: 00:a0:cc:40:93:80 > miibus0: on dc0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pcm0: port 0xa000-0xa01f irq 10 at device 11.0 on pci0 > atapci1: port > 0x8000-0x803f,0x8400-0x8403,0x8800-0x8807,0x9000-0x9003,0x9400-0x9407 > mem 0xdf800000-0xdf81ffff irq 10 at device 17.0 on pci0 > ata2: at 0x9400 on atapci1 > pcib1: on motherboard > pci2: on pcib1 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model Generic PS/2 mouse, device ID 0 > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > 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: at port 0x378-0x37f irq 5 on isa0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppbus0: IEEE1284 device found /NIBBLE/ECP > Probing for PnP devices on ppbus0: > ppbus0: MLC,PCL,PML > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ata1-master: ata_command: timeout waiting for intr > ata1-master: identify failed > ad4: 43979MB [89355/16/63] at ata2-master UDMA100 > acd0: CDROM at ata0-slave using WDMA2 > Mounting root from ufs:/dev/ad4s1a More than one time I had problems with parallel printers and FreeBSD when the lpt0 is in interrupt driven mode. I'd try to switch to polled mode (see man lptcontrol) which in most cases solved the problem. Regards Konrad Heuer Personal Bookmarks: Gesellschaft f=FCr wissenschaftliche Datenverarbeitung mbH G=D6ttingen http://www.freebsd.org Am Fa=DFberg, D-37077 G=D6ttingen http://www.daemonnews.o= rg Deutschland (Germany) kheuer@gwdu60.gwdg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message