primax: Can not identify this scanner. code: 0e
Subject:
Re: Can not identify this scanner. code: 0e
From:
Juergen Salk ####@####.####
Date:
30 Mar 2000 22:05:26 -0000
Message-Id: <Pine.LNX.4.10.10003310006150.2267-100000@anna.home.de>
On Thu, 30 Mar 2000, J. v. Santen wrote:
> >
> > | root@anna > ./primax_scan --lamp=on
> > | parse_options:
> > | lamp: on
> > | dimension: 425x585 pixel
> > | parse_options: switching lamp
> > |
> > | Can not identify this scanner. code: 0e
> >
>
> Add some lines to primax_scan.c
> (some where you should find three lines like this
> case 0x02
> printf('looks like a primax .......etc.etc
>
> add these two line and re-configure. At least your scanner could now be
> identified, but if it works I don't know. I still have trouble with the
> output of the scans (black images)
>
I have added the following lines:
case 0x0E:
printf("\nLooks like a Primax Colorado D600\n");
break;
Now, on "./primax_scan -l on" the scanner is identified (of course), but
unfortunately the lamp does *not* turn on.
After one minute, I have fired off a "./primax_scan -d5x5 -p3x0 -r150",
just to see what happens: Nothing but the following message ...
| parse_options:
| dimension: X= 5.0 x Y= 5.0 inch
| position: X= 3.0 x Y= 0.0 inch
| resolution: 150 dpi
| dimension: 750x750 pixel
... and the process seemed to run forever ...
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?
Regards - Juergen.