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

2017-09-06 Thread m. allan noah
You would need the source code to kodak's backend to do that. I don't
think they make that available.

allan

On Wed, Sep 6, 2017 at 6:03 AM, fm8758ye  wrote:
> 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"写道:
>
>
> 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  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"写道:
>>
>>
>> kds_i1200 would have to provide button support. I suggest you contact
>> kodak.
>>
>>
>> allan
>>
>> On Fri, Aug 18, 2017 at 12:14 AM, fm8758ye  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@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
>>
>>
>>
>> --
>> "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-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] Sane_debug not available and front buttons for i1220 not shown in scanimage -A

2017-09-06 Thread 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







在2017年08月22 21时02分, "m. allan noah"写道:

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  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"写道:
>
>
> kds_i1200 would have to provide button support. I suggest you contact kodak.
>
>
> allan
>
> On Fri, Aug 18, 2017 at 12:14 AM, fm8758ye  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@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
>
>
>
> --
> "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-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] Sane_debug not available and front buttons for i1220 not shown in scanimage -A

2017-08-22 Thread m. allan noah
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  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"写道:
>
>
> kds_i1200 would have to provide button support. I suggest you contact kodak.
>
>
> allan
>
> On Fri, Aug 18, 2017 at 12:14 AM, fm8758ye  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@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
>
>
>
> --
> "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-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] Sane_debug not available and front buttons for i1220 not shown in scanimage -A

2017-08-22 Thread Wilhelm
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.

Am 22.08.2017 um 04:46 schrieb 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
> 
> 
> 
> 在2017年08月18 13时59分, "Wilhelm"写道:
> 
> 
> 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
> 
> 
> 
>  
> 
> 
> 


-- 
Wilhelm

-- 
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] Sane_debug not available and front buttons for i1220 not shown in scanimage -A

2017-08-21 Thread 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







在2017年08月18 20时24分, "m. allan noah"写道:

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


allan

On Fri, Aug 18, 2017 at 12:14 AM, fm8758ye  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@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



--
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"
-- 
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] Sane_debug not available and front buttons for i1220 not shown in scanimage -A

2017-08-21 Thread 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







在2017年08月18 13时59分, "Wilhelm"写道:

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

-- 
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] Sane_debug not available and front buttons for i1220 not shown in scanimage -A

2017-08-18 Thread m. allan noah
kds_i1200 would have to provide button support. I suggest you contact kodak.


allan

On Fri, Aug 18, 2017 at 12:14 AM, fm8758ye  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@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



-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"

-- 
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] Sane_debug not available and front buttons for i1220 not shown in scanimage -A

2017-08-18 Thread Wilhelm
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


-- 
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