Re: lpr to HP laserjet stalls

Tim Waugh (twaugh@redhat.com)
Tue, 4 Sep 2001 12:27:51 +0100


--2sscIVzdTs0oV1fw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Sep 04, 2001 at 02:21:31PM +0300, Michael Ben-Gershon wrote:

> Please excuse my ignorance, but if it detects the IRQ and does not use it,
> how is it possible to set up interrupt-driven mode?

For interrupt-driven mode: irq=auto dma=nofifo
For PIO mode: irq=auto dma=none
For DMA mode: irq=auto dma=auto

You need to check the 'dmesg' output after parport_pc has loaded to
see exactly what it will use though (i.e. whether it has detected
usable hardware).

The line that goes 'parport0: PC-style at 0x378 (0x778)' is the
important one. Ignore the stuff in [brackets] at the end; if an
interrupt is mentioned it is using it; if a DMA channel is mentioned,
it is using it; and if it says 'using FIFO' then it's using the FIFO
with programmed IO (rather than DMA).

Tim.
*/

--2sscIVzdTs0oV1fw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7lLq3ONXnILZ4yVIRAr37AJ4ixajfho0/0Jtc8IZ+addPvk/4QACgl49T
5UXzCi8ewE0b08glDq+wyQM=
=HiGq
-----END PGP SIGNATURE-----

--2sscIVzdTs0oV1fw--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/