Hello.<br>I am working on a system with a function to scan documents.<br>When this option is selected, a new process is started to look, open and configure a scanner and scan the documents.<br>However after some time, sane_find_scanner takes a long time to return and finds nothing.<br>
It is needed to turn on and off the scanner or unplug and plug again the usb cable.<br><br>Why is this happening?<br>Is there any way I can workaround this in software?<br><br>As part of the scanner configuration, I am doing<br>
<br>sane_control_option(saneH, powerSaveTimeOpt, SANE_ACTION_SET_VALUE, &powerTime, &rVal);<br><br>where powerSaveTimeOpt has the correct value as returned by sane_get_option_descriptor(saneH, j); // name is "power-save-time"<br>
and powerTime has a value of 0<br>As I found that was an issue with another avision scanner. But this is not working this time.<br><br>The scanner is<br>device `avision:libusb:001:012' is a Fujitsu fi-5015C flatbed scanner<br>
Sane backends are<br>1.0.22<br><br>Thank you for any light you can shed into this.<br>