In reading an older epat.c, you'll notice something like
static void epat_connect ( PIA *pi )
{ pi->saved_r0 = r0();
pi->saved_r2 = r2();
CCP(0); CCP(0xe0);
w0(0); w2(1); w2(4);
if (pi->mode >= 3) {
the 'w0();w2(1);w2(4);' is executing a software reset on the EPAT chip.
Perhaps the source should mention that...
Josh
On Thu, 14 Dec 2000, stef wrote:
> Hello, I'm doing some experiments on my parallel port scanner which appears
> to be using an epat adapter.
> It happens that it is left 'messed up' with my buggy experiments. How
> to reset it by software ? I have look into epat driver sources,
> and haven't found any 'reset' operation. Is there any ?
>
> By the way, is there any other source of information on epat/epst adapter
> than kernel sources ?
>
>
> Stef
>
>
> -- To unsubscribe, send mail to: linux-parport-request@torque.net --
> -- with the single word "unsubscribe" in the body of the message. --
>
>
-- 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 2b29 : Thu Dec 14 2000 - 18:00:41 EST