Applied to git tree. Thanks! allan
On Mon, Jun 28, 2010 at 1:45 PM, Ori Koren <ori.koren.y at gmail.com> wrote: > With the AVision 122 C2 scanner, when I scan several pages in color mode > (using the sheet feeder) - only the > first page is scanned in color. The rest of the scanned pages appear in > grayscale. > > The following patch seems to solve the problem. > > Thanks, > Ori > > > diff -urbN sane-backends-1.0.21/backend/avision.c > sane-backends-1.0.21-patched/backend/avision.c > --- sane-backends-1.0.21/backend/avision.c ? ? ?2010-04-05 23:18:03.000000000 > +1000 > +++ sane-backends-1.0.21-patched/backend/avision.c ? ? ?2010-06-29 > 02:41:52.000000000 +1000 > @@ -203,7 +203,7 @@ > ? ? { NULL, NULL, > ? ? ? 0x0638, 0x0A93, > ? ? ? "Avision", "AV122 C2", > - ? ? ?AV_INT_BUTTON | AV_2ND_LINE_INTERLACED | AV_NO_REAR | AV_SOFT_SCALE | > AV_DOES_KEEP_WINDOW | AV_DOES_KEEP_GAMMA | AV_REAR_OFFSET,0}, > + ? ? ?AV_INT_BUTTON | AV_2ND_LINE_INTERLACED | AV_NO_REAR | AV_SOFT_SCALE | > AV_DOES_NOT_KEEP_WINDOW | AV_DOES_KEEP_GAMMA | AV_REAR_OFFSET,0}, > ? ? /* comment="sheetfed duplex scanner" */ > ? ? /* status="good" */ > > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"