<HTML><BODY><p>Hi all!<br><br>I use:<br>Benq 5000<br>sane-backends-1.0.21 <br>FreeBSD 7.4-STABLE<br>'firmware /home/user/ftp/20F8V119.bin' in snapscan.conf<br><br>The problem is scanner works unstable (from time to time). It takes multiple attepts of 'scanimage > file.ppm' to get the scan.<br>All my actions have been tested in 2 cases:<br>1. with libusb (kernel without 'device uscanner') <br>2. with uscanner:<br>(echo 'product ACERP ACERSCAN_5000   0x20f8  Benq 5000' >> /usr/src/sys/dev/usb/usbdevs <br>echo '{{ USB_VENDOR_ACERP, USB_PRODUCT_ACERP_ACERSCAN_5000 }, 0 },' >> /usr/src/sys/dev/usb/uscanner.c<br>recompiled kernel with 'device uscanner')<br><br>Case1: <br>Benq 5000 powered on first time:<br><br># lsusb<br>Bus /dev/usb2 Device /dev/ugen0: ID 04a5:20f8 Acer Peripherals Inc. (now BenQ Corp.) Benq 5000<br><br>sane-find-scanner found the scanner on the fourth attempt:<br><br># sane-find-scanner -q<br># sane-find-scanner -q<br># sane-find-scanner -q<br># sane-find-scanner -q<br>found USB scanner (vendor=0x04a5 [Color], product=0x20f8 [ FlatbedScanner 22]) at libusb:/dev/usb2:/dev/ugen0<br><br>and scanimage found it on third attempt:<br><br># scanimage -L<br><br>No scanners were identified. ....<br>.<br>.<br>.<br># scanimage -L<br>device `snapscan:libusb:/dev/usb2:/dev/ugen0' is a Acer FlatbedScanner42 flatbed scanner<br><br>after 6 attempts of:<br># scanimage --quality-cal=no > image-7.ppm<br>scanimage: no SANE devices found<br><br>we got the scan:<br># scanimage --quality-cal=no > image-7.ppm<br>#<br><br>and next:<br># scanimage -L<br><br>No scanners were identified.....<br><br>And i have to wait several minutes getting this errors to get the next scan.<br><br>Case2: <br>Benq 5000 powered on first time it is found by sane-find-scanner and scanimage successfully:<br><br># sane-find-scanner -q<br>found USB scanner (vendor=0x04a5, product=0x20f8) at /dev/uscanner0<br><br># scanimage -L<br>device `snapscan:/dev/uscanner0' is a Acer FlatbedScanner22 flatbed scanner<br><br># scanimage --quality-cal=no > image-1.ppm<br>[snapscan] Scanner warming up - waiting 31 seconds.<br>#<br><br>OK. We got the scan.<br>After 3 minutes:<br><br># scanimage --quality-cal=no > image-2.ppm<br><br>hangs forever...<br><br>If i kill scanimage and use sane-find-scanner:<br># sane-find-scanner -q<br># sane-find-scanner -q<br>.<br>.<br>.<br>i have nothing.<br><br>I've tried changing firmware to 20F8V116.bin, 20F8V114.bin, 20F8V112.bin - the problem repeats.<br>What is the root of this instability?<br>Thanks for your time!<br><span></span><br></p></BODY></HTML>