You are not logged in.
Hi Guys,
I'm running #! Statler with Xfce and am trying to get my scanner to work.
I followed the instructions I had used in Ubuntu 10.10
To get this working, here are the steps to take:
1) You need some usb libraries, so, in a terminal type:
sudo apt-get install libusb-dev build-essential libsane-dev
2) To get the sane backends from git you need git-core. If you don't already have it, type this (also in a terminal):
sudo apt-get install git-core
3) Now use the git that was just installed to get the sane backends using the following command:
git clone git://git.debian.org/sane/sane-backends.git
That downloads the backends and puts them in a folder called sane-backends in your home folder.
4) Change directory into the new sane-backends folder and compile them:
cd sane-backends
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make <--- this one takes a while
sudo make install
Now everything is installed, but you still won't be able to scan (except as root) until you set up some permissions.
5) You need to edit a file, but you need to be root to edit it, so:
sudo gedit /lib/udev/rules.d/40-libsane.rules
and add the following 2 lines:
# Canon CanoScan Lide 100
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1904", ENV{libsane_matched}="yes"
save the file, exit gedit, exit terminal, reboot, and...
SCAN AWAY!
Instructions modified version of Shutter4U's post.Everything seemed to go well until
sudo gedit /lib/udev/rules.d/40-libsane.rules
and add the following 2 lines:
# Canon CanoScan Lide 100
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1904", ENV{libsane_matched}="yes"When I opened the file to add those two lines I noticed that the file was completly blank. In Ubuntu when I opened that file there were already a lot of entries.
Should I add my scanner information to a different file in #!?
When I do lsusb the scanner is seen :
john@grouchygaijin:~$ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 04e8:3292 Samsung Electronics Co., Ltd
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[b]Bus 003 Device 006: ID 04a9:1904 Canon, Inc.[/b]
Bus 003 Device 005: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
Bus 003 Device 003: ID 1058:1003 Western Digital Technologies, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubThe only thing simple scan picks up is the builtin webcam and that fails if I try to "scan" a picture from it. Although the cam activates when I launch simple scan.
If I run:
lsusb; sane-find-scanner; scanimage -LI get this
found USB scanner (vendor=0x04a9 [Canon], product=0x1904 [CanoScan], chip=GL847) at libusb:003:006
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.I installed the sane package from the repository after I'd already followed the instructions above. Was that a mistake? I thought perhaps another program would work better. If I launch xscanimage, it too only picks up the webcam. It will save an image from the webcam, and then lock up.
I don't care about capturing images from my webcam. I would just like to use my scanner without booting into ubuntu.
Any help would be really appreciated.
Last edited by GrouchyGaijin (2011-05-19 12:02:01)
Thank you,
GG
Dell Inspiron 1520 - EeePC 1000H both single boot 100% Linux
Offline
Everything seemed to go well until
sudo gedit /lib/udev/rules.d/40-libsane.rules and add the following 2 lines: # Canon CanoScan Lide 100 ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1904", ENV{libsane_matched}="yes"When I opened the file to add those two lines I noticed that the file was completly blank. In Ubuntu when I opened that file there were already a lot of entries.
Should I add my scanner information to a different file in #!?
Try /lib/udev/rules.d/60-libsane.rules
I installed the sane package from the repository after I'd already followed the instructions above. Was that a mistake?
Possibly, because sane pulls in libsane as a dependency, which may have overwritten your git version. May need to uninstall libsane, and reinstall the git version.
Me: I talk to myself
Myself: Yes, I know.
I: Both of you shut up!
Offline
Try /lib/udev/rules.d/60-libsane.rules
Possibly, because sane pulls in libsane as a dependency, which may have overwritten your git version. May need to uninstall libsane, and reinstall the git version.
Thanks man!
The 60-libsane.rules was the correct file.
You were right that I needed to uninstall the stuff from the repository and reinstall the git stuff.
Now my scanner works - but I have to disconnect it from the computer and then reconnect it for it to work after I boot the machine. I can live with that. I'm marking this thread as solved.
Thanks again.
Thank you,
GG
Dell Inspiron 1520 - EeePC 1000H both single boot 100% Linux
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.