<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi everyone,<br>
      <br>
      Just wanted to say that i was able to compile the old cs3200f
      backend and try it out. Unfortunately it does not work with my
      scanner. The scanner does not respond to any commands after
      uploading the firmware. Maybe the upload does not work correctly,
      the USB bulk read command to read back the firmware after the
      upload process hangs. I can send my diffs to make it compile if
      anyone is interested.<br>
      <br>
      Greetings<br>
      tly<br>
      <blockquote type="cite">
        <pre>Hi,

thank you for the quick response.
I downloaded the files you suggested and tried to follow the instructions in 
the cs3200f.txt file within. This instructed me to run configure after placing 
the relevant files in the backends folder which worked fine. Then I tried to 
make but ran into an issue again.
The file states:
"Now, in dir $SOMEDIR/sane-backends/backend you must add
to the Makefile the following lines
(e.g. before the line starting libsane-dc25.la: ...)
libsane-cs3200f.la: ../sanei/sanei_constrain_value.lo
.... (shortened for brevity)"
which I did add those lines around line 2630 of the Makefile in question. See 
my gist here <a rel="nofollow" href="https://gist.github.com/dklenke/b02e6349dcce2b5b6f4b9c9d13d0efc2" class="moz-txt-link-freetext">https://gist.github.com/dklenke/b02e6349dcce2b5b6f4b9c9d13d0efc2</a> 
again for a how I did that.
Then when running "make >make.log 2>&1" in the backends folder the log showed 
these errors:
pi@raspberrypi:~/sane-backend/backend $ cat make.log
make all-am
make[1]: Entering directory '/home/pi/sane-backend/backend'
make[1]: *** No rule to make target 'libsane-cs3200f.la', needed by 'all-am'. 
Stop.
make[1]: Leaving directory '/home/pi/sane-backend/backend'
make: *** [Makefile:4265: all] Error 2</pre>
        <pre>What did I do wrong here?
Again thank you for you help an Best regards,
Dario

> Ralph Little <a class="moz-txt-link-rfc2396E" href="mailto:skelb...@gmail.com"><skelb...@gmail.com></a> hat am 31.12.2021 17:50 geschrieben:


> Hi,

> On 2021-12-31 5:29 a.m., Dario Klenke via sane-devel wrote:

> > Hi,
> > I am trying to setup sane to use a canon CanoScan 3200F and was directed to 
> > ask my question here from the IRC channel. I am using a rasberry pi zero 
> > running Raspbian GNU/Linux 11 (bullseye) lite. I compiled sane from source. 
> > Output of scanimage --version:
> > scanimage (sane-backends) 1.0.32.227-5591; backend version 1.0.32.
> > My scanner is recognized by lsusb and sane-find-scanner -v -v also shows 
> > the scanner but complains "Couldn't determine the type of the USB chip". 
> > Unfortunately scanimage -L cannot identify any scanners.
> > Following a post on the cent-os forums that had similar issues that were 
> > resolved by installing the yum package sane-backends-drivers-scanners for 
> > the user in question I tried to look into whether I have the required 
> > backend drivers. The sane documentation lists the scanner as unsupported 
> > but says in the comments: "Actually this scanner is supported by the 
> > experimental cs3200f backend now".
> > I could not find any files in the backends folder of my clone of the source 
> > code that contained the string cs3200f and I found an old bug report from 
> > the sane-backends ubuntu package that seems to confirm my fears about 
> > missing backends. It states: "However, the experimental CVS wasn't 
> > transferred over when they [the sane project] moved from CVS to git."
> > Attached to this post was an email exchange from 2013 where someone from 
> > the sane dev team supplied a backup of the experimental backend and 
> > suggested a patch to /backend/Makefile.am and /configure.in to allow its 
> > compilation.
> > Now this is where my attempts to resolve this myself kind of end. The 
> > structure of the Makefile in question seems to have changed too 
> > substantially since 2013 for someone with barely any C knowledge like me to 
> > apply the relevant changes.
> > So, my questions: Am I even on the right track? Am I missing the cs3200f 
> > backend with my "naked" sane install from source? If not is there any other 
> > way to run the canon CanoScan 3200f with sane?
> > Very happy about any and all feedback.
> > Thank you and Best regards,
> > Dario Klenke
> > 
> > P.S.
> > this is the email exchange i mentioned earlier: 
> > <a rel="nofollow" href="https://alioth-lists.debian.net/pipermail/sane-devel/2013-March/031124.html" class="moz-txt-link-freetext">https://alioth-lists.debian.net/pipermail/sane-devel/2013-March/031124.html</a>
> > and this is the bug report from the ubuntu forums: 
> > <a rel="nofollow" href="https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/738302" class="moz-txt-link-freetext">https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/738302</a>
> > various info output about my system if needed: 
> > <a rel="nofollow" href="https://gist.github.com/dklenke/b02e6349dcce2b5b6f4b9c9d13d0efc2" class="moz-txt-link-freetext">https://gist.github.com/dklenke/b02e6349dcce2b5b6f4b9c9d13d0efc2</a>
> > 
> If you download the attachment here: 
> <a rel="nofollow" href="http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130327/d616faed/attachment-0001.bin" class="moz-txt-link-freetext">http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130327/d616faed/attachment-0001.bin</a>,
> ...then rename the file to cs3200f.tar.gz you should find that it contains 
> the source you are looking for.

> I will have a look at it later in the day but in the meantime you should be 
> able to check it out.

> Cheers,
> Ralph

</pre>
      </blockquote>
      <br>
    </p>
  </body>
</html>