Discussion:
[sane-devel] Sane_debug not available and front buttons for i1220 not shown in scanimage -A
fm8758ye
2017-08-18 04:14:20 UTC
Permalink
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
2017-08-18 05:59:53 UTC
Permalink
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
Post by 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
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
fm8758ye
2017-08-22 02:46:33 UTC
Permalink
Hi Wilhelm,

Thank you for your prompt reply. I have tried holding onto buttons, every one of them, and none of the values change. I have tried compiling with "scanbuttond =yes" with the same results. When installing the kodak official driver, it does provide a kds_i1000.conf which lists the usb and ID's of various models, just like the other backends in the sane.d folder.

Have I understood incorrectly if the scanner really support sane?

Fan







ÔÚ2017Äê08ÔÂ18 13ʱ59·Ö, "Wilhelm"<***@fh-kl.de>ÐŽµÀ:

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
Post by 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
Wilhelm
2017-08-22 06:30:55 UTC
Permalink
Hi Fan,

if you can perform normal scanning with sane, then the scanner seems to
be supported by the sane-backend you are using. The next question is, if
the backend is capable of reading the option values corresponding to the
buttons. If can't see any value change if you press one of the buttons
its likely that the backend does not support this operation.
Post by fm8758ye
Hi Wilhelm,
Thank you for your prompt reply. I have tried holding onto buttons,
every one of them, and none of the values change. I have tried compiling
with "scanbuttond =yes" with the same results. When installing the kodak
official driver, it does provide a kds_i1000.conf which lists the usb
and ID's of various models, just like the other backends in the sane.d
folder.
Have I understood incorrectly if the scanner really support sane?
Fan
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
Post by 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
Post by fm8758ye
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
Post by fm8758ye
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
Post by fm8758ye
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
--
Wilhelm
--
sane-devel mailing list: sane-***@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-***@lists.al
m. allan noah
2017-08-18 12:24:01 UTC
Permalink
kds_i1200 would have to provide button support. I suggest you contact kodak.


allan
Post by 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
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
--
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
fm8758ye
2017-08-22 02:48:45 UTC
Permalink
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"<***@gmail.com>写道:

kds_i1200 would have to provide button support. I suggest you contact kodak.


allan
Post by 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
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
--
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"
m. allan noah
2017-08-22 13:02:30 UTC
Permalink
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
Post by fm8758ye
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
kds_i1200 would have to provide button support. I suggest you contact kodak.
allan
Post by 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
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
--
"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"
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.or
fm8758ye
2017-09-06 10:03:19 UTC
Permalink
Thank you, and I have contacted Kodak last month but have received no response from them. In the likely case my request is ignored, it is possible for me to sniff packets on windows or linux and add support to the backend myself (I will look for a driver programmer for help)?

Fan







圚2017幎08月22 21时02分, "m. allan noah"<***@gmail.com>写道:

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
Post by fm8758ye
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
kds_i1200 would have to provide button support. I suggest you contact kodak.
allan
Post by 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
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
--
"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"
m. allan noah
2017-09-06 10:50:23 UTC
Permalink
You would need the source code to kodak's backend to do that. I don't
think they make that available.

allan
Post by fm8758ye
Thank you, and I have contacted Kodak last month but have received no
response from them. In the likely case my request is ignored, it is possible
for me to sniff packets on windows or linux and add support to the backend
myself (I will look for a driver programmer for help)?
Fan
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
Post by fm8758ye
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
kds_i1200 would have to provide button support. I suggest you contact kodak.
allan
Post by 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
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
--
"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"
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sa
Loading...