B&W qcam with SANE 0.6

Andrew Kuchling (amk@magnet.com)
Tue, 17 Jun 1997 17:01:58 -0400 (EDT)

The B&W QuickCam seems to still be non-functional in SANE 0.6.
Should it be working?

In a message in the list archive (at
http://www.azstarnet.com/~axplinux/sane/archive-199702-199705/msg00030.html)
David M-T notes: "Maybe the Bpp in sane_get_parameters() gets computed
incorrectly?" This seems to be the case; the problem seems to be that
QC_MONO is 0x01, but the value being returned is 0x00. From a gdb
session:

(gdb) n
1682 if (q->version == QC_MONO)
(gdb) n
1687 s->params.last_frame = SANE_TRUE;
(gdb) print *q
$3 = {next = 0x0, sane = {name = 0x8064698 "0x378", vendor = 0x80600b0 "Connectix", model = 0x80600c9 "B&W QuickCam",
type = 0x80600d6 "video camera"}, port_mode = QC_UNIDIR, port = 888, version = 0, lock_fd = 16}
(gdb)

I'm going to try adding '||1' to the q->version check, and see
what happens then...

Andrew Kuchling
amk@magnet.com
http://people.magnet.com/%7Eamk/

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