[sane-devel] Benq 5000 (Freebsd) works form time to time

Oleg xammep at mail.ru
Fri Jun 3 12:16:21 UTC 2011


Hi, allan! Thanks for your reply.
Under slax live cd (6.1.2) and sane 1.0.20 my scanner works fine all the time, no errors.

Under Windows 7 it works fine too.

So we have FreeBSD issue.
Any idea to fix the problem (except not to use FreeBSD :)) ?

-- 
Oleg


Thu, 2 Jun 2011 20:31:24 -0400 письмо от "m. allan noah" <kitno455 at gmail.com>:

> It might be interesting to boot a linux livecd, and try the scanner
> there, just to see if it is an OS issue or a hardware issue.
> 
> allan
> 
> On Thu, Jun 2, 2011 at 7:00 PM, Олег <xammep at mail.ru> wrote:
> > Hi all!
> >
> > I use:
> > Benq 5000
> > sane-backends-1.0.21
> > FreeBSD 7.4-STABLE
> > 'firmware /home/user/ftp/20F8V119.bin' in snapscan.conf
> >
> > The problem is scanner works unstable (from time to time). It takes multiple
> > attepts of 'scanimage > file.ppm' to get the scan.
> > All my actions have been tested in 2 cases:
> > 1. with libusb (kernel without 'device uscanner')
> > 2. with uscanner:
> > (echo 'product ACERP ACERSCAN_5000 0x20f8 Benq 5000' >>
> > /usr/src/sys/dev/usb/usbdevs
> > echo '{{ USB_VENDOR_ACERP, USB_PRODUCT_ACERP_ACERSCAN_5000 }, 0 },' >>
> > /usr/src/sys/dev/usb/uscanner.c
> > recompiled kernel with 'device uscanner')
> >
> > Case1:
> > Benq 5000 powered on first time:
> >
> > # lsusb
> > 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
> > found USB scanner (vendor=0x04a5 [Color], product=0x20f8 [ FlatbedScanner
> > 22]) at libusb:/dev/usb2:/dev/ugen0
> >
> > and scanimage found it on third attempt:
> >
> > # scanimage -L
> >
> > No scanners were identified. ....
> > .
> > .
> > .
> > # scanimage -L
> > device `snapscan:libusb:/dev/usb2:/dev/ugen0' is a Acer FlatbedScanner42
> > flatbed scanner
> >
> > after 6 attempts of:
> > # scanimage --quality-cal=no > image-7.ppm
> > scanimage: no SANE devices found
> >
> > we got the scan:
> > # scanimage --quality-cal=no > image-7.ppm
> > #
> >
> > and next:
> > # scanimage -L
> >
> > No scanners were identified.....
> >
> > And i have to wait several minutes getting this errors to get the next scan.
> >
> > Case2:
> > Benq 5000 powered on first time it is found by sane-find-scanner and
> > scanimage successfully:
> >
> > # sane-find-scanner -q
> > found USB scanner (vendor=0x04a5, product=0x20f8) at /dev/uscanner0
> >
> > # scanimage -L
> > device `snapscan:/dev/uscanner0' is a Acer FlatbedScanner22 flatbed scanner
> >
> > # scanimage --quality-cal=no > image-1.ppm
> > [snapscan] Scanner warming up - waiting 31 seconds.
> > #
> >
> > OK. We got the scan.
> > 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've tried changing firmware to 20F8V116.bin, 20F8V114.bin, 20F8V112.bin -
> > the problem repeats.
> > What is the root of this instability?
> > Thanks for your time!
> >
> >
> > --
> > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> >             to sane-devel-request at lists.alioth.debian.org
> >
> 
> 
> 
> -- 
> "The truth is an offense, but not a sin"


More information about the sane-devel mailing list