[sane-devel] Avision driver
René Rebe
rene at exactcode.de
Fri Nov 25 10:55:58 UTC 2005
On Thursday 24 November 2005 21:19, Andi McLean wrote:
> Hi,
>
> I'm the maintainer of JSane-Net
> One of my users, is having a problem with the Avision driver and JSane-Net,
> When he runs my Tester program, it hangs. I have tracked it down and it
> seems that the Avision Driver is setting an option to type bool with a
> range for a constraint. (The scanner buttons).
> Surely this should be, a constraint of none.
> Can someone please advise is this a valid paring?
Oh - this is not intended code left over from initial testing.
Can you try this:
--- avision.c (revision 284)
+++ avision.c (working copy)
@@ -5627,8 +5627,7 @@
s->opt[i].unit = SANE_UNIT_NONE;
s->opt[i].size = sizeof (SANE_Word);
- s->opt[i].constraint_type = SANE_CONSTRAINT_RANGE;
- s->opt[i].constraint.range = 0;
+ s->opt[i].constraint_type = SANE_CONSTRAINT_NONE;
s->val[i].w = SANE_FALSE;
}
I can commit this soon if it files your problem and does not cause others
issues during testing on my side.
Yours,
--
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
http://www.exactcode.de | http://www.t2-project.org
+49 (0)30 255 897 45
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051125/8efaaf72/attachment.pgp
More information about the sane-devel
mailing list