Re: B&W qcam with SANE 0.6

David Mosberger-Tang (davidm@azstarnet.com)
Tue, 17 Jun 1997 15:04:35 -0700

>>>>> On Tue, 17 Jun 1997 17:49:03 -0400 (EDT), Andrew Kuchling <amk@magnet.com> said:

>> No, unfortunately. Nobody with a b&w camera has come forward to
>> debug the remaining issues so far.

Andrew> I'm willing to work on that, if you'll let me know what the
Andrew> remaining issues are.

If I knew what the problem was, I'd have fixed it! ;-)

Seriously: I think all the necessary b&w code is there, but there are
obviously some bugs in it. It may be a good idea to take a look at a
driver that is known to work with the b&w camera and see what the SANE
backend is doing wrong. A list of QCam drivers can be found at:

http://www.unm.dorm.net/quickcam/

Andres> This B&W QuickCam has been
Andrew> temporarily borrowed from a friend, so it's possible I
Andrew> haven't set it up properly. My goal is to get it working,
Andrew> and then write a SANE interface for the Python Imaging
Andrew> Library (http://www.python.org/sigs/image-sig/Imaging.html)
Andrew> so you can initiate a scan and get an Image object, which
Andrew> can then be fiddled with.

Sounds like a fun project!

Andrew> With the ||1 (added in two places), scanimage runs and
Andrew> completes uneventfully, but the resulting PNM file isn't
Andrew> what the camera is pointing at. --test-image=yes produces
Andrew> the same result, so the problem is something fairly
Andrew> fundamental.

It sounds like the bits aren't read off the wire properly. May be a
stupid bug or it may be due to problems with the parallel port (I
run my quickcam in standard, bi-direction mode, so that part is fairly
well tested; I'm less sure about the uni-directional code).

Andrew> Should it be reading from the device even with
Andrew> --test-image=yes?

Yes. The idea of --test-image is to test everything except the actual
CCD. That makes it much easier to diagnose problems with the hw
setup.

--david

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com