Date: Tue, 20 Feb 2001 08:06:52 +0100 From: Andreas Klemm <andreas@FreeBSD.ORG> To: Antony T Curtis <antony@abacus.co.uk> 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> In-Reply-To: <3A90E936.BD86EA65@abacus.co.uk>; from antony@abacus.co.uk on Mon, Feb 19, 2001 at 09:36:54AM %2B0000 References: <20010217185425.A450@titan.klemm.gtn.com> <3A90E936.BD86EA65@abacus.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010220080652.A754>