You are not logged in.

#1 2019-08-15 11:00:38

Kastagirkurg
Member
Registered: 2019-08-15
Posts: 6

Getting simple scan /r sane to work with canoscan lide 400 scanner

Hi, is it possible to do the same on Arch? https://askubuntu.com/questions/1107632 … untu-18-04 I tried installing sane-git but it seems you need a bit more than that. I'm really no coder or developer been running arch for 3y+ You were usually always able to find the answer on the wiki for any question. But I'm simply not capable of solving this one.

Prior to this I had a lide 25, so I assumed a scanner with perfect support would work flawless opposed to a scanner with "good" support.

Offline

#2 2019-08-15 11:17:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,662

Re: Getting simple scan /r sane to work with canoscan lide 400 scanner

Please elaborate on what you tried, according to https://gitlab.com/sane-project/backend … 29bb9270a2 this should work and be fixed in the 1.0.28 release, and thus be available if you installed sane-git.

What are you using to try and attempt to detect the scanner? It doesn't work is not an error message, post the software versions, commands used and outputs received in [ code ] tags.

Mod note: Not an application issue, moving to NC

Online

#3 2019-08-15 12:33:59

Kastagirkurg
Member
Registered: 2019-08-15
Posts: 6

Re: Getting simple scan /r sane to work with canoscan lide 400 scanner

" uint32_t*, uint32_t*)’:
genesys.cc:1251:49: error: wrong number of template arguments (0, should be 1)
 1251 |                                    0, std::plus<>());
      |                                                 ^
In file included from /usr/include/c++/9.1.0/string:48,
                 from /usr/include/c++/9.1.0/bits/locale_classes.h:40,
                 from /usr/include/c++/9.1.0/bits/ios_base.h:41,
                 from /usr/include/c++/9.1.0/ios:42,
                 from /usr/include/c++/9.1.0/ostream:38,
                 from /usr/include/c++/9.1.0/iostream:39,
                 from genesys_enums.h:47,
                 from genesys_sensor.h:47,
                 from genesys_calibration.h:47,
                 from genesys_device.h:47,
                 from genesys_low.h:84,
                 from genesys.h:54,
                 from genesys.cc:63:
/usr/include/c++/9.1.0/bits/stl_function.h:167:12: note: provided for ‘template<class _Tp> struct std::plus’
  167 |     struct plus : public binary_function<_Tp, _Tp, _Tp>
      |            ^~~~
make[2]: *** [Makefile:5726: libgenesys_la-genesys.lo] Error 1
make[2]: Leaving directory '/home/jakob/.cache/yay/sane-git/src/backends/backend'
make[1]: *** [Makefile:3149: all] Error 2
make[1]: Leaving directory '/home/jakob/.cache/yay/sane-git/src/backends/backend'
make: *** [Makefile:556: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Seems trying to compile sane-git leaves me with a failure.

Offline

#4 2019-08-15 14:02:47

sevendogs
Member
From: Texas
Registered: 2016-01-24
Posts: 201

Re: Getting simple scan /r sane to work with canoscan lide 400 scanner

Does sane 1.0.27 not support your scanner?


"Give a man a truth and he will think for a day. Teach a man to reason and he will think for a lifetime"

Offline

#5 2019-08-15 14:10:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,662

Re: Getting simple scan /r sane to work with canoscan lide 400 scanner

From the looks of it the patch for this particular scanner is in 1.0.28. What you can also do if there's an issue with the current git branch  is to use the ABS to pull the pkgbuild for the release and bump the version number and try to build that instead. Or wait for the maintainer to get to updating  though there's seldom a hard guarantee on when that will be the case.

Last edited by V1del (2019-08-15 14:11:06)

Online

#6 2019-08-15 15:36:18

Kastagirkurg
Member
Registered: 2019-08-15
Posts: 6

Re: Getting simple scan /r sane to work with canoscan lide 400 scanner

Does sane 1.0.27 not support your scanner?

Nope sane refers to the not yet to be released 1.0.28 unless you go to 1.0.27 (The supported devices link) I'll most likely be patient or look into ABS as suggested. Very grateful. I consider the problem solved.

Offline

#7 2019-08-20 02:10:06

1ptb3b
Member
Registered: 2017-01-17
Posts: 76

Re: Getting simple scan /r sane to work with canoscan lide 400 scanner

Ran into the same issue.
Created an AUR.
Might help you.
https://gitlab.com/variadico/sane-1.0.28/

Offline

#8 2019-08-21 14:09:30

Kastagirkurg
Member
Registered: 2019-08-15
Posts: 6

Re: Getting simple scan /r sane to work with canoscan lide 400 scanner

It seems to work really well. Thanks you're the greatest.

aur/sane-git 20190714.c52eef6e-1 (+3 0.68%) (Installed: 20190820.b4c95a8a-1)

It seems you can install the package from 1ptb3b as per instructions or installing the sane-git packages by adding the testing repos.

Last edited by Kastagirkurg (2019-08-22 14:19:42)

Offline

#9 2019-08-28 08:52:31

Alain2
Member
From: France
Registered: 2009-11-06
Posts: 17

Re: Getting simple scan /r sane to work with canoscan lide 400 scanner

Thanks a lot guys, ran into the same issue, tried the git from 1ptb3b but had some security issue so tried the aur/sane-git as per Kastagirkurg's  last post and it worked fine.

NB security issue:

Warning: Permanently added 'gitlab.com,xx.xxx.xxx.xxx' (ECDSA) to the list of known hosts.
git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Offline

#10 2019-08-28 08:56:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,662

Re: Getting simple scan /r sane to work with canoscan lide 400 scanner

The next release is also in testing but pending on a new major cups version, so it might take a while to get to stable.

Last edited by V1del (2019-08-28 09:02:26)

Online

Board footer

Powered by FluxBB