06-16-2017, 02:06 PM
(This post was last modified: 06-19-2017, 12:14 PM by sanmayjoshi.)
Hello,
I have a Canon Lide 100 scanner(Yes, USB only). It is getting detected but the Document Scanner is not able to scan documents via scanner. I even tried installing Sane along with XSane Image Scanning Program, but no luck. XSane shows the scanner info, just gives error-Failed to start scanner: Error during device I/O. when asked to scan.
I would really appreciate any help.
Thanks.
Edit:
I am adding solution with explanation to above problem in case it might help someone --
I don't know which specific step out of following made scanner work, but it worked.
Make sure you have scanner plugged in(yep, the USB).
First check if you have sane installed along with dependencies and libusb-dev, build-essential, libsane-dev . To install sane- Similarly, to install libusb-dev, build-essential, libsane-dev -
Type in terminal-You may find something like-
[tt]
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x04a9, product=0×1904, chip=GL843) at libusb:001:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend’s manpage.
# Not checking for parallel port scanners.
[/tt]
if not, don't worry.
Now go to- https://anonscm.debian.org/gitweb/?p=san...ckends.git (which I found when I googled for [tt]git://git.debian.org/sane/sane-backends.git[/tt]), and download(click on snapshot) the master branch(yep, the one with master tag). Extract(to any directory but in this solution it is to USER/) and rename it to sane-backends. Then via terminal change directory to sane-backendsvia command - and then type in the terminal-
If it worked fine and a text file got opened then add-
to the end of that file.
But, in my case I found out that /lib/udev/rules.d/40-libsane.rules didn't exist in my pc. If that's the case then create 40-libsane.rules in /lib/udev/rules.d/ as root and paste-
still, it may not work.
Restart your PC.
Type in terminal- it should return-
[tt]device `genesys:libusb:001:003' is a Canon LiDE 100 flatbed scanner
[/tt] (001:003 may be replaced with something else in your case). Test your scanner(try scanning via Document Scanner or XSane).
Type in terminal-(by changing [tt]001:003[/tt] to what it shows for [tt]scan-find-scanner[/tt] ) , scanner should make the sound it does when it scans(yes, it will throw green light too! )). Now, what you just scanned will be (at least, should be) saved in [tt]USER/ [/tt] . Congrats, your scanner is working(at least it did in my case! ). Again test your scanner via Document Scanner(or XSane). Restart your computer, and again test your scanner via Document Scanner(or XSane).
If it passed all the tests, yep, your scanner is working awesome!
I have a Canon Lide 100 scanner(Yes, USB only). It is getting detected but the Document Scanner is not able to scan documents via scanner. I even tried installing Sane along with XSane Image Scanning Program, but no luck. XSane shows the scanner info, just gives error-Failed to start scanner: Error during device I/O. when asked to scan.
I would really appreciate any help.
Thanks.
Edit:
I am adding solution with explanation to above problem in case it might help someone --
I don't know which specific step out of following made scanner work, but it worked.
Make sure you have scanner plugged in(yep, the USB).
First check if you have sane installed along with dependencies and libusb-dev, build-essential, libsane-dev . To install sane-
Code:
sudo apt-get install sane #this shall install sane with any dependencies
Code:
sudo apt-get install libusb-dev build-essential libsane-dev
Type in terminal-
Code:
scan-find-scanner
[tt]
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x04a9, product=0×1904, chip=GL843) at libusb:001:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend’s manpage.
# Not checking for parallel port scanners.
[/tt]
if not, don't worry.
Now go to- https://anonscm.debian.org/gitweb/?p=san...ckends.git (which I found when I googled for [tt]git://git.debian.org/sane/sane-backends.git[/tt]), and download(click on snapshot) the master branch(yep, the one with master tag). Extract(to any directory but in this solution it is to USER/) and rename it to sane-backends. Then via terminal change directory to sane-backendsvia command -
Code:
cd USER/sane-backends #it may differ in your case
Code:
export BACKENDS="net mustek mustek_usb genesys"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
sudo make install
sudo bluefish /lib/udev/rules.d/40-libsane.rules #I use bluefish editor
If it worked fine and a text file got opened then add-
Code:
# Canon CanoScan Lide 100
ATTRS{idVendor}==”04a9″, ATTRS{idProduct}==”1904″, ENV{libsane_matched}=”yes”
But, in my case I found out that /lib/udev/rules.d/40-libsane.rules didn't exist in my pc. If that's the case then create 40-libsane.rules in /lib/udev/rules.d/ as root and paste-
Code:
# Canon CanoScan Lide 100
ATTRS{idVendor}==”04a9″, ATTRS{idProduct}==”1904″, ENV{libsane_matched}=”yes”
Restart your PC.
Type in terminal-
Code:
scanimage -L
[tt]device `genesys:libusb:001:003' is a Canon LiDE 100 flatbed scanner
[/tt] (001:003 may be replaced with something else in your case). Test your scanner(try scanning via Document Scanner or XSane).
Type in terminal-
Code:
scanimage -d genesys:libusb:001:003 --format=tiff >image.tiff
Code:
scanimage -d genesys:libusb:001:003 --format=tiff >image.tiff
If it passed all the tests, yep, your scanner is working awesome!
Every decision you make holds meaning affecting your next decision.
-Erwin Smith (Shingeki no Kyojin)
-Erwin Smith (Shingeki no Kyojin)