[sane-devel] Sane_debug not available and front buttons for i1220 not shown in scanimage -A

m. allan noah kitno455 at gmail.com
Tue Aug 22 13:02:30 UTC 2017


The .conf file is not the backend, it is just configuration. The real
code is a compiled library, usually installed somewhere in /usr/lib...

The sane standard does not require that backends expose button options
to the frontend. So, the kvs_i1200 backend can be sane compliant, but
not support scanbd. You will need to get kodak to modify the backend
to add options which expose buttons.

This is one of the biggest dangers of closed-source software. Only a
small number of people at one company can help you. And, their
motivation to do so is questionable since it likely won't add
significantly to their sales.

allan

On Mon, Aug 21, 2017 at 10:48 PM, fm8758ye <fm8758ye at 126.com> wrote:
> Dear Allan,
>
> Thank you for the input, do you mean the file kds_i1200.conf has to provide
> button support? I looked at the other conf files under sane.d and they all
> look alike without any mentions of buttons. In the case that I have to
> contact kodak, what should I ask them for?
>
> Fan
>
>
>
> 在2017年08月18 20时24分, "m. allan noah"<kitno455 at gmail.com>写道:
>
>
> kds_i1200 would have to provide button support. I suggest you contact kodak.
>
>
> allan
>
> On Fri, Aug 18, 2017 at 12:14 AM, fm8758ye <fm8758ye at 126.com> wrote:
>> I am trying to implement scanbd with the scanner as a scan station.
>> However,
>> I got stopped at the first step as scanimage -A only shows scan options
>> (such as mode and profiles) and does not show any sensor or button.
>> Holding
>> down the front buttons and doing scanimage -A shows no value different.  I
>> have looked at previous mail lists and saw that sane_debug_? shows more
>> options for scanner. However, the command is not available.
>>
>> Q: What do I have to do to get sane_debug_? command? What do I enter after
>> debug_?
>>
>> Anyways, I went on installing scanbd following the readme and scanbd is
>> able
>> to poll the scanner but not detecting any button press, as expected.
>> Scanbd
>> -d7 -f shows around 20 options and none of them are related to a button
>> press. With the default scanbd.conf, it kept checking for the change of
>> [preview] value, which does not react to button press.
>>
>> Q: Am I out of luck as the backend does not support buttons?
>>
>> I have tried to capture usb traffic using wireshark but no button presses
>> are recorded.
>>
>> Q: Does capturing a scan packet using scan GUI and analysing it help?
>>
>> Thank you in advance.
>>
>> Ubuntu 14.04 fresh install
>> Sane 1.0.0.23 does not provide scanner backend for this model so external
>> (official) driver is used instead (kds_i1200).
>> sudo sane-find-scanner, scanimage -L and all other scanimage commands
>> works
>> fine
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> sane-devel mailing list: sane-devel at 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-request at lists.alioth.debian.org
>
>
>
> --
> "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"



More information about the sane-devel mailing list