Re: [sane-devel] MX375 no recovery from ADF empty when scan started

2014-05-20 Thread Rolf Bensch
Hi Matthias, Am 20.05.2014 17:49, schrieb Matthias Peter Walther: > Hallo Rolf, > > sorry to bother you again. But here is another bug with my MX375. No problem. > If I start an ADF-scan while the ADF is empty, the scanner does not > recover and needs to be restarted by hand. Attached patch sho

Re: [sane-devel] HP Scanjet 3670 bad colors

2014-05-20 Thread Octavio Alvarez
On 05/20/2014 12:27 AM, Octavio Alvarez wrote: > So far, I have repeated some of the tests with scanimage only and > target_code seems to be too high for my taste. 0x8000 seems like a lot > better value. I'm still testing though. Hi, Stef. I have made some tests using scanimage only. I, effectivel

[sane-devel] MX375 no recovery from ADF empty when scan started

2014-05-20 Thread Matthias Peter Walther
Hallo Rolf, sorry to bother you again. But here is another bug with my MX375. If I start an ADF-scan while the ADF is empty, the scanner does not recover and needs to be restarted by hand. Basically there are two commands to demonstrate it: scanimage --source "Automatic Document Feeder" --batch

Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread andreo73
Ok, for the record (maybe useful for other people), in ubuntu udev is controlling usb devices mounting I've created the new file /etc/udev/rules.d/40_fujitsu_scanner.rules which contains the line SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="04c5", ATTR{idProduct}=="132b", MODE

Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread m. allan noah
Every recent linux distro handles permissions differently. Something in udev or hal needs to know about the scanner's vid/pid. allan On Tue, May 20, 2014 at 9:20 AM, andreo73 wrote: > Thanks!! Before changing /etc/ld.so.conf I try simplest methods, e.g. > > 1) change name of /usr/lib/sane to /us

Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread andreo73
Thanks!! Before changing /etc/ld.so.conf I try simplest methods, e.g. 1) change name of /usr/lib/sane to /usr/lib/sane_OLDVERSION hoping that it is sufficient to "remove" them from dynamical linking, but it did'nt work (wonder why...) 2) prepend LD_LIBRARY_PATH=/usr/local/lib to the executable;

Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread m. allan noah
Dynamic linking. You can either rebuild sane to overwrite your existing copy, or you can change the ld config (see man ldconfig) either on disc (/etc/ld.so.conf) or by environment variables (LD_LIBRARY_PATH) to make it load your /usr/local/lib before your system libs. man ld.so for more info. al

Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread andreo73
ouch! you're so right > SANE_DEBUG_FUJITSU=5 scanimage -L [sanei_debug] Setting debug level of fujitsu to 5. [fujitsu] sane_init: fujitsu backend 1.0.111, from sane-backends 1.0.23 [fujitsu] sane_get_devices: config option "buffer-size" (262144) is > 65536, warning! I don't understand, how can

Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread m. allan noah
Just because you are using /usr/local/scanimage, it does not mean that it is automatically using libraries from /usr/local/lib. It might still be using the original libs. Run the following: SANE_DEBUG_FUJITSU=5 scanimage -L and see what version shows up in the debugging info. allan On Tue, May

Re: [sane-devel] Pixma: ADF paper empty patch for Canon Pixma MX???

2014-05-20 Thread Matthias Peter Walther
Hallo Rolf, I didn't know that the order of the flags matters. It works now, thanks for that hint! Bye Matthias On 18.05.2014 18:15, Rolf Bensch wrote: > Hi Matthias, > > > Am 17.05.2014 18:56, schrieb Matthias Peter Walther: >> Hallo Rolf, >> >> I'm sorry, I couldn't reply earlier. I had some i

Re: [sane-devel] fujitus scansnap ix500 (not found by sane-find-scanner)

2014-05-20 Thread andreo73
Dear allan, thanks for the quick reply following your advice, I've installed 1.0.24 (after installing libusb-dev package, I've followed standard procedure: ./configure, make and sudo make install, now executables are under /usr/local/bin ) now sane-find-scanner works > /usr/local/bin/sane-find-s

Re: [sane-devel] HP Scanjet 3670 bad colors

2014-05-20 Thread Octavio Alvarez
On 05/19/2014 09:51 PM, Octavio Alvarez wrote: > I made sure I used the most recent commit isolated from the install from > my system. I used xscanimage under ~/sane-install/bin. > I'd like to correct myself. Please take my previous message with a grain of salt (or disregard it altogether). I'm

Re: [sane-devel] HP Scanjet 3670 bad colors

2014-05-20 Thread Stef
Hello, Could you run a preview with debug traces enabled like you already done? Since the fix works great here, I'd like to check what is going wrong. Regards, Stef Octavio Alvarez a écrit : >On 05/12/2014 09:40 PM, Stef wrote: >> On 05/04/2014 03:10, Octavio Alvarez wrote: >>> On 03