Wilhelm,
<br><br>
I wasn't sure what you meant with
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="quote dark-border-color"><div class="quote light-border-color">
<div class="quote-author" style="font-weight: bold;">Wilhelm Meier-2 wrote</div>
<div class="quote-message">
So please change the bool-expression in this if() to true
and test, please.
</div>
</div></blockquote>


So I commented the outer if statement
<pre>
// if ((st->opts[si].from_value.num_value == st->opts[si].value.num_value) &&
//       (st->opts[si].to_value.num_value == value)) {
     slog(SLOG_DEBUG, "value trigger: numerical");
     st->triggered = true;
     st->triggered_option = si;
     // we need to trigger all waiting threads
     if (pthread_cond_broadcast(&st->cv) < 0) {
         slog(SLOG_ERROR, "pthread_cond_broadcats: this shouln't happen");
     }
// }
</pre>
and recompiled. That's working now for all buttons.<br><br>Thanks a lot for your efforts!<br><br>Kind regards,<br>Rainer


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://sane.10972.n7.nabble.com/Raspbian-Jessie-scanbd-scripting-issue-tp19611p19625.html">Re: Raspbian Jessie - scanbd scripting issue</a><br/>
Sent from the <a href="http://sane.10972.n7.nabble.com/SANE-Dev-f3.html">SANE - Dev mailing list archive</a> at Nabble.com.<br/>