Re: [sane-devel] Fast fi-65F slow with SANE

2022-02-08 Thread m. allan noah
'epjitsu' backend, in this case.

allan

On Tue, Feb 8, 2022 at 12:52 PM Ralph Little  wrote:

> Hi,
>
> On Tue, Feb 8, 2022 at 9:02 AM m. allan noah  wrote:
>
>> An easier mechanism might be to comment out all the backends you are not
>> using in /etc/sane.d/dll.conf
>>
>> allan
>>
>>
> On Tue, Feb 8, 2022 at 11:54 AM Felix E. Klee  wrote:
>>
>>> Ralph Little  writes:
>>> > If you don't specify the scanner to scanimage with the -d option, then
>>> > it will poll around all the backends to obtain a list of the available
>>> > scanners first. This typically can take quite a good few seconds.
>>>
>>> This is the explanation, thanks!  Glad I asked.  Now this is fun:
>>>
>>> scanimage -o out.png -d "epjitsu:libusb:003:007" --resolution 200dpi
>>>
>>> :D
>>
>>
> I concur.
>
> Since you have a USB connection, the device name is likely to change every
> time you power cycle the scanner as the USB subsystem will assign a
> different address. Leaving only the fujitsu backend available in the
> dll.conf file, the startup delay will be next to nothing.
>
> Cheers,
> Ralph
>
>
>
>


-- 
"well, I stand up next to a mountain- and I chop it down with the edge of
my hand"


Re: [sane-devel] Fast fi-65F slow with SANE

2022-02-08 Thread Ralph Little
Hi,

On Tue, Feb 8, 2022 at 9:02 AM m. allan noah  wrote:

> An easier mechanism might be to comment out all the backends you are not
> using in /etc/sane.d/dll.conf
>
> allan
>
>
On Tue, Feb 8, 2022 at 11:54 AM Felix E. Klee  wrote:
>
>> Ralph Little  writes:
>> > If you don't specify the scanner to scanimage with the -d option, then
>> > it will poll around all the backends to obtain a list of the available
>> > scanners first. This typically can take quite a good few seconds.
>>
>> This is the explanation, thanks!  Glad I asked.  Now this is fun:
>>
>> scanimage -o out.png -d "epjitsu:libusb:003:007" --resolution 200dpi
>>
>> :D
>
>
I concur.

Since you have a USB connection, the device name is likely to change every
time you power cycle the scanner as the USB subsystem will assign a
different address. Leaving only the fujitsu backend available in the
dll.conf file, the startup delay will be next to nothing.

Cheers,
Ralph


Re: [sane-devel] Fast fi-65F slow with SANE

2022-02-08 Thread m. allan noah
An easier mechanism might be to comment out all the backends you are not
using in /etc/sane.d/dll.conf

allan

On Tue, Feb 8, 2022 at 11:54 AM Felix E. Klee  wrote:

> Ralph Little  writes:
> > If you don't specify the scanner to scanimage with the -d option, then
> > it will poll around all the backends to obtain a list of the available
> > scanners first. This typically can take quite a good few seconds.
>
> This is the explanation, thanks!  Glad I asked.  Now this is fun:
>
> scanimage -o out.png -d "epjitsu:libusb:003:007" --resolution 200dpi
>
> :D
>
>
>

-- 
"well, I stand up next to a mountain- and I chop it down with the edge of
my hand"


Re: [sane-devel] Fast fi-65F slow with SANE

2022-02-08 Thread Felix E. Klee
Ralph Little  writes:
> If you don't specify the scanner to scanimage with the -d option, then
> it will poll around all the backends to obtain a list of the available
> scanners first. This typically can take quite a good few seconds.

This is the explanation, thanks!  Glad I asked.  Now this is fun:

scanimage -o out.png -d "epjitsu:libusb:003:007" --resolution 200dpi

:D




Re: [sane-devel] scandb

2022-02-08 Thread Ralph Little

Hi Wilhelm,

