Re: Handheld scanners

becka@rz.uni-duesseldorf.de
Fri, 19 Feb 1999 12:44:31 +0100 (MET)

Hi !

> > I was wondering if there are any handheld scanners
> > supported by SANE. The scanner type isn't mentioned on the
> > backend list on the SANE web site. I suspect that's because
> > all of them are flatbeds...?

> Nop. It's because nobody has write a backend for them yet. Still there
> may be other considerations also. Some of them are:

> 1)It's difficult (up to impossible) to get the specs

Yes - you usually got to reverse-engineer the drivers. This was relatively
simple for the DOS drivers that once came with the Logi Scanman, but with
Win drivers, that's a bit harder. However wine or bochs might help to
trace what the drivers try to do.

> 2)the actual hardware may need kernel level support (IO, IRQ, DMA,
> direct support and such)
> -However there was some discussion in this list about LHII, a kernel
> level layer that will allow support for these kind of scanners. Search
> for the LHII keyword in the list.

Yes. LHII was kind of "my baby", but I don't have the scanner anymore, so
writing a bridge would be a "probe in the dark" task.

I again offer anyone to make a bridge my help. The same goes for improving
LHII to better match SANE.

> > The reason I'm asking, I wrote a backend for my handheld.

Ah - good. Does it access the HW directly or how does it work ?

> > It sortof works, but I have a few irks with the frontends.
> > Maybe my backend isn't doing things correctly... On the
> > windows software you had to tell the software when the
> > scan was over. The (GUI)frontends only have a cancel button
> > (maybe rename it to STOP?) which doesn't seem quite right.
>
> Well, you have to tell us more. I am not sure what you are saying
> here...

He's saying, that you can't know when an image is complete with handhelds.
They usually have some kind of button to start/stop transfer, but it is
often not queryable, and even then, the common behaviour is to:

Scan while the button is depressed, pause, when it isn't, and stop scanning
when the user tells the scanning dialog to do so.

This in deed sounds to me like a small deficiency in SANE, as we only know
how to cancel a scan, but not how to tell the backend to stop acquiring
now, _without_ discarding already buffered data and such ...

CU, ANdy

-- 
Andreas Beck              |  Email :  <Andreas.Beck@ggi-project.org>

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