[sane-devel] Fujitsu Backend

m. allan noah kitno455 at gmail.com
Fri Feb 14 22:29:47 GMT 2020


Yes, I mistyped- the backend should auto detect the need for LUT on the
ix1500 too. I'll note that your example command lines have weird emdashes
before the contrast and brightness, not a proper double dash. Any chance
that is related?

If not, can you get a debug log like so:

SANE_DEBUG_FUJITSU=35 scanimage --mode=gray --contrast=20 --brightness=20
--format=tiff --ald=yes  --device-name=fujitsu:ScanSnap\
iX1500:94839  --resolution=200  --batch=Scan-Designer-TAWS27-144246-%d.tif
2>ix1500.log

then compress ix1500.log and send it to me directly?

allan

On Fri, Feb 14, 2020 at 4:53 PM Tom Buckler <tom at buckler.ca> wrote:

> It's with the ix1500's not 500. I also have an ix100 that works fine.
>
> So for example
>
> /usr/local/bin/scanimage --mode=gray —contrast=20 —brightness=20
> --format=tiff --ald=yes  --device-name=fujitsu:ScanSnap\
> iX1500:94839  --resolution=200  --batch=Scan-Designer-TAWS27-144246-%d.tif
>
> Looks exactly the same as
>
> /usr/local/bin/scanimage --mode=gray —contrast=-40 —brightness=0
> --format=tiff --ald=yes  --device-name=fujitsu:ScanSnap\
> iX1500:94839  --resolution=200  --batch=Scan-Designer-TAWS27-144246-%d.tif
>
>
> Note this is with 1.0.28, where I've added this model to fujitsu.conf.
>
> Tom
>
>
> ------------------------------
> *Tom Buckler* | Buckler Microelectronics Inc.
> 17008 - 90 Avenue NW | Suite 272 | Edmonton | AB | Canada | T5T 1L6
> *Cell:* (780) 499-5525
>
> ------------------------------
>
>
>
>
> On Feb 12, 2020, at 6:23 PM, m. allan noah <kitno455 at gmail.com> wrote:
>
> actually, we are able to detect that LUT is needed, and that should be
> working for the ix500. Can you give a few example command lines with
> scanimage that demonstrate the problem?
>
> allan
>
> On Wed, Feb 12, 2020 at 4:02 PM m. allan noah <kitno455 at gmail.com> wrote:
>
>> Some fujitsu machines have native brightness/contrast support, others
>> require that a LUT be calculated by the backend and uploaded. I don't think
>> there is a way to detect which is needed. I will investigate further.
>>
>> allan
>>
>> On Wed, Feb 12, 2020 at 1:32 PM Tom Buckler <tom at buckler.ca> wrote:
>>
>>> Hi Allan,
>>>
>>> Do you know if the iX1500 should respond to —contrast and —brightness ?
>>> I'm not getting any change with those parameters, and no details in the
>>> manpage. —resolution —mode —ald work just fine…
>>>
>>> Thx,
>>> Tom
>>>
>>>
>>>
>>>
>>> ------------------------------
>>> *Tom Buckler* | Buckler Microelectronics Inc.
>>> 17008 - 90 Avenue NW | Suite 272 | Edmonton | AB | Canada | T5T 1L6
>>> *Cell:* (780) 499-5525
>>> ------------------------------
>>>
>>>
>>>
>>>
>>> On Feb 11, 2020, at 9:33 AM, m. allan noah <kitno455 at gmail.com> wrote:
>>>
>>> Which scanner are you using?
>>>
>>> allan (fujitsu backend author)
>>>
>>> On Tue, Feb 11, 2020 at 11:31 AM Tom Buckler <tom at buckler.ca> wrote:
>>>
>>>
>>> Thanks Allan,
>>>
>>> I'm not sure how to deal with that, as libusb-dev isn't a separate
>>> package from libusb as far as I know. But I seem to have gotten past that
>>> with pkg-config as per Olaf's suggestion previous.
>>>
>>>
>>> Cheers,
>>> Tom
>>>
>>>
>>> ________________________________
>>> Tom Buckler | Buckler Microelectronics Inc.
>>> 17008 - 90 Avenue NW | Suite 272 | Edmonton | AB | Canada | T5T 1L6
>>> Cell: (780) 499-5525
>>> ________________________________
>>>
>>>
>>>
>>>
>>> On Feb 11, 2020, at 6:41 AM, m. allan noah <kitno455 at gmail.com> wrote:
>>>
>>> Do you have the header files for libusb installed? On other platforms
>>> this would come from a package called libusb-dev or libusb-devel.
>>>
>>> allan
>>>
>>> On Tue, Feb 11, 2020 at 3:00 AM Olaf Meeuwissen
>>> <paddy-hack at member.fsf.org> wrote:
>>>
>>>
>>> Hi Tom,
>>>
>>> Tom Buckler writes:
>>>
>>> Hello,
>>>
>>> I am wanting to install a new instance of sane on OSX:
>>>
>>> When I go to
>>> $ ./configure BACKENDS="fujitsu"
>>> I get
>>> *** Warning: sane-backends will be built without USB support.  There may
>>>
>>> Yet libusb is installed via homebrew:
>>> taws27 on TAWS27: /usr/local/lib$ ls -l libusb*
>>> lrwxr-xr-x  1 taws27  admin  46 10 Feb 23:16 libusb-1.0.0.dylib ->
>>> ../Cellar/libusb/1.0.23/lib/libusb-1.0.0.dylib
>>> lrwxr-xr-x  1 taws27  admin  40 10 Feb 23:16 libusb-1.0.a ->
>>> ../Cellar/libusb/1.0.23/lib/libusb-1.0.a
>>> lrwxr-xr-x  1 taws27  admin  44 10 Feb 23:16 libusb-1.0.dylib ->
>>> ../Cellar/libusb/1.0.23/lib/libusb-1.0.dylib
>>>
>>> Thoughts appreciated,
>>>
>>>
>>> Please run `./configure --with-usb BACKENDS=fujitsu` and send the
>>> `config.log` file to the list.  You may want to compress the file
>>> as large messages end up in the moderator queue.
>>>
>>> That is not a problem per se, but it slows down communication.
>>>
>>> Even when compressed, the message may be too large.
>>>
>>> Alternatively, you could create an issue for this at
>>>
>>> https://gitlab.com/sane-project/backends/issues/new
>>>
>>> I don't have access to any MacOS systems, so can only really debug
>>> this via that log file.
>>>
>>> That said, do you have `pkg-config` installed?  If not, that is most
>>> likely why libusb is not detected.
>>>
>>> Apologies but we don't see many MacOS folks around here so our build
>>> instructions may be lacking a bit for that OS.
>>>
>>> Hope this helps,
>>> --
>>> Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
>>> GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>>> Support Free Software                        https://my.fsf.org/donate
>>> Join the Free Software Foundation              https://my.fsf.org/join
>>>
>>>
>>>
>>> --
>>> "well, I stand up next to a mountain- and I chop it down with the edge
>>> of my hand"
>>>
>>>
>>>
>>>
>>> --
>>> "well, I stand up next to a mountain- and I chop it down with the edge
>>> of my hand"
>>>
>>>
>>>
>>
>> --
>> "well, I stand up next to a mountain- and I chop it down with the edge of
>> my hand"
>>
>
>
> --
> "well, I stand up next to a mountain- and I chop it down with the edge of
> my hand"
>
>
>

-- 
"well, I stand up next to a mountain- and I chop it down with the edge of
my hand"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20200214/87965741/attachment-0001.html>


More information about the sane-devel mailing list