On 2022-02-07 22:20, Wilhelm Meier wrote:

Hi all,

the author of scanbd is me, and I would be very happy to pass the
project to another maintainer.

Regards,
  Wilhelm

On 07.02.22 23:07, Ralph Little wrote:

Hi List,
We just had an issue raised about scanbd. It is not part of the SANE
project but hosted here are sourceforge:
https://sourceforge.net/projects/scanbd/


It seems to be largely abandonware, last updated in 2017. I wonder if
there is any mileage in contacting the author to see if they are
interested for their utility to join the SANE project, like we already
did with xsane?



Great to hear from you. I guess that answers the question. :D

Any objections from the other maintainers?
If not, welcome to the SANE project and I will sort out the details with 
you!


Cheers,
Ralph



Re: [sane-devel] Fast fi-65F slow with SANE

2022-02-08 Thread Ralph Little

Hi,

On 2022-02-08 07:49, Felix E. Klee wrote:

"m. allan noah"  writes:

What debugging messages are produced right before the delay?

Not a single one.  It just sits there for close to ten seconds, before
the first message appears.

Find the first 200 lines of debug messages attached, generated with:

 SANE_DEBUG_EPJITSU=255 scanimage -o out.png --resolution 200dpi \
 2>&1 | head -n200 >out.log

If you don't specify the scanner to scanimage with the -d option, then 
it will poll around all the backends to obtain a list of the available 
scanners first. This typically can take quite a good few seconds.


Run scanimage -L to get a list of device names, then add that device 
name with the -d option to your scan line. I believe this will solve 
your problem.


Cheers,
Ralph



Re: [sane-devel] Fast fi-65F slow with SANE

2022-02-08 Thread Felix E. Klee
"m. allan noah"  writes:
> What debugging messages are produced right before the delay?

Not a single one.  It just sits there for close to ten seconds, before
the first message appears.

Find the first 200 lines of debug messages attached, generated with:

SANE_DEBUG_EPJITSU=255 scanimage -o out.png --resolution 200dpi \
2>&1 | head -n200 >out.log



out.log.gz
Description: application/gzip


Re: [sane-devel] Fast fi-65F slow with SANE

2022-02-08 Thread m. allan noah
What debugging messages are produced right before the delay?

On Tue, Feb 8, 2022 at 9:25 AM Felix E. Klee  wrote:

> The Fujitsu fi-65F can scan an A6 page in just one second.  This works
> as advertised with the included “PaperStream Capture”.  It even works
> when using SANE, except that before each scan there is a delay of almost
> ten (!) seconds:
>
> $ cat /etc/lsb-release
> LSB_VERSION=1.4
> DISTRIB_ID=Arch
> DISTRIB_RELEASE=rolling
> DISTRIB_DESCRIPTION="Arch Linux"
> $ uname -a
> Linux felix-arch 5.16.4-arch1-1 #1 SMP PREEMPT Sat, 29 Jan 2022
> 19:08:13 + x86_64 GNU/Linux
> $ scanimage --version
> scanimage (sane-backends) 1.1.1; backend version 1.1.1
> $ scanimage -L
> device `epjitsu:libusb:003:006' is a FUJITSU fi-65F  0A01 scanner
> $ scanimage -o out.png --resolution 200dpi
>
> *Why the delay?*
>
> I also tried with `SANE_DEBUG_EPJITSU=255 scanimage`, but that didn’t
> tell me anything: During the delay there is no output.
>
>
>

-- 
"well, I stand up next to a mountain- and I chop it down with the edge of
my hand"


[sane-devel] Fast fi-65F slow with SANE

2022-02-08 Thread Felix E. Klee
The Fujitsu fi-65F can scan an A6 page in just one second.  This works
as advertised with the included “PaperStream Capture”.  It even works
when using SANE, except that before each scan there is a delay of almost
ten (!) seconds:

$ cat /etc/lsb-release
LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"
$ uname -a
Linux felix-arch 5.16.4-arch1-1 #1 SMP PREEMPT Sat, 29 Jan 2022
19:08:13 + x86_64 GNU/Linux
$ scanimage --version
scanimage (sane-backends) 1.1.1; backend version 1.1.1
$ scanimage -L
device `epjitsu:libusb:003:006' is a FUJITSU fi-65F  0A01 scanner
$ scanimage -o out.png --resolution 200dpi

