Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
While Fedora 6 is booting up and my Acer (benq 4300) scanner is connected via USB port I am getting the following error.
"USB 1:1 read/all error -71" and then the device is going power off. I am sure that the scanner is Ok because from Windows it is working perfectly from the same port. Even in Fedora 6 the scanner is correctly recognized when I am trying to swich it on when the system is up, but then also Xsane is giving the following error -
"Failed to open device 'snapscan:libusb:001:005':-Invalid argument"
This may be a problem with the configuration file.
If you are using libusb (likely), then check that the configuration file doesn't have a device line (i.e. no line like /dev/usb/scanner0).
The config file is /etc/sane.d/snapscan.conf on my system. It is already set to autoscan usb via libusb (but that is for me.)
I notice the scanner is found at libusb:002:002 but the error message mentions libusb:001:005 ... you could try using scanimage on the commandline and explicitly specify the device found by sane-find-scanner.
try
scanimage -d snapscan:libusb:002:002 image.pnm
(example only - i.e. explicitly state your device to use on the commandline)
Thanks Simon, I found the configuration file. It's there in the same place : /etc/sane.d/snapscan.conf
I checked the file and found my scanner up there .
# Benq/Acer/Vuego 4300
usb 0x04a5 0x20de
Also the line /dev/usb/scanner0 is already commented in the file as follows.
----------------------------------------- # For USB scanners also specify bus=usb, e.g.
# /dev/usb/scanner0 bus=usb
-----------------------------------------
Regarding the error message I have put in the cable in my USB 2 port from USB 5 port. So that is ok. Now the error message is showing "snapscan:libusb:002:002"
I should also mention here that when I am loading XSane, it is showin a list of devices it has found. One is /dev/video0 (TV Card) and the next one is my scanner ACer Flatbed Scanner 22.
Moreover at the prompt this time I found an error message
---------------------------------- Cannot open firmware file /usr/share/sane/snapscan/your-firmwarefile.bin.
----------------------------------
If I am correct then I believe I have to replace the firmware line with the actual location of my driver file which is u222v067.bin which is the correct driver for the scanner.
I searched the file
$ locate u222v067.bin
No result.
Please advise what to do now? Thanks for you help friend. You have shown some light for me at the end of the tunnel.
When you purchased the scanner, you got a disk with it. Firmware is on the disk - fingers crossed - otherwise you need to check the manufacturers website.
It may be that firmware is not needed - in which case you can try commenting out the "firmware" line in snapscan.conf ...
I have checked the /etc/sane.d/snapscan.conf. I didn't found any enty having this "vendor=0x04a5, product=0x20b0". So I have added that and then once I reboot I would report you the result.
Thanks again. It seems I am near to a solution.
------------
EDIT
------------
No not even after reboot the situation changed. Still Device Not Found.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.