@Alexander Thanks. I was able to install it. How do I try it? @Thierry Do I download and build this new branch? Does it includes the patch that Rolf send before?
Le ven. 21 févr. 2020 à 16:53, Thierry HUCAHRD <thie...@ordissimo.com> a écrit : > Le 2020-02-21 22:32, Jean-Marc Spaggiari a écrit : > > Let me know if you want a SSH access to a machine with scanner > > access... > I fixed the geometry bp. > https://gitlab.com/sane-project/backends/-/tree/escl-load-conf-segfault > > > > Le ven. 21 févr. 2020 à 16:23, Thierry HUCAHRD > > <thie...@ordissimo.com> a écrit : > > > >> Le 2020-02-21 21:54, Jean-Marc Spaggiari a écrit : > >>> Interestingly, I don't see the input option anymore :-/ This will > >>> drive me crazy ;) > >> > >> This is not normal, by default it shouldn't be 0. > >> I'll correct it, but I have to reproduce it. > >> > >> scanimage: rounded value of br-x from 0 to 0 > >> scanimage: rounded value of br-y from 0 to 0 > >> > >>> > >>> ./frontend/scanimage -d 'escl:http://192.168.23.130:80' > >> --all-options > >>> Output format is not set, using pnm as a default. > >>> Capability : [image/jpeg] > >>> Capability : [image/jpeg] > >>> Capability : [image/jpeg] > >>> Capability : [image/jpeg] > >>> scanimage: rounded value of br-x from 0 to 0 > >>> scanimage: rounded value of br-y from 0 to 0 > >>> > >>> All options specific to device `escl:http://192.168.23.130:80': > >>> Scan mode: > >>> --mode Gray|Color [Gray] > >>> Selects the scan mode (e.g., lineart, monochrome, or > >> color). > >>> --resolution 75|100|150|200|300|600dpi [75] > >>> Sets the resolution of the scanned image. > >>> --preview[=(yes|no)] [no] > >>> Request a preview-quality scan. > >>> --preview-in-gray[=(yes|no)] [no] > >>> Request that all previews are done in monochrome mode. On > >> a > >>> three-pass scanner this cuts down the number of passes to > >> one > >>> and on a > >>> one-pass scanner, it reduces the memory requirements and > >>> scan-time of > >>> the preview. > >>> Geometry: > >>> -l 0.0846558..215.9mm [0] > >>> Top-left x position of scan area. > >>> -t 0.0846558..297.011mm [0] > >>> Top-left y position of scan area. > >>> -x 0.0846558..215.9mm [0] > >>> Width of scan-area. > >>> -y 0.0846558..297.011mm [0] > >>> Height of scan-area. > >>> > >>> Le ven. 21 févr. 2020 à 15:43, Jean-Marc Spaggiari > >>> <jean-m...@spaggiari.org> a écrit : > >>> > >>>> So I can delete my sane-escl folder? > >>>> > >>>> Here is the output for both default debian installed and locally > >>>> build: > >>>> (base) jmspaggi@precision5530:~/backends$ scanimage -d > >>>> 'escl:http://192.168.23.130:80' -x 215 -y 296 -T > >>>> Output format is not set, using pnm as a default. > >>>> scanimage: scanning image of size 637x877 pixels at 24 bits/pixel > >>>> scanimage: acquiring RGB frame, 8 bits/sample > >>>> scanimage: reading one scanline, 1911 bytes... PASS > >>>> scanimage: reading one byte... PASS > >>>> scanimage: stepped read, 2 bytes... PASS > >>>> scanimage: stepped read, 4 bytes... PASS > >>>> scanimage: stepped read, 8 bytes... PASS > >>>> scanimage: stepped read, 16 bytes... PASS > >>>> scanimage: stepped read, 32 bytes... PASS > >>>> scanimage: stepped read, 64 bytes... PASS > >>>> scanimage: stepped read, 128 bytes... PASS > >>>> scanimage: stepped read, 256 bytes... PASS > >>>> scanimage: stepped read, 512 bytes... PASS > >>>> scanimage: stepped read, 1024 bytes... PASS > >>>> scanimage: stepped read, 2048 bytes... PASS > >>>> scanimage: stepped read, 2047 bytes... PASS > >>>> scanimage: stepped read, 1023 bytes... PASS > >>>> scanimage: stepped read, 511 bytes... PASS > >>>> scanimage: stepped read, 255 bytes... PASS > >>>> scanimage: stepped read, 127 bytes... PASS > >>>> scanimage: stepped read, 63 bytes... PASS > >>>> scanimage: stepped read, 31 bytes... PASS > >>>> scanimage: stepped read, 15 bytes... PASS > >>>> scanimage: stepped read, 7 bytes... PASS > >>>> scanimage: stepped read, 3 bytes... PASS > >>>> > >>>> (base) jmspaggi@precision5530:~/backends$ ./frontend/scanimage -d > >>>> 'escl:http://192.168.23.130:80' -x 215 -y 296 -T > >>>> Output format is not set, using pnm as a default. > >>>> Capability : [image/jpeg] > >>>> Capability : [image/jpeg] > >>>> Capability : [image/jpeg] > >>>> Capability : [image/jpeg] > >>>> scanimage: rounded value of br-x from 215 to 215 > >>>> scanimage: rounded value of br-y from 296 to 296 > >>>> scanimage: scanning image of size 634x874 pixels at 24 bits/pixel > >>>> scanimage: acquiring RGB frame, 8 bits/sample > >>>> scanimage: reading one scanline, 1902 bytes... PASS > >>>> scanimage: reading one byte... PASS > >>>> scanimage: stepped read, 2 bytes... PASS > >>>> scanimage: stepped read, 4 bytes... PASS > >>>> scanimage: stepped read, 8 bytes... PASS > >>>> scanimage: stepped read, 16 bytes... PASS > >>>> scanimage: stepped read, 32 bytes... PASS > >>>> scanimage: stepped read, 64 bytes... PASS > >>>> scanimage: stepped read, 128 bytes... PASS > >>>> scanimage: stepped read, 256 bytes... PASS > >>>> scanimage: stepped read, 512 bytes... PASS > >>>> scanimage: stepped read, 1024 bytes... PASS > >>>> scanimage: stepped read, 2048 bytes... PASS > >>>> scanimage: stepped read, 2047 bytes... PASS > >>>> scanimage: stepped read, 1023 bytes... PASS > >>>> scanimage: stepped read, 511 bytes... PASS > >>>> scanimage: stepped read, 255 bytes... PASS > >>>> scanimage: stepped read, 127 bytes... PASS > >>>> scanimage: stepped read, 63 bytes... PASS > >>>> scanimage: stepped read, 31 bytes... PASS > >>>> scanimage: stepped read, 15 bytes... PASS > >>>> scanimage: stepped read, 7 bytes... PASS > >>>> scanimage: stepped read, 3 bytes... PASS > >>>> > >>>> Le ven. 21 févr. 2020 à 15:40, Thierry HUCAHRD > >>>> <thie...@ordissimo.com> a écrit : > >>>> > >>>>> Le 2020-02-21 21:28, Jean-Marc Spaggiari a écrit : > >>>>>> @Till: indeed. I had to install the autoconf-archive. It solved > >>>>> the > >>>>>> issue. Thanks for the guidance. > >>>>>> > >>>>>> @Thierry: > >>>>>> > >>>>>> (base) jmspaggi@precision5530:~/backends$ sudo > >>>>> ./frontend/scanimage -L > >>>>>> device `pixma:04A91854_13B71E' is a CANON Canon PIXMA TR4500 > >>>>> Series > >>>>>> multi-function peripheral > >>>>>> (base) jmspaggi@precision5530:~/backends$ sudo > >>>>> ./frontend/scanimage -d > >>>>>> 'escl:http://192.168.23.130:80' -T > >>>>>> Output format is not set, using pnm as a default. > >>>>>> scanimage: open of device escl:http://192.168.23.130:80 failed: > >>>>> Device > >>>>>> busy > >>>>>> > >>>>>> So I un-plugged the 2 printers, stopped the 2 and restarted > >> only > >>>>> the > >>>>>> Canon. I can heat the printer moving but I get the same error: > >>>>>> scanimage: sane_start: Invalid argument > >>>>>> > >>>>>> please note that I do that on my "backends" folder, which I got > >>>>> from > >>>>>> that: git clone https://gitlab.com/sane-project/backends.gitI > >>>>> also > >>>>>> have a sane-escl folder which I got from the link you sent > >>>>> before but > >>>>>> there is no "scanimage" there. > >>>>>> > >>>>> sane-escl is archived > >>>>> Please test this : > >>>>> $ scanimage -d 'escl:http://192.168.23.130:80' -x 215 -y 296 -T > >>>>>> JMS > >>>>>> > >>>>>> Le ven. 21 févr. 2020 à 15:16, Till Kamppeter > >>>>>> <till.kamppe...@gmail.com> a écrit : > >>>>>> > >>>>>>> On 21/02/2020 20:26, Jean-Marc Spaggiari wrote: > >>>>>>>> So. > >>>>>>>> > >>>>>>>> I have cloned the backend repo: > >>>>>>>> git clone https://gitlab.com/sane-project/backends.git > >>>>>>>> > >>>>>>>> Applied the patch (Changed 1200 to 600 and added the last > >>>>> param). > >>>>>>>> > >>>>>>>> And now I'm trying to follow the instructions there: > >>>>>>>> https://help.ubuntu.com/community/CompileSaneFromSource > >>>>>>>> > >>>>>>>> running ./autogen.sh failes right from the beginning :( I > >>>>> prints > >>>>>>>> thousands of lines "patch: **** Can't create file > >>>>> ./ltmain.sh.orig > >>>>>>> : Too > >>>>>>>> many open files" I increased my limit to 10k files, but I'm > >>>>>>> getting the > >>>>>>>> exact same error. I tried to checkout the 1.0.29 but got the > >>>>> same > >>>>>>> error. > >>>>>>>> > >>>>>>>> after investigations it seems coming from the lack of > >>>>> autopoint. > >>>>>>> apt-get > >>>>>>>> install solved it. > >>>>>>>> > >>>>>>>> I tried to run configure with this command: > >>>>>>>> ./configure --prefix=/usr --libdir=/usr/lib/ > >> --sysconfdir=/etc > >>>>>>>> --localstatedir=/var --enable-avahi > >>>>>>>> > >>>>>>>> But it failed: > >>>>>>>> ./configure: line 14868: syntax error near unexpected token > >>>>>>> `noext,' > >>>>>>>> ./configure: line 14868: `AX_CXX_COMPILE_STDCXX_11(noext, > >>>>>>> optional)' > >>>>>>>> > >>>>>>> > >>>>>>> If you are on Ubuntu, you need to install the > >>>>> "autoconf-archive" > >>>>>>> package. > >>>>>>> > >>>>>>> Till >