Re: [PARPORT] ECR setting problem solved, sort of.


Eugene Weiss (eweiss@sas.upenn.edu)
Wed, 16 Feb 2000 19:16:19 -0500


> Huh? Suddenly we're in SPP mode, and ERR interrupts are enabled. But lp
> doesn't mess with the ECR!

It is odd. I looked through the code to see if I could find anything that
might do this: I noticed that the irq_probe_ECP routine writes a value of 0 to
the ecr, and doesn't put it back when it's done. (unlike the irq probes for EPP
and SPP) I don't really understand when this routine is called, however, so I
don't know if it's a possibility.
 
> I've attached a patch that avoids SPP mode during probing (it's just like
> PS2 mode except that input mode doesn't work properly), but I don't see
> how that can change what you're seeing.

It looks like I'll have to get a very recent kernel to use this (currently
using 2.2.14), so I'll try it in a few days.

> Are you using hardware assistance (CONFIG_PARPORT_FIFO)? Try disabling
> that and see what happens.

Not deliberately, at any rate. Where does this setting reside?

-Eugene

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 16 Feb 2000 - 19:20:29 EST