[sane-devel] no scanners found (leo s3 scsi-scanner)

axel dammers triton10 at web.de
Thu Jan 16 22:01:54 GMT 2003


Hi,

thanks for your answers.

But sane-find-scanner -v -v shows not a 0 behind the scanner name:

searching for SCSI scanners:
checking /dev/scanner... open ok
  Inquiry for device:
    000: 06 00 02 02 1f 00 00 00 4c 45 4f 00 00 00 00 00    ........LEO.....
    016: 4c 45 4f 53 63 61 6e 2d 53 33 00 00 00 00 00 00    LEOScan-S3......
    032: 31 2e 31 30                                        1.10
found SCSI scanner "LEO LEOScan-S3 1.10" at /dev/scanner
checking /dev/sg0... open ok
  Inquiry for device:
    000: 06 00 02 02 1f 00 00 00 4c 45 4f 00 00 00 00 00    ........LEO.....
    016: 4c 45 4f 53 63 61 6e 2d 53 33 00 00 00 00 00 00    LEOScan-S3......
    032: 31 2e 31 30                                        1.10
found SCSI scanner "LEO LEOScan-S3 1.10" at /dev/sg0
checking /dev/sg1... failed to open (Invalid argument)
checking /dev/sg2... failed to open (Invalid argument)
<<- cut ->>
checking /dev/sgz... failed to open (Invalid argument)

  # Your SCSI scanner was detected. It may or may not be supported by 
SANE. Try
  # scanimage -L and read the backend's manpage.

searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid argument)
checking /dev/usb/scanner0... failed to open (Invalid argument)
<<- cut ->>
checking /dev/usbscanner15... failed to open (Invalid argument)
 
 # No USB scanners found. If you expected something different, make sure 
that
  # you have loaded a driver for your USB host controller and have 
installed a
  # kernel scanner module.

  # Scanners connected to the parallel port or other proprietary ports 
can't be
  # detected by this program.
done

Have I to do anything in the sourcecode ?

Bye
Axel



Henning Meier-Geinitz schrieb:

>Hi,
>
>On Wed, Jan 15, 2003 at 09:59:03PM +0100, axel dammers wrote:
>  
>
>>It's right, the name of the scanner is  LEO LEOScan-S3.
>>
>>Here are the output of  "SANE_DEBUG_LEO=255 scanimage -L":
>>
>>[sanei_debug] Setting debug level of leo to 255.
>>[leo] sane_init
>>[leo] This is sane-leo version 1.0-9
>>[leo] (C) 2002 by Frank Zago
>>[leo] attach_scanner: /dev/sg0
>>[leo] leo_init: enter
>>[leo] leo_init: exit
>>[leo] attach_scanner: opening /dev/sg0
>>[leo] leo_identify_scanner: enter
>>[leo] device is "LEO" "LEOScan-S3" "1.10"
>>[leo] leo_identify_scanner: exit, device not supported
>>    
>>
>
>Looks like a detection problem. I don't know anything about the leo
>backend, but here is part of the source code (backend/leo.c):
>
>static const struct scanners_supported scanners[] = {
>  {6, "ACROSS  ", "                ",
>   "Across", "FS-1130"},
>  {6, "LEO     ", "LEOScan-S3      ",
>   "Leo", "S3"}
>};
>
>So the backend expects spaces after the names but the SCSI inqiry
>seems to put a 0 after the names (?).
>
>You can verify that by running sane-find-scanner -v -v and looking at
>the SCSI inqiry. If there is a 0 after the names, that's the problem.
>
>You can try to modify the source code by removing the spaces after LEO
>and LEOScan-S3 to find out,i ft this is the problem.
>
>  
>
>>In the dll.conf I only uncomment the line with "leo".
>>    
>>
>
>Ok.
>
>Bye,
>  Henning
>_______________________________________________
>Sane-devel mailing list
>Sane-devel at www.mostang.com
>http://www.mostang.com/mailman/listinfo/sane-devel
>
>  
>





More information about the sane-devel mailing list