Alessandro, thanks again for the quick reply.
Am Mittwoch, 6. Januar 2010 schrieb Alessandro Zummo: > On Wed, 6 Jan 2010 19:09:44 +0100 > > Rainer Dorsch <rdorsch at web.de> wrote: > > rd at dell:~/SW.nobackup/sane-backends$ git apply ~/p610.patch > > /home/rd/p610.patch:82: trailing whitespace. > > > > /home/rd/p610.patch:149: trailing whitespace. > > else if ((s->hw->cmd->level[0] == 'B') && (s->hw->level == 4) /* > > B4 !color */ > > warning: 2 lines add whitespace errors. > > rd at dell:~/SW.nobackup/sane-backends$ > > > > I am not a git expert, is the warning bad? > > slightly, I will fix it. > > > another patch is attached, please raise the debug level > to 18. I still get warnings during applying the patch: rd at dell:~/SW.nobackup/sane-backends$ git apply ~/p610.patch /home/rd/p610.patch:172: trailing whitespace. /home/rd/p610.patch:247: trailing whitespace. else if ((s->hw->cmd->level[0] == 'B') && (s->hw->level == 4) /* B4 !color */ warning: 2 lines add whitespace errors. rd at dell:~/SW.nobackup/sane-backends$ Again building and installing. I run rd at dell:~/SW.nobackup/sane-backends$ SANE_DEBUG_EPSON=18 scanimage -d 'epson2:libusb:001:003' --mode='Color' -y 297 -l 0 --resolution='150' -x 210 -t 0 -v > test150.pnm 2> test150-patch2.dbg rd at dell:~/SW.nobackup/sane-backends$ and at least imagemagick is happy with the scan: rd at dell:~/SW.nobackup/sane-backends$ convert test150.pnm test150.png rd at dell:~/SW.nobackup/sane-backends$ Seems now we are scanning 8 lines less than the requested 1754: [epson2] written 1746 lines after color shuffle [epson2] lines requested: 1746 Should we compensate for that from the beginning? Complete debug log: http://bokomoko.de/~rd/test150-patch2.dbg Many thanks, Rainer -- Rainer Dorsch L?rchenstr. 6 D-72135 Dettenhausen 07157-734133 email: rdorsch at web.de jabber: rdorsch at jabber.org GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E Full GPG key: http://pgp.mit.edu/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part. URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100106/4eea4619/attachment-0001.pgp>