primax: Can not identify this scanner. code: 0e


Previous by date: 2 Apr 2000 21:46:02 -0000 Re: Can not identify this scanner. code: 0e, Juergen Salk
Next by date: 2 Apr 2000 21:46:02 -0000 Re: Can not identify this scanner. code: 0e, J. v. Santen
Previous in thread: 2 Apr 2000 21:46:02 -0000 Re: Can not identify this scanner. code: 0e, Juergen Salk
Next in thread: 2 Apr 2000 21:46:02 -0000 Re: Can not identify this scanner. code: 0e, J. v. Santen

Subject: Re: Can not identify this scanner. code: 0e
From: ####@####.#### (Schano)
Date: 2 Apr 2000 21:46:02 -0000
Message-Id: <38E647B5.F2634CC9@t-online.de>

Juergen Salk schrieb:
.... 
> So I killed and restarted it with a debugger, where it turned out
> that the process gets trapped in an endless loop in function
> read_calibration_data, when y equals 1:
> 
>    for (y = 0; y < height ; y++){
>         do {
>             back = epp_read_one(&pa, 0x06);
>             back = epp_read_one(&pb, 0x05);
>         } while ((( i = pa * 0x100 + pb) < total_width -1 ));
> 
>         ...
> 
> Does anybody has any idea, what's going on here?

Of course does someone know what's going on there. Someone has written
the code -- and that's me. 

Your and the problem of all the others their scanner does not work with
the program is: This scanners are not compatible!
The first problem you can see the incompatibility is that the lamp does
not switch on!
 
This means that the scanner uses an other protokoll to comunicate with
the PC. The different protocols can be fixed by the different ASICs.
There is only one ASIC the code is written for! To find out what you
have to change you can contact Christian Ordig, Marco Foglia or Primax
or do your own reengenering. 

Sorry, I can't help you. :-<

Thomas

P.S. The loop is for waiting until the scan of a line is completed. The
registers 5 and 6 together are a counter that counts the Bytes in the
output buffer of the scanner. In your case: the counter is not at this
position (other registers -> other protocol) or the scan wasn't
started.


Previous by date: 2 Apr 2000 21:46:02 -0000 Re: Can not identify this scanner. code: 0e, Juergen Salk
Next by date: 2 Apr 2000 21:46:02 -0000 Re: Can not identify this scanner. code: 0e, J. v. Santen
Previous in thread: 2 Apr 2000 21:46:02 -0000 Re: Can not identify this scanner. code: 0e, Juergen Salk
Next in thread: 2 Apr 2000 21:46:02 -0000 Re: Can not identify this scanner. code: 0e, J. v. Santen


Powered by ezmlm-browse 0.20.