primax: Thread: D600 and new prerelease


[<<] [<] Page 1 of 1 [>] [>>]
Subject: D600 and new prerelease
From: Mike Rothon ####@####.####
Date: 7 Oct 2002 18:48:08 -0000
Message-Id: <200210071949.57165.miker@mazpro.co.uk>

I have downloaded the prelease and have the following news / notes:

1. The program segfaults if run by a non-super-user. I know that this is 
because of the use of inb, but I am sure that earlier versions exited 
gracefully with a warning message.

2. Segfault if -S600 parameter is used. This seems to occur in the 
"load_calibration" function when the image->load_calibration_file is 
dereference.

The work around is to set the RESOLUTION constant to 600 in TABLES.C.

3. Scanner locks up during calibration. This is the age old problem that has 
stopped me using my D600 scanner ever since the Linux Primax project started 
(how many years?!). Finally TOTAL SUCCESS!!!! I tracked the problem down to 
the resolution used during the calibration scan.

In the function calibrate_LM9811 there is the line...

   calibration->image = X_RESOLUTION;

...if I change this to...

   calibration->image = 300;

then the scanner calibrates and works perfectly. 

4. The program hangs if I set the resolution to anything greater than 300. I 
am sure that this is related to the previous problem. I believe that the 
problem is in prepare_scanner(). I will investigate further over the next 
couple of days and report back to this mailing list.

5. I can't seem to print via the feed through on the scanner. This works under 
Windows so I don't think that I have a cabling / compatibility issue.

6. A question. Is there a way to put the driver into daemon mode as per the 
old primaxd? I would ideally like to have the scanner attached to my server.

7. Another question. When using the Sane driver, does the software still read 
the calibration file? I haven't figured out how to dump debug strings to the 
console from the Sane driver so it is difficult to see what is going on.

Thanks again for the hard work on this project. I cannot express how happy I 
am that I can scan under Linux!!!

Mike.







Subject: Re: D600 and new prerelease
From: Andre Herms ####@####.####
Date: 7 Oct 2002 19:18:33 -0000
Message-Id: <200210072115.19668.aherms@cs.uni-magdeburg.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 07 October 2002 21:49, Mike Rothon wrote:
> I have downloaded the prelease and have the following news / notes:
>
> 1. The program segfaults if run by a non-super-user. I know that this is
> because of the use of inb, but I am sure that earlier versions exited
> gracefully with a warning message.

Jupp - There is a check missing :-(.


> In the function calibrate_LM9811 there is the line...
>
>    calibration->image = X_RESOLUTION;
>
> ...if I change this to...
>
>    calibration->image = 300;
>
> then the scanner calibrates and works perfectly.

Great that it works. Can you send a patch or explain exactly what you did.

> 4. The program hangs if I set the resolution to anything greater than 300.
> I am sure that this is related to the previous problem. I believe that the
> problem is in prepare_scanner(). I will investigate further over the next
> couple of days and report back to this mailing list.

Please try to find out some more. I don't have a 600 so I cannot do it myself.

> 5. I can't seem to print via the feed through on the scanner. This works
> under Windows so I don't think that I have a cabling / compatibility issue.

A Multiplexing would be needed. Maybe the parport driver in the linux kernel 
can handle this. I've not tried it yet.

> 6. A question. Is there a way to put the driver into daemon mode as per the
> old primaxd? I would ideally like to have the scanner attached to my
> server.

Yes it is. Simply use saned. This way you can also use the scanner as 
non-root.

> 7. Another question. When using the Sane driver, does the software still
> read the calibration file? I haven't figured out how to dump debug strings
> to the console from the Sane driver so it is difficult to see what is going
> on.

It uses the calibration data. It's stored in "/tmp/.primax.calib".
You can dump debug strings via printf. Use XSane with root permissions.

> Thanks again for the hard work on this project. I cannot express how happy
> I am that I can scan under Linux!!!

Would be great if we could make the D600 work. 

- -- 
Andre Herms                   ####@####.####
                              http://www.cs.uni-magdeburg.de/~aherms
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9od1GK/HaDUFBducRAiyYAJwINnqHpXhRalfWuDrcJyWH0SV91wCfXDFV
N5jAMMIv3ZDHSInd5CAv3J8=
=cSj4
-----END PGP SIGNATURE-----

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.