Re: Apple OneScanner/Color OneScanner status?

Milon Firikis (milonf@ariadne-t.gr)
Thu, 03 Sep 1998 13:34:35 +0300

Ian R. Justman wrote:
>
> Hello, all.
>
> I recently came into an Apple Color OneScanner for $20 at the local
> surplus store. To my joy, there was a backend for it in the SANE package.
> However, I noticed the driver has not been worked on for some time and its
> most recent developer only had an Apple Scanner to work with.

The one and only developer I should say... though there are 4 to 5
potential user which they had expressed interest. I hope you downloaded
the sane-0.74 since the apple backend has greatly reworked from the
sane-0.73 package.

>
> I have been experimenting with the backend and found (and subsequently
> corrected) a logic flaw which did not flush the buffer after the scan had
> completed. The scanner says it wasn't in a blocked condition, yet there
> was data still in its buffer waiting to be transferred to the host
> computer. I added a check for still-available data failing the check for
> a blocked condition as another condition to transfer data from the
> scanner. I can provide a patch for this (it only affects one line of
> code).
>
I am open to suggestions. You are invited to send/post anything you
have. I am afraid I didn't excacltry understand what are you describing
which is OK because if I understood it I would have fixed it.

> In the meantime, I have since obtained and printed Apple's programming
> specs for these scanners. They have helped enormously thus far in
> tracking this particular bug down.

Cool! Did you find the specs from your own or by the URL stated at the
man page?

>
> Has anyone been hacking this backend lately? Judging by the traffic on
> the list in past months, apparently not much has been said about it in
> recent times (at least in the Subject: lines).
>

Well as I said there are 4-5 users.

I with an applescanner (Everything works for me ofcourse)

One with an applescanner also. He has problems which are dependant with
his SCSI controller. He has two controllers and he tested it. But after
all it may be related with the bug you are describing.

Two with one OneScanner. The one helped me with some debugging (no
results), but the other asked for the Documentation and he said that he
will try to fix something. That happened the past week.

Finally there was one guy that he claimed that he had quick/hacked a
program to scan from ColorOneScanners. I asked him if it was possible to
built some of his knoweledge in the SANE backend. He said that he had no
time for such a task, but he could send me the code. I said OK, fine
thanks. Well I saw that code as much as did. I think that was

> If any of the people who have worked on this backend are on this list, I
> would certainly like to hear from you, especially the poor soul who has
> the Apple Scanner, but not either OneScanner (I got one now, I'll be your
> guinea pig. :) ).
>

The apple backend was based on mustek backend of the sane-0.69. I change
all mustek to apple by a sed script and start coding. I suppose that
make the only active developer of the apple backend. In the
sane-0.73->0.74 I add a lot of support (mainly options) for the other
models (OneScanner, ColorOneScanner).

> There are some other glitches, but right now, getting that last bit of
> data out of the scanner was my priority before I could go on to Bigger and
> Better Things(R).
>
> I look forward to hearing from you! :)
>
> --Ian.
>

Sure there are glitches. I am open to suggestions.

Milon Firikis

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com