Hi, Dirk. On Thu, Jun 05, 2025 at 01:25:42PM -0700, Dirk Meier via sane-devel wrote: > I have tried the following filters: “2”, “.*2.*”, “^2.*”, “.*2$” none of them > worked. Only when I use “.*” as a filter is the assigned script executed. But > continuously.
I think your filter should be something like "^function$", and then you'd use a `numerical-trigger` block to specify which transitions you want to trigger on. `filter` controls, in effect, the name of the variable; not what values to trigger on. If this doesn't get you anywhere, perhaps you can include both the full output of `scanimage -A` and the full output of scanbd logs, making sure you adjust the switch while it's running? - Tricia
