[sane-devel] Fujitsu M3091DCd scanner: scanadf: invalid argument

m. allan noah kitno455 at gmail.com
Mon Oct 31 20:57:11 UTC 2011


no patch, but maybe you can do this by hand:

Edit backend/fujitsu.c and find function scanner_control().  After the
line 'if(s->has_cmd_scanner_ctl){' , add this:

    /* don't really need to ask for adf if that's the only option */
    /* doing so causes the 3091 to complain */
    if(function == SC_function_adf && !s->has_flatbed){
      DBG (10, "scanner_control: adf function not required\n");
      return ret;
    }

then make && make install

allan


On Mon, Oct 31, 2011 at 4:49 PM, Dave Webb <dave.webb8211 at googlemail.com> wrote:
> Allen!
>
> Thanks for your promptly reply.
>
>> Are you able to compile sane-backends from source?
> Yes, I've some experience with compiling software packages from source
> (homebrew et cetera).
>
> It's the first time I used Debian's
> apt-get -b source
> to build the packages, but I think I succeeded.
>
> Obviously, the same error occurs after installing these packages.
>
> Are you going to send me a patch I could test?
>
> Best regards
>
> Dave
>
>
> What I did:
>
> apt-get install dpkg-dev dpatch libgimp2.0-dev libgtk2.0-dev
> autotools-dev libv4l-dev libgphoto2-2-dev libltdl3-dev libjpeg-dev
> libtiff4-dev libusb-dev  libieee1284-3-dev  libavahi-client-dev
> texlive texlive-latex-extra chrpath xutils-dev
>
> apt-get -b source libsane-dev
> apt-get -b source libsane-extras
>
> dpkg -i libsane-extras_1.0.21.2_amd64.deb
> libsane-extras-dbg_1.0.21.2_amd64.deb
> libsane-extras-dev_1.0.21.2_amd64.deb
> dpkg -i libsane_1.0.21-9_amd64.deb libsane-dbg_1.0.21-9_amd64.deb
> libsane-dev_1.0.21-9_amd64.deb
>
> apt-get -b source sane
> dpkg -i sane-utils_1.0.21-9_amd64.deb sane_1.0.14-9_amd64.deb
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/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"



More information about the sane-devel mailing list