No, it's detected correctly. Can you increase the value of BUILD near the top of the file, and make and copy again? then get another log. I wish to make sure we are actually running the modified code.
allan On Mon, Oct 31, 2011 at 5:34 PM, Max Voit <max.voit+mlsa at with-eyes.net> wrote: > Had a look at the debug-log with SANE_DEBUG_CANON_DR=15, see attachment. > > Am I suspecting right that it is recognized as the wrong model, i.e. > DR-2050? > > Max > > On Mon, 31 Oct 2011 22:27:11 +0100 > Max Voit <max.voit+mlsa at with-eyes.net> wrote: > >> seems debian did some strange things i don't understand. Finally build >> the whole package anew and installed it, otherwise(with the way >> described, same version as the installed package) the scanner would >> not be recognized. >> >> Well, it didn't work. The black bar at the top of the back side is >> still 70px, the one on the bottom of the front side grew up to 140px. >> >> kind regards, >> Max >> >> On Mon, 31 Oct 2011 15:43:42 -0400 >> "m. allan noah" <kitno455 at gmail.com> wrote: >> >> > ok. if you download the sane-backend source, and edit >> > backend/canon_dr.c, you will find the function init_model(). In >> > there is a section for your scanner. Add this line: >> > >> > s->duplex_offset = 432; >> > >> > Then you should be able to configure and make the software. You >> > don't need to make install. Instead, just copy >> > ?backend/.libs/libsane-canon_dr.so.1.0.22 over the version provided >> > by your distro. Make sure you use the same file name, as there are >> > symlinks which point to it. >> > >> > That should cause the backend to strip off the black line from the >> > top of the back side. >> > >> > allan >> > >> > > -- "The truth is an offense, but not a sin"
