<div dir="ltr"><div>What changed? Just the sane-backends version, or anything else (hardware, OS, etc)</div><div><br></div><div>allan</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jan 14, 2026 at 2:32 PM Simon Matter <<a href="mailto:simon.matter@invoca.ch">simon.matter@invoca.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I can confirm now that the problem is with the button daemon<br>
scanmonitord-sanebd only and not with scanimage.<br>
<br>
When I run "SANE_DEFAULT_DEVICE=fujitsu:fi-7160:42929 scanmonitord-sanebd"<br>
several times in a terminal and terminate it with Ctrl+C, it will suddenly<br>
say "Open of device fujitsu:fi-7160:42929 failed: Invalid argument".<br>
While studying the code of scanmonitord-sanebd.c I'm failing to understand<br>
what could be wrong. This has worked fine with SANE backends 1.0.24 but<br>
something has changed here.<br>
<br>
If anyone has an idea what could be wrong, please let me know. I'm quite<br>
lost here.<br>
<br>
Thanks,<br>
Simon<br>
<br>
> I start to believe the problem is not in SANE itself but in the button<br>
> daemon we are using (see attachement).<br>
><br>
> Our software is running the button daemon and waits for events, then<br>
> terminates the button daemon and does the appropriate scanimage job, and<br>
> then starts the button daemon again.<br>
><br>
> The button daemon is a modified version of some daemon which was floating<br>
> around many years ago. It has worked well for the last 15 years or so.<br>
> Maybe there is some modification needed to make it work well with newer<br>
> SANE.<br>
><br>
> If someone who knows SANE better than me would take a look at it, that<br>
> would be much appreciated.<br>
><br>
> Thanks,<br>
> Simon<br>
><br>
>> We need to isolate the problem if possible- I expect if you compile an<br>
>> older, known working sane-backends on your current computer, the problem<br>
>> will persist. That would indicate hardware or OS level issue.<br>
>><br>
>> allan<br>
>><br>
>> On Wed, Jan 14, 2026 at 9:35 AM Simon Matter via sane-devel <<br>
>> <a href="mailto:sane-devel@alioth-lists.debian.net" target="_blank">sane-devel@alioth-lists.debian.net</a>> wrote:<br>
>><br>
>>> ><br>
>>> > Hello,<br>
>>> ><br>
>>> > On 2026-01-14 14:59, Simon Matter via sane-devel wrote:<br>
>>> >> These scanners work perfectly fine with very old sane-backends<br>
>>> >> and operating system.<br>
>>> ><br>
>>> > Does it work on the exact same computer<br>
>>> > where it fails or does it work on old computers?<br>
>>><br>
>>> It works fine on old computers with old software.<br>
>>><br>
>>> ><br>
>>> > I ask because of possible USB 3 related issues, see<br>
>>> > <a href="https://en.opensuse.org/SDB:Configuring_Scanners#USB" rel="noreferrer" target="_blank">https://en.opensuse.org/SDB:Configuring_Scanners#USB</a><br>
>>><br>
>>> Thanks, I'll check it out.<br>
>>><br>
>>> Simon<br>
>>><br>
>>><br>
>>><br>
>><br>
>> --<br>
>> "well, I stand up next to a mountain- and I chop it down with the edge<br>
>> of<br>
>> my hand"<br>
>><br>
><br>
<br>
<br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">"well, I stand up next to a mountain- and I chop it down with the edge of my hand"</div>