From owner-freebsd-stable Mon Feb 19 23:30:54 2001 Delivered-To: freebsd-stable@freebsd.org Received: from picalon.gun.de (picalon.gun.de [192.109.159.1]) by hub.freebsd.org (Postfix) with ESMTP id D651C37B503 for ; Mon, 19 Feb 2001 23:30:50 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by picalon.gun.de (8.9.3/8.9.3) id IAA24461; Tue, 20 Feb 2001 08:30:36 +0100 (MET) >Received: (from andreas@localhost) by klemm.gtn.com (8.11.2/8.11.1) id f1K76qP01411; Tue, 20 Feb 2001 08:06:52 +0100 (CET) (envelope-from andreas) Date: Tue, 20 Feb 2001 08:06:52 +0100 From: Andreas Klemm To: Antony T Curtis Cc: freebsd-stable@FreeBSD.ORG Subject: Re: stray irq's 7, printing hangs, about 20000-50000 irqs per second ... Message-ID: <20010220080652.A754@titan.klemm.gtn.com> References: <20010217185425.A450@titan.klemm.gtn.com> <3A90E936.BD86EA65@abacus.co.uk> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A90E936.BD86EA65@abacus.co.uk>; from antony@abacus.co.uk on Mon, Feb 19, 2001 at 09:36:54AM +0000 X-Operating-System: FreeBSD 4.2-STABLE SMP X-Disclaimer: A free society is one where it is safe to be unpopular Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 19, 2001 at 09:36:54AM +0000, Antony T Curtis wrote: >=20 > Having that volume of IRQs for the printer port is normal for standard > mode printer port. There is one IRQ signal for each and every byte sent. huh ... > You may want to investigate changing the default mode of the printer > port driver by playing with the flags for the printer port device ( see > `man ppc' ) >=20 > ECP mode should give the best performance by using a DMA channel to > transfer data and only issuing an IRQ at the end of DMA. Should yield up > to 2MB/s. However, I always seem to get occasional bytes going missing > when printing to a Panasonic laser printer. Sounds good, thanks for explanation. > Otherwise, one can opt for EPP or PS/2 mode, which should enable the > small FIFO available in most printer ports - this should slash the > number of IRQs. o.k., set flags to 0x8 now. will try ... Andreas /// --=20 Andreas Klemm - Powered by FreeBSD 4.2 SMP Need a magic printfilter today ? -> http://www.apsfilter.org/ --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Weitere Infos: siehe http://www.gnupg.org iD8DBQE6kheMd3o+lGxvbLoRAqD6AJwPaaVXO6E/7t5aNA8kOG3DNiLwYgCgnnhZ +7+0dgK2b+l8jAZUpt85F1o= =k5xq -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message