Hi all!
I use:
Benq Scanner 5000
sane-backends-1.0.21
FreeBSD 7.4-STABLE
in snapscan.conf
The problem is the scanner works unstable (from time to time). It takes multiple attempts of [cmd=]scanimage > file.ppm[/cmd] to get the scan. Only lsusb can always see the scanner while sane-find-scanner and scanimage -L can see it from time to time.
I've tried changing firmware to 20F8V116.bin, 20F8V114.bin, 20F8V112.bin - the problem repeats. The scanner works fine under Windows 7 and Linux (Slax 6.1.2 LiveCD, sane 1.0.20), so the hardware is ok, probably it is an OS-related problem. In sane's [sane-devel] mailing list I got the recommendation to ask on some FreeBSD forums.
All my actions have been tested in 2 cases:
1. with libusb (kernel without 'device uscanner')
2. with uscanner:
[cmd=]echo 'product ACERP ACERSCAN_5000 0x20f8 Benq 5000' >> /usr/src/sys/dev/usb/usbdevs[/cmd]
[cmd=]echo '{{ USB_VENDOR_ACERP, USB_PRODUCT_ACERP_ACERSCAN_5000 }, 0 },' >> /usr/src/sys/dev/usb/uscanner.c[/cmd]
recompiled kernel with 'device uscanner'.
Case 1:
Benq 5000 powered on first time:
sane-find-scanner found the scanner on the fourth attempt:
and scanimage found it on the third attempt:
After 6 attempts of:
We got the scan:
and next:
And I have to wait several minutes getting these errors to get the next scan.
Case 2:
Benq 5000 powered on first time it is found by sane-find-scanner and scanimage successfully:
OK. We got the scan.
After 3 minutes:
hangs forever...
If I kill scanimage and use sane-find-scanner:
I have nothing.
I would be very grateful if anybody points me to the root of this instability. Thanks for your time!
--
Oleg
I use:
Benq Scanner 5000
sane-backends-1.0.21
FreeBSD 7.4-STABLE
Code:
firmware /home/user/ftp/20F8V119.bin
The problem is the scanner works unstable (from time to time). It takes multiple attempts of [cmd=]scanimage > file.ppm[/cmd] to get the scan. Only lsusb can always see the scanner while sane-find-scanner and scanimage -L can see it from time to time.
I've tried changing firmware to 20F8V116.bin, 20F8V114.bin, 20F8V112.bin - the problem repeats. The scanner works fine under Windows 7 and Linux (Slax 6.1.2 LiveCD, sane 1.0.20), so the hardware is ok, probably it is an OS-related problem. In sane's [sane-devel] mailing list I got the recommendation to ask on some FreeBSD forums.
All my actions have been tested in 2 cases:
1. with libusb (kernel without 'device uscanner')
2. with uscanner:
[cmd=]echo 'product ACERP ACERSCAN_5000 0x20f8 Benq 5000' >> /usr/src/sys/dev/usb/usbdevs[/cmd]
[cmd=]echo '{{ USB_VENDOR_ACERP, USB_PRODUCT_ACERP_ACERSCAN_5000 }, 0 },' >> /usr/src/sys/dev/usb/uscanner.c[/cmd]
recompiled kernel with 'device uscanner'.
Case 1:
Benq 5000 powered on first time:
# lsusb
Code:
Bus /dev/usb2 Device /dev/ugen0: ID 04a5:20f8 Acer Peripherals Inc. (now BenQ Corp.) Benq 5000
sane-find-scanner found the scanner on the fourth attempt:
# sane-find-scanner -q
# sane-find-scanner -q
# sane-find-scanner -q
# sane-find-scanner -q
Code:
found USB scanner (vendor=0x04a5 [Color], product=0x20f8 [ FlatbedScanner 22]) at libusb:/dev/usb2:/dev/ugen0
and scanimage found it on the third attempt:
# scanimage -L
Code:
No scanners were identified. ....
.
.
.
# scanimage -L
Code:
device `snapscan:libusb:/dev/usb2:/dev/ugen0' is a Acer FlatbedScanner42 flatbed scanner
After 6 attempts of:
# scanimage --quality-cal=no > image-7.ppm
Code:
scanimage: no SANE devices found
We got the scan:
# scanimage --quality-cal=no > image-7.ppm
Code:
#
and next:
# scanimage -L
Code:
No scanners were identified.....
And I have to wait several minutes getting these errors to get the next scan.
Case 2:
Benq 5000 powered on first time it is found by sane-find-scanner and scanimage successfully:
# sane-find-scanner -q
Code:
found USB scanner (vendor=0x04a5, product=0x20f8) at /dev/uscanner0
# scanimage -L
Code:
device `snapscan:/dev/uscanner0' is a Acer FlatbedScanner22 flatbed scanner
# scanimage --quality-cal=no > image-1.ppm
Code:
[snapscan] Scanner warming up - waiting 31 seconds.
#
After 3 minutes:
# scanimage --quality-cal=no > image-2.ppm
hangs forever...
If I kill scanimage and use sane-find-scanner:
# sane-find-scanner -q
# sane-find-scanner -q
I have nothing.
I would be very grateful if anybody points me to the root of this instability. Thanks for your time!
--
Oleg