From: Tim Waugh <twaugh@redhat.com>
To: Petr Vandrovec <VANDROVE@vc.cvut.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ECP Parallel Port
Date: Sat, 15 Dec 2001 00:25:03 +0000 [thread overview]
Message-ID: <20011215002503.A14588@redhat.com> (raw)
In-Reply-To: <C01668F6B4E@vcnet.vc.cvut.cz>
In-Reply-To: <C01668F6B4E@vcnet.vc.cvut.cz>; from VANDROVE@vc.cvut.cz on Fri, Dec 14, 2001 at 11:50:32PM +0100
[-- Attachment #1: Type: text/plain, Size: 1883 bytes --]
On Fri, Dec 14, 2001 at 11:50:32PM +0100, Petr Vandrovec wrote:
> one of VMware users just pointed to me that ECP mode is now broken
> in kernel. 2.4.10-ac9 reports correctly:
You have run into an unfortunate VMware bug. Arguably it's not really
their fault; they went by existing behaviour rather than documented
behaviour.
Anyhow, the behaviour you are now seeing is the same as the documented
behaviour: ECP mode is only reported _if_ parport will actually use
hardware ECP for ECP transfers. Previously, it would report [ECP]
even if it knew perfectly well that it had no intention of using it.
This was fixed in order to provide ECP support in the printer driver.
> It looks like a bug to me. Is it known problem, or should I look into
> it more deeply?
It's no bug in the kernel, really. It is a known problem though. The
solution is for VMware to do their own port capabilities detection,
since they don't use the kernel for actually using the parallel port
chip (they just use inb/outb). [Incidentally, I've told them this via
their feedback email address, but since I don't own a VMware license I
am apparently not entitled to file a bug against VMware.]
The work around is to do one of the following:
a) Don't upgrade your kernel; only use a kernel that VMware have
verified works with their product;
b) Take appropriate steps to get the kernel to use ECP mode. This
involves: turning on 'EXPERIMENTAL' driver support, turning on 'Use
FIFO/DMA if available', and providing 'irq=auto dma=auto' to the
parport_pc module when you load it. You may of course have to
provide the actual IRQ line number or DMA channel if they can't be
automatically detected.
Be aware that option (b) is the more dangerous: DMA printing has known
problems, and so does PIO printing (but to a lesser extent).
Tim.
*/
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
prev parent reply other threads:[~2001-12-15 0:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-14 22:50 ECP Parallel Port Petr Vandrovec
2001-12-15 0:25 ` Tim Waugh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011215002503.A14588@redhat.com \
--to=twaugh@redhat.com \
--cc=VANDROVE@vc.cvut.cz \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox