[sane-devel] old Agfa DuoScan / Floating point exception

Frank Zago sane at zago.net
Mon Apr 17 10:18:17 UTC 2006


Daniel Bauer wrote:

>Am Sonntag, 16. April 2006 16:17 schrieb Frank Zago:
>...
>  
>
>>You  should then be able to do the same (failing) test again and get the
>>same results.
>>    
>>
>
>not exactly, the differences are:
>- the scanner is not detected anymore from a user prompt now (I've read about 
>that somewhere and will search again later, I guess this is not the main 
>problem)
>- as root the floating point exception doesn't appear anymore, but the sanner 
>is "found twice":
>
>.........
>--------------------------------
>addendum:
>
>when I add the device-name:
>scanimage --device-name=microtek:/dev/sg0
>then the "floating point exception appears" same as before
>
>(scanimage --device-name=snapscan:/dev/sg0 gives:
>scanimage: open of device snapscan:/dev/sg0 failed: Error during device I/O )
>
>regards
>
>Daniel
>
>
>  
>
Before changing the code, set SANE_DEBUG_MICROTEK to 128 (type "export 
SANE_DEBUG_MICROTEK=128" under your shell) and redo your test. That will 
give more information.
In particular get_scan_status() doesn't seems to return the correct 
information, which leads to linewidth being 0.

Frank.





More information about the sane-devel mailing list