[sane-devel] Sane_debug not available and front buttons for i1220 not shown in scanimage -A
Wilhelm
wilhelm.meier at fh-kl.de
Fri Aug 18 05:59:53 UTC 2017
Hello,
scanbd depends on sane to detect button presses. For rare cases there is
the old scanbuttond backend included into the sources of scanbd. In this
case, you have to manually compile and install scanbd.
In the log-file you will find all options (including the buttons id they
are detected by sane) of the scanner. While looking at the log-output of
scanbd you can identify the button related options if you press a button
for more than say 0,5s. If the button can be monitored by scanbd you
must see a value-change for this specific option. Try all buttons.
If you don't see a value change of any option, than the sane driver is
not supporting this device.
But be aware, that the names of the options are sometimes not obviously
related to their function ...
Hth,
Wilhelm
Am 18.08.2017 um 06:14 schrieb fm8758ye:
> 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
>
>
>
>
>
>
>
>
>
--
Wilhelm
More information about the sane-devel
mailing list