<mohammed> i have proplem with xsane
<mohammed> my scanner is BENQ 4300
<mohammed> distro is suse 10.0
<mohammed> scanimage (sane-backends) 1.0.15; backend version 1.0.15
<mohammed> i get that error Failed to open device snapscan ;linusb :004:008 error during device I/O
<mohammed> any one could help me
<mohammed> hey guysss
<paragn> are u as root?
<mohammed> yes
<paragn> what si soutput of scanimage -L?
<mohammed> paragn: yes i am root
<mohammed> paragn device `snapscan:libusb:004:010' is a Acer FlatbedScanner22 flatbed scanner
<mohammed> paragn: device `snapscan:libusb:004:010' is a Acer FlatbedScanner22 flatbed scanner
<paragn> gimme output of scanimage -L after you did SANE_DEBUG_SNAPSCAN=255 on http://pastebin.ca
<paragn> mohammed, that gave more debug messages to analyze probelm
<mohammed> paragn: it gave me the same out out not a debug info
<mohammed> device `snapscan:libusb:004:010' is a Acer FlatbedScanner22 flatbed scanner
<paragn> howz that possible?
<paragn> it must give u more messages
<paragn> oh i think you have not used export word
<paragn> export SANE_DEBUG_SNAPSCAN=255
<paragn> give above line on console and see output of scanimage -L
<mohammed> paragn: http://pastebin.ca/71903
<paragn> mohammed, gimme /sbin/lsusb output here
<mohammed> bash: /sbin/lsusb: No such file or directory
<mohammed> lsusb
<mohammed> Bus 005 Device 001: ID 0000:0000
<mohammed> Bus 004 Device 010: ID 04a5:20b0 Acer Peripherals Inc. (now BenQ Corp.) S2W 3300U/4300U
<mohammed> Bus 004 Device 001: ID 0000:0000
<mohammed> Bus 003 Device 005: ID 03f0:0324 Hewlett-Packard
<mohammed> Bus 003 Device 004: ID 046d:c016 Logitech, Inc. Optical Mouse
<mohammed> Bus 003 Device 001: ID 0000:0000
<mohammed> Bus 002 Device 001: ID 0000:0000
<mohammed> Bus 001 Device 001: ID 0000:0000
<paragn> lsusb output is ok
<paragn> debug messages said that driver is not able to find /dev/usb/scanner0
<paragn> can u check ls /dev/usb/scanner0 -lrt output??
<mohammed> paragn: the I/O error i get in the first time i try to use xsane
<mohammed> after that xsane tell me no device found
<paragn> whether that file really exists or not?
<paragn> check /dev/usb/scanner0 is present or not?
<mohammed> paragn: /dev/usb doesnot exist
<paragn> ok then you need to add onemore export variable to check why device is not created
<mohammed> give me the cmd
<mohammed> paragn: you there..?
<paragn> export SANE_DEBUG_SANEI_USB=255
<paragn> and reupload scanimage -L output
<paragn> remember both export must be in shell environment and then execute scanimage -L
<mohammed> paragn: here you are http://pastebin.ca/71917
<paragn> mohammed, so it seems backend is unable to create device file
<mohammed> but it can detect it
<paragn> yes
<mohammed> so what i ahve to do..?
<paragn> mohammed, locate snapscan.conf fiel on ur system
<mohammed> its on /etc/sane.d
<paragn> most probably in /etc/sane.d/snapscan.conf
<paragn> open it and remove # in front of line
<paragn> # /dev/usb/scanner0 bus=usb
<paragn> and check scanimage -L
<paragn> is there really # in snapscan.conf file??
<mohammed> no
<mohammed> For USB scanners also specify bus=usb, e.g.
<mohammed> /dev/usb/scanner0 bus=usb
<paragn> is there also lfollowing lines?
<paragn> # Benq/Acer/Vuego 4300
<paragn> usb 0x04a5 0x20de
<mohammed> .# Benq/Acer/Vuego 3300 / 4300
<mohammed> usb 0x04a5 0x20b0
<mohammed> # Benq/Acer/Vuego 4300
<mohammed> usb 0x04a5 0x20de
<paragn> ohh
<paragn> all things are present and still scanner is not working
<mohammed> i had almost a week trying to do it
<mohammed> what els could cause that proplem..?
<paragn> hey which scanner u have??
<mohammed> Benq 4300
<paragn> scanimage -L output showed USB IDs from Benq 3300
<mohammed> and i add the firmwire file line on snapscan.conf
<paragn> isnt it?
<paragn> #
<paragn> [sanei_usb] sanei_usb_init: found libusb device (0x04a5/0x20b0) interface 0 at libusb:004:011
<mohammed> that is 4300
<mohammed> # Benq/Acer/Vuego 3300 / 4300
<mohammed> usb 0x04a5 0x20b0
<mohammed> # Benq/Acer/Vuego 4300
<mohammed> usb 0x04a5 0x20de
<mohammed> Benq/Acer/Vuego 3300 / 4300
<mohammed> <mohammed> usb 0x04a5 0x20b0
<mohammed> Benq/Acer/Vuego 3300 / 4300
<mohammed> <mohammed> usb 0x04a5 0x20b0
<paragn> ohh there r 2 Devices sharing same USB IDs
<paragn> i mean 4300 also have same as 3300
<mohammed> yes
<paragn> have u gone thru' http://snapscan.sourceforge.net/
<mohammed> yes
<mohammed> every thing i did
<paragn> if yes/no then you can contact maintainer of snapscan backend
<paragn> drop a mail on mailing list
<mohammed> thank you for your help
<mohammed> but i searched the maillist and found some popl had the same eroor msg i got
<mohammed> and noone answer them
<mohammed> what u think
<paragn> i think you must drop amail to Oliver
<mohammed> u know his e-mail..?
<paragn> mohammed, may be this mail can be usefule to u http://lists.alioth.debian.org/pipermail/sane-devel/2004-September/012121.html
<paragn> oliverschwartz@users.sourceforge.net
<mohammed> i have the newset sane backend
<mohammed> with lsus support
<paragn> http://lists.alioth.debian.org/pipermail/sane-devel/2006-March/016435.html
<paragn> see Oliver reply
<paragn> u also send him full debug messages
<paragn> why dont u try new sourcecode ?
<mohammed> the sane i sue came with my distro and i not ready to go into un comptabile widitro headace
<paragn> ok
<paragn> then u can send mail to Oliver and wait for his reply
<mohammed> ok
<mohammed> would u give me the mailling list mail to to add it on the CC
<paragn> ok
<paragn> sane-devel@lists.alioth.debian.org
* POSIX (n=mohammed@196.218.11.99) has joined #sane
<POSIX> paragn: iam mohamed sorry power failuer
<POSIX> would u give me the log of our conversation..?
<paragn> ok wait will upload it on pastbin.ca