[Linux-parport] EPP Mode can not be activated
Adam Baker
parport at baker-net.org.uk
Tue Aug 16 15:33:23 EDT 2005
On Tuesday 16 August 2005 11:19, Matthias Färber wrote:
> Hello everybody,
> I´m searching for a solution to get my parport ready for the connection
> of a device that uses EPP mode for communication.
>
> Does anyone have any hints to solve my problem ?
>
Yes,
remove the chunk of code in parport-pc.c that reads
/* Check for Intel bug. */
if (priv->ecr) {
unsigned char i;
for (i = 0x00; i < 0x80; i += 0x20) {
ECR_WRITE (pb, i);
if (clear_epp_timeout (pb)) {
/* Phony EPP in ECP. */
return 0;
}
}
}
then rebuild. You don't need to install the complete new kernel, just the new
parport_pc module.
This has been discussed a few times before on the list. The consensus seems to
be that that code prevents the detection of working EPP h/w more often than
it detects the old buggy h/w but no-one here seems to know the right way to
go about getting the code removed from kernel.org
More information about the Linux-parport
mailing list