[sane-devel] Raspbian Jessie - scanbd scripting issue

Wilhelm wilhelm.meier at fh-kl.de
Wed Apr 1 09:25:53 UTC 2015


Am 31.03.2015 um 18:26 schrieb RainerF:
> Wilhelm,
> 
> I wasn't sure what you meant with
> 
>     Wilhelm Meier-2 wrote
>     So please change the bool-expression in this if() to true and test,
>     please.
> 
> So I commented the outer if statement
> 
> // 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");
>      }
> // }
> 
> and recompiled. That's working now for all buttons.

Ok, thanks for testing!
I will make a new release in a few days.

> 
> Thanks a lot for your efforts!
> 
> Kind regards,
> Rainer
> ------------------------------------------------------------------------
> View this message in context: Re: Raspbian Jessie - scanbd scripting
> issue
> <http://sane.10972.n7.nabble.com/Raspbian-Jessie-scanbd-scripting-issue-tp19611p19625.html>
> Sent from the SANE - Dev mailing list archive
> <http://sane.10972.n7.nabble.com/SANE-Dev-f3.html> at Nabble.com.
> 
> 


-- 
Wilhelm



More information about the sane-devel mailing list