<html><head></head><body>
<div class="moz-text-flowed" style="font-family: courier; font-size: 13px; ">Hi
<br><br>First, thanks to Olivier Schwartz for his previous response.
<br><br>After having read the response of O. Schwartz,
<br><br>1,2,3) I deleted all the files concerning SANE on my system with the
command ( #find / -mount -iname "<b class="moz-txt-star"><span class="moz-txt-tag">*</span>sane<span class="moz-txt-tag">*</span></b>" -exec rm -rf {} \; ) and the
files resting.
<br>Then I reinstalled SANE with "./configure, make and make install" in root user.
<br><br>4) I modified the snapscan.conf file with the correct device and
firmware path.
<br><br>5) After I rebooted my PC
<br><br>6) After I set the right on /dev/usb/scanner0 to "crw-rw---- 1
philippe usb 180, 48 avr 14 2001 scanner0"
<br>and on /dev/usb to "drwxrwxrwx 2 root root 4096 jan 29
19:46 usb/".
<br><br>7) After as root, I launched "sane-find-scanner -v". The scanner was detected on /dev/usb/scanner0 as set in snapscan.conf.<br>
<pre>sane-find-scanner: searching for USB scanners:
sane-find-scanner: checking /dev/usb/scanner... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner0... open ok, vendor and product ids were identified
sane-find-scanner: found USB scanner (vendor = 0x06bd, product = 0x2091) at device /dev/usb/scanner0
sane-find-scanner: checking /dev/usb/scanner1... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner2... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner3... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner4... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner5... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner5... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner7... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner8... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner9... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner10... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner11... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner12... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner13... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner14... failed to open (status 4)
sane-find-scanner: checking /dev/usb/scanner15... failed to open (status 4)
sane-find-scanner: checking /dev/usbscanner... open ok, but vendor and product could NOT be identified
sane-find-scanner: found USB scanner (UNKNOWN vendor and product) at device /dev/usbscanner
sane-find-scanner: checking /dev/usbscanner0... failed to open (status 4)
</pre>
Why does sane-find-scanner find a scanner at /dev/usbscanner ?<br>
If I delete this device, that could resolve my problem ???<br>
<br>
<br>
<br>8) After that I verified my environnemental variable:
<br>SANE_DEFAULT_DEVICE=snapscan:/dev/usb/scanner0
<br>SANE_CONFIG_DIR=/usr/local/etc/sane.d/snapscan.conf
<br>SANE_DEBUG_SNAPSCAN=255
<br><br>I launched the "scanimage > test10.pgm" but it didn't work:
<br><br>[<a class="moz-txt-link-abbreviated" href="mailto:root@localhost">root@localhost</a> /tmp]# scanimage > test10.pgm
<br>[sanei_debug] Setting debug level of snapscan to 255.
<br>[snapscan] sane_snapscan_init
<br>[snapscan] sane_snapscan_init: Snapscan backend version 1.4.7
<br>[snapscan] sane_snapscan_init: configuration file not found, defaulting
to /dev/scanner.
<br>[snapscan] add_device(/dev/scanner)
<br>[snapscan] add_device: Detected (kind of) a SCSI device
<br>[snapscan] add_device: error opening device /dev/scanner: Invalid argument
<br>[snapscan] sane_snapscan_init: failed to add device
"/usr/local/lib/sane/libsane-snapscan.so.1"
<br>[snapscan] sane_snapscan_open (/dev/usb/scanner0, 0xbffff4a4)
<br>[snapscan] find_device
<br>[snapscan] sane_snapscan_open: device "/dev/usb/scanner0" not in current
device list.
<br>scanimage: open of device snapscan:/dev/usb/scanner0 failed: Invalid
argument
<br>[snapscan] sane_snapscan_exit
<br>[<a class="moz-txt-link-abbreviated" href="mailto:root@localhost">root@localhost</a> /tmp]#
<br><br>This error message is the same for user root or other.
<br><br>9) After I launched "sane-find-scanner /dev/usb/scanner0" and the
result was a segmentation error (core dump):
<br><br>[<a class="moz-txt-link-abbreviated" href="mailto:root@localhost">root@localhost</a> /tmp]# sane-find-scanner /dev/usb/scanner0
<br># Note that sane-find-scanner will find any scanner that is connected
<br># to a SCSI bus and some scanners that are connected to the Universal
<br># Serial Bus (USB) depending on your OS. It will even find scanners
<br># that are not supported at all by SANE. It won't find a scanner that
<br># is connected to a parallel or proprietary port.
<br><br>Erreur de segmentation (core dumped)
<br>[<a class="moz-txt-link-abbreviated" href="mailto:root@localhost">root@localhost</a> /tmp]#
<br><br>10) It can remarked that after executing scanimage, the info show with
USB Viewer are not the same that before. The name of the scanner changed !
<br><br>Before using scanimage:
<br><br>SNAPSCAN e20
<br>Manufacturer: AGFA
<br>Speed: 12Mb/s (full)
<br>USB Version: 1.00
<br>Device Class: ff(vend.)
<br>Device Subclass: ff
<br>Device Protocol: ff
<br>Maximum Default Endpoint Size: 8
<br>Number of Configurations: 1
<br>Vendor Id: 06bd
<br>Product Id: 2091
<br>Revision Number: 0.62
<br><br>After using scanimage:
<br><br>usbscanner
<br>Speed: 12Mb/s (full)
<br>USB Version: 1.00
<br>Device Class: ff(vend.)
<br>Device Subclass: ff
<br>Device Protocol: ff
<br>Maximum Default Endpoint Size: 8
<br>Number of Configurations: 1
<br>Vendor Id: 06bd
<br>Product Id: 2091
<br>Revision Number: 0.62
<br><br><br>
Is it possible that the problem comes from right privileges on the sane file ???<br>
What must be the privileges of all files (directories) concerning SANE ?<br>
<br><br>Ok these are all of the tentitave I made this evening.<br>I think that it would be easier to use WINDOSSSSsssssss.....
<br><br>Thanks for your help !!!
<br><br>Best Regards
<br>Philippe
<br></div>
<pre wrap=""><br></pre>
</body></html>
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif