[sane-devel] libusb not found when installing sane-backends

2016-09-26 Thread Gregory Golberg
Hi all

OSX 10.11.2 here.

Getting "libusb not found" when installing sane-backends. However, brew
install libusb succeeded, and seems like it got installed in

/usr/local/opt/libusb/lib/

$ ls -1 /usr/local/opt/libusb/lib/

libusb-1.0.0.dylib

libusb-1.0.a

libusb-1.0.dylib

pkgconfig

But doing

$ export DYLD_LIBRARY_PATH=/usr/local/opt/libusb/lib/

$ open sane-backends.pkg

fails with the above error.


[image: --]
Gregory Golberg
[image: http://]about.me/gregorygolberg

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Pyinsane and Paperwork

2016-09-26 Thread Olaf Meeuwissen
Jerome Flesch writes:

> Hello,

Hi,
> I've noticed there are two pages on sane-project.org related to
> third-party projects[1]. Since I've been working for some years now on
> 2 projects related to Sane, I assume they could be of interest to some
> of you :
>
> - Pyinsane : https://github.com/jflesch/pyinsane : a Python binding
> for Sane (and Windows WIA API)
> - Paperwork  https://github.com/jflesch/paperwork : a program to use
> scanners and OCR to grep dead trees the easy way

Thanks, I've added them in f0a838d to the sane-frontends page.  The
related.html didn't seem appropriate.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] scanimage picking wrong/invalid device

2016-09-26 Thread Olaf Meeuwissen

Vince Radice writes:

> [...]
>
> When I tried to scan an image recently using xsane I got a message 
> that there was an invalid argument.
>
> [...]
>
> [vince@Vince2 ~]$ scanimage -L
> device `brother2:bus4;dev8' is a Brother MFC-240C USB scanner
> device `epkowa:usb:003:002' is a Epson Stylus NX210/SX210/TX210/ME 
> OFFICE 510 Series flatbed scanner
> device `epson2:libusb:003:002' is a Epson PID 084F flatbed scanner
>
> It looks like scanimage has the right addresses for the Epson scanner 
> but a non-existent address for the Brother scanner.  I have uninstalled 
> the Brother drivers and reinstalled them using the Brother install program.
>
> If I try xsane it gets the same address for the Brother scanner.
>
> Where is scanimage getting the bogus address?

The device addresses are created by the individual backends.  The
backend name is prepended by the dll backed, IIRC.

So if the brother backend thinks there is a scanner at 'bus4;dev8' there
probably is.  Are you sure the "invalid argument" message refers to the
device address and not to some scan setting?

Does this work?

  scanimage -d "brother:bus4;dev8" > image.pnm

Replace the device address with what `scanimage -L` reported and make
sure to quote it (because it has a ';' in it!).

Apart from the above there is not much other help I can give you.  The
brother backend is a closed source, third party backend.  Please contact
Brother for more help if necessary.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] epson2 backend v1.0.25 with Epson ET-4500 logs attached

2016-09-26 Thread Olaf Meeuwissen
Hi Roger,

Said I'd take a look.  I did.

Roger Sewell writes:

> Olaf and whoever maintains the epson2 backend,
>
> At Olaf's request, please find attached the log of a failed scan from
> the ADF of a ET-4500 using the epson2 backend v1.0.25 over the net,
> together with the simultaneously collected wireshark log, both
> compressed with xz.

Looks like a time out issue when the backend has told the scanner to
start scanning.  The backend expects the first image data back in 10
seconds but apparently the scanner it taking its time.

The time out is hardwired in the sanei_epson_net_read_raw() function in
backend/epson2_net.c.  If you can compile from source, try increasing
the value of tv.tv_sec to 60.  I think that should at least get things
going for you.  If not, try 5 minutes (300 seconds), that's what that
imagescan backend seems to be using as a worst case value.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org