Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 20:34:16 +0100 (CET)
From:      Konrad Heuer <kheuer@gwdu60.gwdg.de>
To:        Drew Sanford <drew@planetwe.com>
Cc:        questions <questions@FreeBSD.ORG>
Subject:   Re: Help with printer setup
Message-ID:  <Pine.BSF.4.31.0101202032010.13980-100000@gwdu60.gwdg.de>
In-Reply-To: <3A69C914.4070703@planetwe.com>

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

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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,=
CMOV,PAT,PSE36,MMX,FXSR>
>    AMD Features=3D0xc0440000<<b18>,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: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> pcib2: <PCI to PCI bridge (vendor=3D1106 device=3D8305)> at device 1.0 on=
 pci0
> pci1: <PCI bus> on pcib2
> pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 11
> isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <VIA 82C686 ATA66 controller> port 0xd800-0xd80f at device 4.1
> on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 at device
> 4.2 on pci0
> usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 5 at device
> 4.3 on pci0
> usb1: <VIA 83C572 USB controller> 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: <MII bus> on dc0
> ukphy0: <Generic IEEE 802.3u media interface> on miibus0
> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pcm0: <Creative EMU10K1> port 0xa000-0xa01f irq 10 at device 11.0 on pci0
> atapci1: <Promise ATA100 controller> 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: <Host to PCI bridge> on motherboard
> pci2: <PCI bus> on pcib1
> 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=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: <Parallel port> 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: <HEWLETT-PACKARD DESKJET 810C> MLC,PCL,PML
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ata1-master: ata_command: timeout waiting for intr
> ata1-master: identify failed
> ad4: 43979MB <IBM-DTLA-307045> [89355/16/63] at ata2-master UDMA100
> acd0: CDROM <CRD-8322B> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0101202032010.13980-100000>