*Why the delay?*

I also tried with `SANE_DEBUG_EPJITSU=255 scanimage`, but that didn’t
tell me anything: During the delay there is no output.




Re: [sane-devel] scanadf and Brother ADS-1700W

2022-02-08 Thread Dietmar Segbert
Hello Ralph,
i have created deb-packages from testing for sane-utils und sane-airscan.

Now airscan-discover finds my Brother ADS-1700W.

I have not compiled scandf, rmadison sane --architecture amd64 lists the
same version for stable and testing.

I use the genesys backup for my canon lide 220.

scanadf produces segmentation faults with enabled and disabled genesys
backends.

cheers

Dietmar

> skelb...@gmail.com schrieb am 06.02.22:

> Hi,

> On 2022-01-24 09:46, Dietmar Segbert wrote:
>> Hello Ralph,
>>
>> scanimage -V
>>
>> scanimage (sane-backends) 1.0.31-Debian
>>
>> i use debian bullseye and the sane-utils ...
>>
>> My scanner is a Brother ADS-1700W.
>>
>> I have installed brscan5 from Brother
>>
>> the scanner works with scanimage, example:
>>
>> #!/bin/bash
>> scanimage -d 'brother5:net1;dev0' --resolution 300 --format png --
>> batch=$1%03d.png --batch-start=$2 --source 'Automatic Document Feeder=
>> (left aligned,Duplex)'
>>
>>
>> scanadf will allways produce a segmentation fault.
>> Is there a newer version of scanadf, that  works with the ADS-1700W?
>>
>>
> There was an issue in scanadf that was fixed about a year ago:

> https://gitlab.com/sane-project/frontends/-/issues/19

> Also:

> https://gitlab.com/sane-project/frontends/-/issues/22

> You might be experiencing this issue.

> You could try to rebuild scanadf from latest source. If you need help
> with that, let me know.
> Alternatively it might be worth disabling the genesys backend first by
> commenting it out in /etc/sane.d/dll.conf if you are not using a
> genesys-based scanner, to see if you are experiencing that issue.

> Cheers,
> Ralph





Re: [sane-devel] Please add older versions to PPA

2022-02-08 Thread Ulf Zibis

Hi again,

see my new comment: 
https://gitlab.com/sane-project/backends/-/issues/563#note_835476811

Am 05.02.22 um 18:06 schrieb Ralph Little:

Hi,

On 2022-02-05 03:58, Ulf Zibis wrote:

Hi,

because of this bug https://gitlab.com/sane-project/backends/-/issues/563 it 
could be a good temporal workaround to provide older versions of sane by the 
PPA https://launchpad.net/~sane-project/+archive/ubuntu/sane-release
They could be installed with:
sudo apt install libsane1=1.0.xx-focal

The problem is the dependency of version 1.0.32 on package snmp, which can't be 
installed as i368 and amd64 at same time. Older versions do not have the 
dependency, so if provided by PPA they could help to install the most possible 
recent version instead the old Ubuntu repository version, 1.0.29.

-Ulf



I'll see what I can do.

Cheers,
Ralph




[sane-devel] s400w scanner "middle-ware" or "compatibility layer"

2022-02-08 Thread Mark Dm
I posted here earlier the solution I made for several models of scanners
(based on s400w scanner) to work With Linux SANE-Airscan and Mac OS, with
the link to scannershare.com. Since then the web site was
completely renovated and several people tried to download it and got the
wrong file.

If any downloads were from users of this list, please try again , it has
now been fixed. My apologies for the error.